* Package: media-gfx/pngtools-0.4 * Repository: gentoo * Maintainer: robbat2@gentoo.org graphics@gentoo.org * USE: amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: sandbox * Applying pngtools-0.3-implicit-declarations.patch ... [ ok ] * Applying pngtools-0.4-libpng14.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-gfx/pngtools-0.4/work/pngtools-0.4' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running automake --add-missing --copy ... [ ok ] checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /var/tmp/portage/media-gfx/pngtools-0.4/work/pngtools-0.4/config/missing: Unknown `--run' option Try `/var/tmp/portage/media-gfx/pngtools-0.4/work/pngtools-0.4/config/missing --help' for more information configure: WARNING: `missing' script is too old or missing 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... gcc3 checking for atan in -lm... yes checking for png_libpng_ver in -lpng... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for vprintf... yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -march=native -O2 -pipe -MT pnginfo.o -MD -MP -MF .deps/pnginfo.Tpo -c -o pnginfo.o pnginfo.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -march=native -O2 -pipe -MT pngcp.o -MD -MP -MF .deps/pngcp.Tpo -c -o pngcp.o pngcp.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -march=native -O2 -pipe -MT pngread.o -MD -MP -MF .deps/pngread.Tpo -c -o pngread.o pngread.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -march=native -O2 -pipe -MT pngwrite.o -MD -MP -MF .deps/pngwrite.Tpo -c -o pngwrite.o pngwrite.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -march=native -O2 -pipe -MT inflateraster.o -MD -MP -MF .deps/inflateraster.Tpo -c -o inflateraster.o inflateraster.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -march=native -O2 -pipe -MT pngchunkdesc.o -MD -MP -MF .deps/pngchunkdesc.Tpo -c -o pngchunkdesc.o pngchunkdesc.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_PNG_H=1 -DHAVE_VPRINTF=1 -I. -march=native -O2 -pipe -MT pngchunks.o -MD -MP -MF .deps/pngchunks.Tpo -c -o pngchunks.o pngchunks.c pngcp.c: In function ‘main’: pngcp.c:69: warning: comparison between pointer and integer pngcp.c:77: warning: comparison between pointer and integer mv -f .deps/pngchunkdesc.Tpo .deps/pngchunkdesc.Po pnginfo.c: In function ‘pnginfo_displayfile’: pnginfo.c:181: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type /usr/include/png.h:2125: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’ pnginfo.c:181: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type /usr/include/png.h:2125: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’ pnginfo.c:187: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’ pnginfo.c:187: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’ pnginfo.c:190: error: dereferencing pointer to incomplete type pnginfo.c:191: error: dereferencing pointer to incomplete type pnginfo.c:195: error: dereferencing pointer to incomplete type pnginfo.c:196: error: dereferencing pointer to incomplete type pnginfo.c:210: error: dereferencing pointer to incomplete type pnginfo.c:213: error: dereferencing pointer to incomplete type pnginfo.c:213: error: dereferencing pointer to incomplete type pnginfo.c:235: error: dereferencing pointer to incomplete type pnginfo.c:252: error: dereferencing pointer to incomplete type pnginfo.c:269: error: dereferencing pointer to incomplete type pnginfo.c:282: error: dereferencing pointer to incomplete type pnginfo.c:282: error: dereferencing pointer to incomplete type pnginfo.c:283: error: dereferencing pointer to incomplete type pnginfo.c:304: error: dereferencing pointer to incomplete type pnginfo.c:304: error: dereferencing pointer to incomplete type pnginfo.c:306: error: dereferencing pointer to incomplete type pnginfo.c:308: error: dereferencing pointer to incomplete type x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o pngchunkdesc pngchunkdesc.o -lm pnginfo.c:310: error: dereferencing pointer to incomplete type pnginfo.c:335: error: dereferencing pointer to incomplete type pnginfo.c:337: error: dereferencing pointer to incomplete type pnginfo.c:340: error: dereferencing pointer to incomplete type pnginfo.c:388: error: dereferencing pointer to incomplete type pngread.c: In function ‘readimage’:pnginfo.c:388: error: dereferencing pointer to incomplete type pngread.c:59: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type /usr/include/png.h:2125: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’ pnginfo.c:395: error: dereferencing pointer to incomplete type pngread.c:59: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type pnginfo.c:395: error: dereferencing pointer to incomplete type/usr/include/png.h:2125: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’ pngread.c:71: error: dereferencing pointer to incomplete type pnginfo.c:405: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’ pnginfo.c:411: error: dereferencing pointer to incomplete type pnginfo.c:418: error: dereferencing pointer to incomplete type pnginfo.c:420: error: dereferencing pointer to incomplete type pnginfo.c:428: error: dereferencing pointer to incomplete type pnginfo.c:431: error: dereferencing pointer to incomplete type pngread.c:28: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result pnginfo.c:154: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result mv -f .deps/pngcp.Tpo .deps/pngcp.Po make: *** [pngread.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [pnginfo.o] Error 1 mv -f .deps/inflateraster.Tpo .deps/inflateraster.Po mv -f .deps/pngwrite.Tpo .deps/pngwrite.Po mv -f .deps/pngchunks.Tpo .deps/pngchunks.Po emake failed * ERROR: media-gfx/pngtools-0.4 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2801: Called _eapi2_src_compile * ebuild.sh, line 669: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =media-gfx/pngtools-0.4', * the complete build log and the output of 'emerge -pqv =media-gfx/pngtools-0.4'. * The complete build log is located at '/var/tmp/media-gfx:pngtools-0.4:20111017-204212.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/pngtools-0.4/temp/environment'. * S: '/var/tmp/portage/media-gfx/pngtools-0.4/work/pngtools-0.4'