Emerging of media-libs/libpng-1.2.12 fails while performing test. Last output before termination: make[1]: Entering directory `/var/tmp/portage/libpng-1.2.12/work/libpng-1.2.12' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -MT pngtest.o -MD -MP -MF ".deps/pngtest.Tpo" -c -o pngtest.o pngtest.c; \ then mv -f ".deps/pngtest.Tpo" ".deps/pngtest.Po"; else rm -f ".deps/pngtest.Tpo"; exit 1; fi /bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -o pngtest pngtest.o libpng12.la -lz i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -o .libs/pngtest pngtest.o ./.libs/libpng12.so -lz ./.libs/libpng12.so: undefined reference to `pow' collect2: ld returned 1 exit status make[1]: *** [pngtest] Error 1 make[1]: Leaving directory `/var/tmp/portage/libpng-1.2.12/work/libpng-1.2.12' make: *** [check-am] Error 2 !!! ERROR: media-libs/libpng-1.2.12 failed. Call stack: ebuild.sh, line 1539: Called dyn_test ebuild.sh, line 987: Called src_test ebuild.sh, line 618: Called die For 'emerge --info' see attachment.
*** Bug 138970 has been marked as a duplicate of this bug. ***
works fine for me, libpng is correctly linked against libm need your `emerge info` and `emerge libpng >& log`
emerge --info is here: http://bugs.gentoo.org/attachment.cgi?id=90751 (see http://bugs.gentoo.org/show_bug.cgi?id=138970)
Think I've found the problem: confcache probably skrewed up my system. Disabling and re-emerging went fine.
*** Bug 141284 has been marked as a duplicate of this bug. ***