Created attachment 519706 [details] build.log [41/75] x86_64-pc-linux-gnu-gcc -o src/gcm-inspect 'src/gcm-inspect@exe/gcm-inspect.c.o' 'src/gcm-inspect@exe/gcm-cie-widget.c.o' 'src/gcm-inspect@exe/gcm-debug.c.o' 'src/gcm-inspect@exe/gcm-exif.c.o' 'src/gcm-inspect@exe/gcm-print.c.o' 'src/gcm-inspect@exe/gcm-trc-widget.c.o' 'src/gcm-inspect@exe/gcm-utils.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -march=corei7 -O2 -mno-avx -Wl,-O1 -Wl,--as-needed -Wl,--start-group -ltiff -lcolord-gtk -lcolord -lcolordprivate -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,--end-group -lexif -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 FAILED: src/gcm-inspect x86_64-pc-linux-gnu-gcc -o src/gcm-inspect 'src/gcm-inspect@exe/gcm-inspect.c.o' 'src/gcm-inspect@exe/gcm-cie-widget.c.o' 'src/gcm-inspect@exe/gcm-debug.c.o' 'src/gcm-inspect@exe/gcm-exif.c.o' 'src/gcm-inspect@exe/gcm-print.c.o' 'src/gcm-inspect@exe/gcm-trc-widget.c.o' 'src/gcm-inspect@exe/gcm-utils.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -march=corei7 -O2 -mno-avx -Wl,-O1 -Wl,--as-needed -Wl,--start-group -ltiff -lcolord-gtk -lcolord -lcolordprivate -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,--end-group -lexif -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/gcm-inspect@exe/gcm-cie-widget.c.o: undefined reference to symbol 'powf@@GLIBC_2.2.5' /lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: Fehler: ld gab 1 als Ende-Status zurück ninja: build stopped: subcommand failed. * ERROR: gnome-extra/gnome-color-manager-3.26.0::gnome failed (compile phase): * ninja -v -j4 -l0 -C /var/tmp/portage/gnome-extra/gnome-color-manager-3.26.0/work/gnome-color-manager-3.26.0-build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 3510: Called gnome-meson_src_compile * environment, line 1716: Called meson_src_compile * environment, line 2380: Called eninja '-C' '/var/tmp/portage/gnome-extra/gnome-color-manager-3.26.0/work/gnome-color-manager-3.26.0-build' * environment, line 889: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=gnome-extra/gnome-color-manager-3.26.0::gnome'`, * the complete build log and the output of `emerge -pqv '=gnome-extra/gnome-color-manager-3.26.0::gnome'`. * The complete build log is located at '/var/tmp/portage/gnome-extra/gnome-color-manager-3.26.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-color-manager-3.26.0/temp/environment'. * Working directory: '/var/tmp/portage/gnome-extra/gnome-color-manager-3.26.0/work/gnome-color-manager-3.26.0' * S: '/var/tmp/portage/gnome-extra/gnome-color-manager-3.26.0/work/gnome-color-manager-3.26.0' I received the upper error while emerging the latest gnome-color-manager. Then I noticed the red notice in the config phase: Library libm found: NO That is why, I looked into the meson.build and found the wrong configure.
Created attachment 519710 [details, diff] gnome-color-manager-3.26.0-meson.build-fix.git.patch Fixed all in git repository and digested it. Now the emerge finishes successfully.
x86_64-pc-linux-gnu/bin/ld: src/gcm-calibrate@exe/gcm-cie-widget.c.o: undefined reference to symbol 'powf@@GLIBC_2.2.5'
Ran into the same bug on gnome-color-manager-3.30.0-r1, on an aarch64. Same fix worked: change libm to simply m in build.meson around row 87 I think it was.
Issue was fixed on my system with this patch as well (RPi4 using aarch64, glibc 2.2.7, gnome 3.32.0)
Fixed some time ago in https://gitlab.gnome.org/GNOME/gnome-color-manager/-/commit/ae0d44f5c7f4c2db9ab84d24451f9b3d4ae36dbc and therefore fixed in ::gentoo.