* Package: media-gfx/pngnq-1.1-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pngnq-1.1.tar.gz to /var/tmp/portage/media-gfx/pngnq-1.1-r1/work >>> Source unpacked in /var/tmp/portage/media-gfx/pngnq-1.1-r1/work >>> Preparing source in /var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1 ... * Applying pngnq-1.0-libpng14.patch ... [ ok ] * Applying pngnq-1.0-libpng15.patch ... [ ok ] * Applying pngnq-1.0-Wimplicit-function-declaration.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1' ... * Running 'aclocal --system-acdir=/var/tmp/portage/media-gfx/pngnq-1.1-r1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: pngnq-1.1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1 ... * econf: updating pngnq-1.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pngnq-1.1/config.sub with /usr/share/gnuconfig/config.sub ./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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/pngnq-1.1-r1 --htmldir=/usr/share/doc/pngnq-1.1-r1/html --libdir=/usr/lib64 configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes ./configure: line 3184: -Wall: command not found checking for libpng-config... 1 checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for ctype.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for valgrind/callgrind.h... no checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for an ANSI C-conforming const... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for GNU libc compatible malloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for library containing zlibVersion... -lz checking for library containing sqrt... -lm checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libpng >= 1.2.0... yes checking for getopt... yes checking for floor... yes checking for memmove... yes checking for memset... yes checking for pow... yes checking for sqrt... yes checking for strchr... yes checking for strrchr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating freegetopt/Makefile config.status: creating src/config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1 ... make -j4 Making all in src make[1]: Entering directory '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1/src' make all-am make[2]: Entering directory '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o pngnq.o pngnq.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o neuquant32.o neuquant32.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o rwpng.o rwpng.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. `libpng-config --I_opts` -Wall --pedantic -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o pngcomp.o pngcomp.c rwpng.c: In function ‘rwpng_read_image’: rwpng.c:134:37: error: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type [-Wincompatible-pointer-types] 134 | png_get_IHDR(png_ptr, info_ptr, &mainprog_ptr->width, &mainprog_ptr->height, | ^~~~~~~~~~~~~~~~~~~~ | | | ulg * {aka long unsigned int *} In file included from /usr/include/libpng16/png.h:335, from rwpng.c:37: /usr/include/libpng16/png.h:2016:45: note: expected ‘png_uint_32 *’ {aka ‘unsigned int *’} but argument is of type ‘ulg *’ {aka ‘long unsigned int *’} 2016 | png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, | ~~~~~~~~~~~~~^~~~~ /usr/include/libpng16/pngconf.h:287:75: note: in definition of macro ‘PNG_FUNCTION’ 287 | ne PNG_FUNCTION(type, name, args, attributes) attributes type name args | ^~~~ /usr/include/libpng16/pngconf.h:301:58: note: in expansion of macro ‘PNGARG’ 301 | PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \ | ^~~~~~ /usr/include/libpng16/pngconf.h:311:4: note: in expansion of macro ‘PNG_EXPORTA’ 311 | PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) | ^~~~~~~~~~~ /usr/include/libpng16/png.h:2015:1: note: in expansion of macro ‘PNG_EXPORT’ 2015 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, | ^~~~~~~~~~ rwpng.c:134:59: error: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type [-Wincompatible-pointer-types] 134 | png_get_IHDR(png_ptr, info_ptr, &mainprog_ptr->width, &mainprog_ptr->height, | ^~~~~~~~~~~~~~~~~~~~~ | | | ulg * {aka long unsigned int *} /usr/include/libpng16/png.h:2016:65: note: expected ‘png_uint_32 *’ {aka ‘unsigned int *’} but argument is of type ‘ulg *’ {aka ‘long unsigned int *’} 2016 | png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, | ~~~~~~~~~~~~~^~~~~~ /usr/include/libpng16/pngconf.h:287:75: note: in definition of macro ‘PNG_FUNCTION’ 287 | ne PNG_FUNCTION(type, name, args, attributes) attributes type name args | ^~~~ /usr/include/libpng16/pngconf.h:301:58: note: in expansion of macro ‘PNGARG’ 301 | PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \ | ^~~~~~ /usr/include/libpng16/pngconf.h:311:4: note: in expansion of macro ‘PNG_EXPORTA’ 311 | PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) | ^~~~~~~~~~~ /usr/include/libpng16/png.h:2015:1: note: in expansion of macro ‘PNG_EXPORT’ 2015 | PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, | ^~~~~~~~~~ pngcomp.c: In function ‘main’: pngcomp.c:118:10: warning: variable ‘block_err_image’ set but not used [-Wunused-but-set-variable] 118 | float* block_err_image = NULL; | ^~~~~~~~~~~~~~~ pngcomp.c:108:7: warning: variable ‘verbose’ set but not used [-Wunused-but-set-variable] 108 | int verbose = 0; | ^~~~~~~ rwpng.c:84:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 84 | fread(sig, 1, 8, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from pngcomp.c:59: colorspace.h: At top level: colorspace.h:25:18: warning: ‘d00’ defined but not used [-Wunused-variable] 25 | static color_XYZ d00 = {0.0, 0.0, 0.0}; | ^~~ colorspace.h:24:18: warning: ‘d65’ defined but not used [-Wunused-variable] 24 | static color_XYZ d65 = {0.94810,1.0000,1.07305}; | ^~~ make[2]: *** [Makefile:400: rwpng.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from pngnq.c:98: neuquant32.h:59:22: warning: ‘biasvalue’ declared ‘static’ but never defined [-Wunused-function] 59 | static inline double biasvalue(unsigned int temp); | ^~~~~~~~~ pngnq.c: In function ‘createoutname’: pngnq.c:274:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation] 274 | strncpy(newdir+dir_len,DIR_SEPARATOR_STR,1); | ^ pngnq.c: In function ‘pngnq’: pngnq.c:476:7: warning: argument 1 null where non-null expected [-Wnonnull] 476 | fclose(outfile); | ^~~~~~~~~~~~~~~ In file included from pngnq.c:71: /usr/include/stdio.h:183:12: note: in a call to function ‘fclose’ declared ‘nonnull’ 183 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ make[2]: Leaving directory '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1/src' make[1]: *** [Makefile:278: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1/src' make: *** [Makefile:426: all-recursive] Error 1 * ERROR: media-gfx/pngnq-1.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/pngnq-1.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/pngnq-1.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:pngnq-1.1-r1:20231204-120811.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/pngnq-1.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/pngnq-1.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1' * S: '/var/tmp/portage/media-gfx/pngnq-1.1-r1/work/pngnq-1.1'