* Package: media-libs/libpng-1.4.8 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: amd64 apng elibc_glibc kernel_linux multilib test userland_GNU * FEATURES: ccache preserve-libs sandbox splitdebug test >>> Unpacking source... >>> Unpacking libpng-1.4.8.tar.xz to /var/tmp/portage/media-libs/libpng-1.4.8/work >>> Unpacking libpng-1.4.7-apng.patch.gz to /var/tmp/portage/media-libs/libpng-1.4.8/work >>> Source unpacked in /var/tmp/portage/media-libs/libpng-1.4.8/work >>> Preparing source in /var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8 ... * Applying libpng-1.4.7-apng.patch ... [ ok ] * Running elibtoolize in: libpng-1.4.8/ * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8 ... * econf: updating libpng-1.4.8/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libpng-1.4.8/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-sed... /bin/sed checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ANSI C header files... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working strtod... yes checking for memset... yes checking for pow... no checking for pow in -lm... yes checking for zlibVersion in -lz... yes checking if libraries can be versioned... yes checking for symbol prefix... configure: pkgconfig directory is ${libdir}/pkgconfig configure: creating ./config.status config.status: creating Makefile config.status: creating libpng.pc config.status: creating libpng-config config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8 ... make -j5 make all-am make[1]: Entering directory `/var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8' /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-png.lo `test -f 'png.c' || echo './'`png.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngset.lo `test -f 'pngset.c' || echo './'`pngset.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngget.lo `test -f 'pngget.c' || echo './'`pngget.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngrutil.lo `test -f 'pngrutil.c' || echo './'`pngrutil.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngtrans.lo `test -f 'pngtrans.c' || echo './'`pngtrans.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c png.c -fPIC -DPIC -o .libs/libpng14_la-png.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngtrans.c -fPIC -DPIC -o .libs/libpng14_la-pngtrans.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngset.c -fPIC -DPIC -o .libs/libpng14_la-pngset.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngget.c -fPIC -DPIC -o .libs/libpng14_la-pngget.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngrutil.c -fPIC -DPIC -o .libs/libpng14_la-pngrutil.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngwutil.lo `test -f 'pngwutil.c' || echo './'`pngwutil.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngread.lo `test -f 'pngread.c' || echo './'`pngread.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngwutil.c -fPIC -DPIC -o .libs/libpng14_la-pngwutil.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngrio.lo `test -f 'pngrio.c' || echo './'`pngrio.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngread.c -fPIC -DPIC -o .libs/libpng14_la-pngread.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngwio.lo `test -f 'pngwio.c' || echo './'`pngwio.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngrio.c -fPIC -DPIC -o .libs/libpng14_la-pngrio.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngwio.c -fPIC -DPIC -o .libs/libpng14_la-pngwio.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngwrite.lo `test -f 'pngwrite.c' || echo './'`pngwrite.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngwrite.c -fPIC -DPIC -o .libs/libpng14_la-pngwrite.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngrtran.lo `test -f 'pngrtran.c' || echo './'`pngrtran.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngwtran.lo `test -f 'pngwtran.c' || echo './'`pngwtran.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngmem.lo `test -f 'pngmem.c' || echo './'`pngmem.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngrtran.c -fPIC -DPIC -o .libs/libpng14_la-pngrtran.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngwtran.c -fPIC -DPIC -o .libs/libpng14_la-pngwtran.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngmem.c -fPIC -DPIC -o .libs/libpng14_la-pngmem.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngerror.lo `test -f 'pngerror.c' || echo './'`pngerror.c /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c -o libpng14_la-pngpread.lo `test -f 'pngpread.c' || echo './'`pngpread.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngerror.c -fPIC -DPIC -o .libs/libpng14_la-pngerror.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -ggdb -c pngpread.c -fPIC -DPIC -o .libs/libpng14_la-pngpread.o rm -f libpng.sym libpng.sym.new x86_64-pc-linux-gnu-gcc -E -DPNG_CONFIGURE_LIBPNG -DPNG_BUILDSYMS ./png.h | \ /bin/sed -n -e \ 's|^.*PNG_FUNCTION_EXPORT[ ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \ -e 's|^.*PNG_DATA_EXPORT[ ]*\(['_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789']*\).*$|\1|p' \ >libpng.sym.new cp libpng-config libpng14-config cp libpng.pc libpng14.pc mv libpng.sym.new libpng.sym rm -f libpng.vers libpng.vers.new echo PNG14_0 '{global:' > libpng.vers.new /bin/sed s/$/\;/ libpng.sym >> libpng.vers.new echo 'local: *; };' >> libpng.vers.new mv libpng.vers.new libpng.vers /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -ggdb -no-undefined -export-dynamic -version-number 14:8:0 -Wl,--version-script=libpng.vers -Wl,-O1 -Wl,--as-needed -o libpng14.la -rpath /usr/lib64 libpng14_la-png.lo libpng14_la-pngset.lo libpng14_la-pngget.lo libpng14_la-pngrutil.lo libpng14_la-pngtrans.lo libpng14_la-pngwutil.lo libpng14_la-pngread.lo libpng14_la-pngrio.lo libpng14_la-pngwio.lo libpng14_la-pngwrite.lo libpng14_la-pngrtran.lo libpng14_la-pngwtran.lo libpng14_la-pngmem.lo libpng14_la-pngerror.lo libpng14_la-pngpread.lo -lz -lm libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/libpng14_la-png.o .libs/libpng14_la-pngset.o .libs/libpng14_la-pngget.o .libs/libpng14_la-pngrutil.o .libs/libpng14_la-pngtrans.o .libs/libpng14_la-pngwutil.o .libs/libpng14_la-pngread.o .libs/libpng14_la-pngrio.o .libs/libpng14_la-pngwio.o .libs/libpng14_la-pngwrite.o .libs/libpng14_la-pngrtran.o .libs/libpng14_la-pngwtran.o .libs/libpng14_la-pngmem.o .libs/libpng14_la-pngerror.o .libs/libpng14_la-pngpread.o -Wl,--as-needed -lz -lm -Wl,--version-script=libpng.vers -Wl,-O1 -Wl,-soname -Wl,libpng14.so.14 -o .libs/libpng14.so.14.8.0 libtool: link: (cd ".libs" && rm -f "libpng14.so.14" && ln -s "libpng14.so.14.8.0" "libpng14.so.14") libtool: link: (cd ".libs" && rm -f "libpng14.so" && ln -s "libpng14.so.14.8.0" "libpng14.so") libtool: link: ( cd ".libs" && rm -f "libpng14.la" && ln -s "../libpng14.la" "libpng14.la" ) make[1]: Leaving directory `/var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8' >>> Source compiled. >>> Test phase [check]: media-libs/libpng-1.4.8 make pngtest make[1]: Entering directory `/var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -ggdb -c pngtest.c /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -ggdb -Wl,-O1 -Wl,--as-needed -o pngtest pngtest.o libpng14.la -lz -lm libtool: link: x86_64-pc-linux-gnu-gcc -ggdb -Wl,-O1 -o .libs/pngtest pngtest.o -Wl,--as-needed ./.libs/libpng14.so -lz -lm pngtest.o: In function `test_one_file': /var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8/pngtest.c:1162: undefined reference to `png_debug2' /var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8/pngtest.c:1300: undefined reference to `png_debug1' collect2: ld returned 1 exit status make[1]: *** [pngtest] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8' make: *** [check-am] Error 2 * ERROR: media-libs/libpng-1.4.8 failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 56: Called src_test * environment, line 2568: Called _eapi0_src_test * ebuild.sh, line 638: Called die * The specific snippet of code: * hasq test $FEATURES && die "Make check failed. See above for details." * * If you need support, post the output of 'emerge --info =media-libs/libpng-1.4.8', * the complete build log and the output of 'emerge -pqv =media-libs/libpng-1.4.8'. * The complete build log is located at '/var/tmp/portage/media-libs/libpng-1.4.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libpng-1.4.8/temp/environment'. * S: '/var/tmp/portage/media-libs/libpng-1.4.8/work/libpng-1.4.8'