Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647856 - [gnome-overlay] gnome-extra/gnome-color-manager-3.26.0 - 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'
Summary: [gnome-overlay] gnome-extra/gnome-color-manager-3.26.0 - x86_64-pc-linux-gnu/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-16 13:12 UTC by Tom-Steve Watzke
Modified: 2021-10-26 05:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (gnome-color-manager-3.26.0-build.log,64.66 KB, text/plain)
2018-02-16 13:12 UTC, Tom-Steve Watzke
Details
gnome-color-manager-3.26.0-meson.build-fix.git.patch (gnome-color-manager-3.26.0-meson.build-fix.git.patch,1.55 KB, patch)
2018-02-16 13:18 UTC, Tom-Steve Watzke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom-Steve Watzke 2018-02-16 13:12:10 UTC
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.
Comment 1 Tom-Steve Watzke 2018-02-16 13:18:23 UTC
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.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-16 23:43:25 UTC
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'
Comment 3 Alexandru N. Barloiu 2019-06-22 13:57:36 UTC
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.
Comment 4 Erik Fjeldstrom 2019-12-28 05:15:06 UTC
Issue was fixed on my system with this patch as well (RPi4 using aarch64, glibc 2.2.7, gnome 3.32.0)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-26 05:49:04 UTC
Fixed some time ago in https://gitlab.gnome.org/GNOME/gnome-color-manager/-/commit/ae0d44f5c7f4c2db9ab84d24451f9b3d4ae36dbc and therefore fixed in ::gentoo.