Bug 249418 - games/atomix: fails to build after update to 3.34.0 (ld: error: undefined symbol: ceil)
Summary: games/atomix: fails to build after update to 3.34.0 (ld: error: undefined sym...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords: easy, regression
Depends on:
Blocks: 249424
  Show dependency treegraph
 
Reported: 2020-09-18 07:21 UTC by VVD
Modified: 2020-09-29 01:40 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description VVD 2020-09-18 07:21:54 UTC
12.1-p10 amd64.

===>  License GPLv2+ accepted by the user
===>   atomix-3.34.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by atomix-3.34.0 for building
===>  Extracting for atomix-3.34.0
=> SHA256 Checksum OK for gnome3/atomix-3.34.0.tar.xz.
===>  Patching for atomix-3.34.0
===>  Applying FreeBSD patches for atomix-3.34.0 from /usr/ports/games/atomix/files
===>   atomix-3.34.0 depends on executable: appstream-util - found
===>   atomix-3.34.0 depends on executable: msgfmt - found
===>   atomix-3.34.0 depends on package: gmake>=4.3 - found
===>   atomix-3.34.0 depends on executable: meson - found
===>   atomix-3.34.0 depends on executable: ninja - found
===>   atomix-3.34.0 depends on package: pkgconf>=1.3.0_1 - found
===>   atomix-3.34.0 depends on shared library: libgnome-games-support-1.so - found (/usr/local/lib/libgnome-games-support-1.so)
===>   atomix-3.34.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   atomix-3.34.0 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so)
===>   atomix-3.34.0 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===>   atomix-3.34.0 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===>   atomix-3.34.0 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   atomix-3.34.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   atomix-3.34.0 depends on shared library: libgtk-3.so - found (/usr/local/lib/libgtk-3.so)
===>   atomix-3.34.0 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===>  Configuring for atomix-3.34.0
The Meson build system
Version: 0.55.3
Source dir: /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0
Build dir: /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/_build
Build type: native build
Project name: atomix
Project version: 3.34.0
Using 'CC' from environment with value: 'cc'
Using 'CFLAGS' from environment with value: '-O2 -pipe -march=core2  -fstack-protector-strong -fno-strict-aliasing '
Using 'LDFLAGS' from environment with value: ' -fstack-protector-strong '
Using 'CPPFLAGS' from environment with value: ''
Using 'CC' from environment with value: 'cc'
Using 'CFLAGS' from environment with value: '-O2 -pipe -march=core2  -fstack-protector-strong -fno-strict-aliasing '
Using 'LDFLAGS' from environment with value: ' -fstack-protector-strong '
Using 'CPPFLAGS' from environment with value: ''
C compiler for the host machine: cc (clang 8.0.1 "FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)")
C linker for the host machine: cc ld.lld 8.0.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Using 'PKG_CONFIG' from environment with value: 'pkgconf'
Found pkg-config: /usr/local/bin/pkgconf (1.7.3)
Run-time dependency gtk+-3.0 found: YES 3.24.23
Run-time dependency gdk-pixbuf-2.0 found: YES 2.40.0
Run-time dependency glib-2.0 found: YES 2.56.3
Run-time dependency libgnome-games-support-1 found: YES 1.8.0
Configuring config.h using configuration
Program meson_post_install.py found: YES (/usr/local/bin/python3.7 /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/meson_post_install.py)
Build targets in project: 27

Found ninja-1.10.1 at /usr/local/bin/ninja
===>  Building for atomix-3.34.0
[1/43] /usr/local/bin/meson --internal msgfmthelper ../data/atomix.desktop.in data/atomix.desktop desktop /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po
[2/43] /usr/local/bin/meson --internal msgfmthelper ../data/atomix.appdata.xml.in data/atomix.appdata.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po
[3/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/aceticacid.atomix.xml.in data/level/aceticacid.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[4/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/acetone.atomix.xml.in data/level/acetone.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[5/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/butanol.atomix.xml.in data/level/butanol.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[6/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/cyclobutane.atomix.xml.in data/level/cyclobutane.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[7/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/dimethylether.atomix.xml.in data/level/dimethylether.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[8/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/ethane.atomix.xml.in data/level/ethane.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[9/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/ethanal.atomix.xml.in data/level/ethanal.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[10/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/ethanol.atomix.xml.in data/level/ethanol.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[11/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/ethylene.atomix.xml.in data/level/ethylene.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[12/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/glycerin.atomix.xml.in data/level/glycerin.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[13/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/lactic-acid.atomix.xml.in data/level/lactic-acid.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[14/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/methanal.atomix.xml.in data/level/methanal.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[15/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/methane.atomix.xml.in data/level/methane.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[16/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/methanol.atomix.xml.in data/level/methanol.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[17/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/propanal.atomix.xml.in data/level/propanal.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[18/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/propylene.atomix.xml.in data/level/propylene.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[19/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/pyran.atomix.xml.in data/level/pyran.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[20/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/transbutylen.atomix.xml.in data/level/transbutylen.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[21/43] /usr/local/bin/meson --internal msgfmthelper ../data/level/water.atomix.xml.in data/level/water.atomix.xml xml /tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/po --datadirs=/tmp/work/usr/ports/games/atomix/work/atomix-3.34.0/data
[22/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/tile.c.o -MF src/libatomix.a.p/tile.c.o.d -o src/libatomix.a.p/tile.c.o -c ../src/tile.c
[23/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/xml-util.c.o -MF src/libatomix.a.p/xml-util.c.o.d -o src/libatomix.a.p/xml-util.c.o -c ../src/xml-util.c
[24/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/theme.c.o -MF src/libatomix.a.p/theme.c.o.d -o src/libatomix.a.p/theme.c.o -c ../src/theme.c
[25/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/theme-manager.c.o -MF src/libatomix.a.p/theme-manager.c.o.d -o src/libatomix.a.p/theme-manager.c.o -c ../src/theme-manager.c
[26/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/level.c.o -MF src/libatomix.a.p/level.c.o.d -o src/libatomix.a.p/level.c.o -c ../src/level.c
[27/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/level-manager.c.o -MF src/libatomix.a.p/level-manager.c.o.d -o src/libatomix.a.p/level-manager.c.o -c ../src/level-manager.c
[28/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/canvas_helper.c.o -MF src/libatomix.a.p/canvas_helper.c.o.d -o src/libatomix.a.p/canvas_helper.c.o -c ../src/canvas_helper.c
[29/43] cc -Isrc/libatomix.a.p -Isrc -I../src -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/libatomix.a.p/playfield.c.o -MF src/libatomix.a.p/playfield.c.o.d -o src/libatomix.a.p/playfield.c.o -c ../src/playfield.c
[30/43] rm -f src/libatomix.a && ar csr src/libatomix.a src/libatomix.a.p/tile.c.o src/libatomix.a.p/xml-util.c.o src/libatomix.a.p/theme.c.o src/libatomix.a.p/theme-manager.c.o src/libatomix.a.p/level.c.o src/libatomix.a.p/level-manager.c.o src/libatomix.a.p/canvas_helper.c.o src/libatomix.a.p/playfield.c.o
[31/43] cc -Isrc/atomix.p -Isrc -I../src -I. -I.. -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/atomix.p/main.c.o -MF src/atomix.p/main.c.o.d -o src/atomix.p/main.c.o -c ../src/main.c
[32/43] cc -Isrc/atomix.p -Isrc -I../src -I. -I.. -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/atomix.p/board-gtk.c.o -MF src/atomix.p/board-gtk.c.o.d -o src/atomix.p/board-gtk.c.o -c ../src/board-gtk.c
../src/board-gtk.c:209:36: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
      anim_data->counter = (gint) (fabs (new_y1 - y1) / animstep);
                                   ^
../src/board-gtk.c:209:36: note: use function 'abs' instead
      anim_data->counter = (gint) (fabs (new_y1 - y1) / animstep);
                                   ^~~~
                                   abs                                                                                         
../src/board-gtk.c:213:36: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
      anim_data->counter = (gint) (fabs (new_x1 - x1) / animstep);
                                   ^
../src/board-gtk.c:213:36: note: use function 'abs' instead
      anim_data->counter = (gint) (fabs (new_x1 - x1) / animstep);
                                   ^~~~
                                   abs                                                                                         
../src/board-gtk.c:728:34: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    anim_data->counter = (gint) (fabs (y_dest - y_src) / animstep);
                                 ^
../src/board-gtk.c:728:34: note: use function 'abs' instead
    anim_data->counter = (gint) (fabs (y_dest - y_src) / animstep);
                                 ^~~~
                                 abs                                                                                           
../src/board-gtk.c:734:34: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
    anim_data->counter = (gint) (fabs (x_dest - x_src) / animstep);
                                 ^
../src/board-gtk.c:734:34: note: use function 'abs' instead
    anim_data->counter = (gint) (fabs (x_dest - x_src) / animstep);
                                 ^~~~
                                 abs                                                                                           
4 warnings generated.
[33/43] cc -Isrc/atomix.p -Isrc -I../src -I. -I.. -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/atomix.p/undo.c.o -MF src/atomix.p/undo.c.o.d -o src/atomix.p/undo.c.o -c ../src/undo.c
[34/43] cc -Isrc/atomix.p -Isrc -I../src -I. -I.. -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/atomix.p/goal.c.o -MF src/atomix.p/goal.c.o.d -o src/atomix.p/goal.c.o -c ../src/goal.c
[35/43] cc -Isrc/atomix.p -Isrc -I../src -I. -I.. -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/atomix.p/goal-view.c.o -MF src/atomix.p/goal-view.c.o.d -o src/atomix.p/goal-view.c.o -c ../src/goal-view.c
[36/43] cc -Isrc/atomix.p -Isrc -I../src -I. -I.. -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/libdrm -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/libepoll-shim -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/at-spi-2.0 -I/usr/local/include/gnome-games-support-1 -I/usr/local/include/gee-0.8 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -O2 -march=core2 -fstack-protector-strong -fno-strict-aliasing -pthread -D_THREAD_SAFE '-DPKGDATADIR="/usr/local/share/atomix"' '-DDATADIR="/usr/local/share"' '-DGNOMELOCALEDIR="/usr/local/share/locale"' '-DGETTEXT_PACKAGE="atomix"' -MD -MQ src/atomix.p/clock.c.o -MF src/atomix.p/clock.c.o.d -o src/atomix.p/clock.c.o -c ../src/clock.c
[37/43] cc  -o src/atomix src/atomix.p/main.c.o src/atomix.p/board-gtk.c.o src/atomix.p/undo.c.o src/atomix.p/goal.c.o src/atomix.p/goal-view.c.o src/atomix.p/clock.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -O2 -pipe -march=core2 -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,--start-group src/libatomix.a /usr/local/lib/libgtk-3.so /usr/local/lib/libgdk-3.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo-gobject.so /usr/local/lib/libcairo.so -lpthread /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libgnome-games-support-1.so /usr/local/lib/libgee-0.8.so -Wl,--end-group
FAILED: src/atomix 
cc  -o src/atomix src/atomix.p/main.c.o src/atomix.p/board-gtk.c.o src/atomix.p/undo.c.o src/atomix.p/goal.c.o src/atomix.p/goal-view.c.o src/atomix.p/clock.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -O2 -pipe -march=core2 -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -Wl,--start-group src/libatomix.a /usr/local/lib/libgtk-3.so /usr/local/lib/libgdk-3.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo-gobject.so /usr/local/lib/libcairo.so -lpthread /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libgnome-games-support-1.so /usr/local/lib/libgee-0.8.so -Wl,--end-group
ld: error: undefined symbol: ceil
>>> referenced by canvas_helper.c
>>>               canvas_helper.c.o:(convert_to_playfield) in archive src/libatomix.a

ld: error: undefined symbol: ceil
>>> referenced by canvas_helper.c
>>>               canvas_helper.c.o:(convert_to_playfield) in archive src/libatomix.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/atomix
Comment 1 Matthias Andree freebsd_committer 2020-09-18 08:38:10 UTC
apparently a missing -lm
Comment 2 commit-hook freebsd_committer 2020-09-18 20:43:15 UTC
A commit references this bug:

Author: bapt
Date: Fri Sep 18 20:43:01 UTC 2020
New revision: 548903
URL: https://svnweb.freebsd.org/changeset/ports/548903

Log:
  Fix build with lld as a linker

  While here remove USES=gmake which was anway unused overriden with
  USES=meson

  PR:		249418
  Reported by:	vvd@unislabs.com

Changes:
  head/games/atomix/Makefile
Comment 3 John Hein 2020-09-29 01:25:55 UTC
(In reply to commit-hook from comment #2)
This still fails on 11.x unless you use -fuse-ld=lld to avoid the old default ld in /usr/bin or point to newer ld from binutils from ports (-B/usr/local/bin).

The problem has to do with the old ld implementation of --start-group and --end-group.  If you put just the .a libs between --start-group and --end-group, it works with the old ld(1).  If you include .so's (which doesn't make much sense really for what --start-group and --end-group are there for), then the old ld(1) gets confused somehow and can't find symbols sometimes.  This could be considered a meson bug since it brackets too much between --start-group and --end-group.  I'm seeing this on other ports, too (e.g., seahorse - I'm opening a bug for that shortly).

Anyway, the easiest fix is LDFLAGS+=-fuse-ld=lld I think.
Comment 4 John Hein 2020-09-29 01:40:39 UTC
(In reply to John Hein from comment #3)
See also bug 249974 for similar issue in security/seahorse.