* Package: app-text/pspdftool-0.03:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux zlib * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pspdftool-0.03.tar.bz2 to /var/tmp/portage/app-text/pspdftool-0.03/work >>> Source unpacked in /var/tmp/portage/app-text/pspdftool-0.03/work >>> Preparing source in /var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03 ... * Running eautoreconf in '/var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03' ... * Running 'aclocal --system-acdir=/var/tmp/portage/app-text/pspdftool-0.03/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: pspdftool-0.03/ >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03 ... * econf: updating pspdftool-0.03/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pspdftool-0.03/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/pspdftool-0.03 --htmldir=/usr/share/doc/pspdftool-0.03/html --libdir=/usr/lib64 --with-zlib configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf 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... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for uncompress in -lz... yes checking for x86_64-pc-linux-gnu-gcc... (cached) clang checking whether the compiler supports GNU C... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to enable C11 features... (cached) none needed checking whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) none checking whether make sets $(MAKE)... (cached) yes checking for log in -lm... yes 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 stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for ctype.h... yes checking for getopt.h... yes checking for libgen.h... 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 for GNU libc compatible realloc... yes checking for bzero... yes checking for pow... yes checking for strcasecmp... yes checking for strtol... yes checking for an ANSI C-conforming const... yes checking for C/C++ restrict keyword... __restrict__ checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/app-text/pspdftool-0.03/temp/clang16-errors.log' -> '/var/tmp/clang/app-text/pspdftool-0.03/clang16-errors.log' '/var/tmp/portage/app-text/pspdftool-0.03/temp/clang16-safe.log' -> '/var/tmp/clang/app-text/pspdftool-0.03/clang16-safe.log' >>> Compiling source in /var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03 ... make -j4 make all-am make[1]: Entering directory '/var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03' clang -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o cmdexec.o cmdexec.c clang -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o common.o common.c clang -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o dummydoc.o dummydoc.c clang -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o fileio.o fileio.c In file included from dummydoc.c:1: In file included from ./vldoc.h:11: ./common.h:24:6: error: expected parameter declarator 24 | int asprintf(char **strp, const char *fmt, ...); | ^ /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ In file included from dummydoc.c:1: In file included from ./vldoc.h:11: ./common.h:24:6: error: expected ')' /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ ./common.h:24:6: note: to match this '(' /usr/include/bits/stdio2.h:158:18: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ In file included from dummydoc.c:1: In file included from ./vldoc.h:11: ./common.h:24:6: error: conflicting types for '__asprintf_chk' 24 | int asprintf(char **strp, const char *fmt, ...); | ^ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/bits/stdio2-decl.h:67:12: note: previous declaration is here 67 | extern int __asprintf_chk (char **__restrict __ptr, int __flag, | ^ dummydoc.c:52:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 52 | ...asprintf(&cmd," ( gs -sDEVICE=bbox -dQUIET -dNOPAUSE -r100 -dBATCH %s ) 2>&1 ",filein); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 3 errors generated. make[1]: *** [Makefile:479: dummydoc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from cmdexec.c:11: In file included from ./cmdexec.h:10: ./common.h:24:6: error: expected parameter declarator 24 | int asprintf(char **strp, const char *fmt, ...); | ^ /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ In file included from cmdexec.c:11: In file included from ./cmdexec.h:10: ./common.h:24:6: error: expected ')' /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ ./common.h:24:6: note: to match this '(' /usr/include/bits/stdio2.h:158:18: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ In file included from cmdexec.c:11: In file included from ./cmdexec.h:10: ./common.h:24:6: error: conflicting types for '__asprintf_chk' 24 | int asprintf(char **strp, const char *fmt, ...); | ^ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/bits/stdio2-decl.h:67:12: note: previous declaration is here 67 | extern int __asprintf_chk (char **__restrict __ptr, int __flag, | ^ cmdexec.c:375:17: warning: address of array 'argument->name' will always evaluate to 'true' [-Wpointer-bool-conversion] 375 | if (argument->name && name && (strcmp(argument->name, na... | ~~~~~~~~~~^~~~ ~~ cmdexec.c:472:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 472 | asprintf(&c_buf, "%s%s",tmp_buf, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:475:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 475 | asprintf(&c_buf, "%s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:483:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 483 | ...asprintf(&c_buf, "%s%s",tmp_buf, arg_ent[i].part); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:486:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 486 | asprintf(&c_buf, "%s", arg_ent[i].part); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:901:8: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 901 | ...asprintf(&def_name, "%s", argument->str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:921:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 921 | ...asprintf(&(params[i-2].name), "%s", argument->str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:936:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 936 | ...asprintf(&(params[i-2].name), "%s", argument->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:946:7: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 946 | ...asprintf(&(params[i-2].str), "%s", argument->str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:988:6: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 988 | ...asprintf(&arg_ent[j].part,"%s", last_cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:1022:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1022 | asprintf(&arg_ent[j].part,"%s", last_cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from common.c:1: ./common.h:24:6: error: expected parameter declarator 24 | int asprintf(char **strp, const char *fmt, ...); | ^ /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ In file included from common.c:1: ./common.h:24:6: error: expected ')' /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ ./common.h:24:6: note: to match this '(' /usr/include/bits/stdio2.h:158:18: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ In file included from common.c:1: ./common.h:24:6: error: conflicting types for '__asprintf_chk' 24 | int asprintf(char **strp, const char *fmt, ...); | ^ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/bits/stdio2-decl.h:67:12: note: previous declaration is here 67 | extern int __asprintf_chk (char **__restrict __ptr, int __flag, | ^ common.c:49:5: error: expected parameter declarator 49 | int asprintf(char **strp, const char *fmt, ...){ | ^ /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ common.c:49:5: error: expected ')' /usr/include/bits/stdio2.h:158:24: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/features.h:428:31: note: expanded from macro '__USE_FORTIFY_LEVEL' 428 | # define __USE_FORTIFY_LEVEL 2 | ^ common.c:49:5: note: to match this '(' /usr/include/bits/stdio2.h:158:18: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ common.c:49:5: error: conflicting types for '__asprintf_chk' 49 | int asprintf(char **strp, const char *fmt, ...){ | ^ /usr/include/bits/stdio2.h:158:3: note: expanded from macro 'asprintf' 158 | __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) | ^ /usr/include/bits/stdio2-decl.h:67:12: note: previous declaration is here 67 | extern int __asprintf_chk (char **__restrict __ptr, int __flag, | ^ common.c:61:19: error: use of undeclared identifier 'fmt' 61 | va_start(ap, fmt); | ^ common.c:62:30: error: use of undeclared identifier 'fmt'; did you mean 'fma'? 62 | n = vsnprintf (p, size, fmt, ap); | ^~~ | fma /usr/include/bits/mathcalls.h:340:13: note: 'fma' declared here 340 | __MATHCALL (fma,, (_Mdouble_ __x, _Mdouble_ __y, _Mdouble_ __z)); | ^ 8 errors generated. 11 warnings and 3 errors generated. make[1]: *** [Makefile:479: cmdexec.o] Error 1 make[1]: *** [Makefile:479: common.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03' make: *** [Makefile:346: all] Error 2 * ERROR: app-text/pspdftool-0.03::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/pspdftool-0.03::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/pspdftool-0.03::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:pspdftool-0.03:20231209-082920.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/pspdftool-0.03/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/pspdftool-0.03/temp/environment'. * Working directory: '/var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03' * S: '/var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03'