* Package: app-text/pspdftool-0.03 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU zlib * FEATURES: network-sandbox preserve-libs sandbox splitdebug 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 ... [ 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. >>> Configuring source in /var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03 ... ./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 checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/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 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... 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 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 X... no checking for $CC... no checking for -c... no checking for $CFLAGS... no checking for $CPPFLAGS... no checking for conftest.$ac_ext... no checking for >&5... no checking for uncompress in -lz... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (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 whether make sets $(MAKE)... (cached) yes checking for log in -lm... yes 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 for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) 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. >>> Compiling source in /var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03 ... make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o cmdexec.o cmdexec.c cmdexec.c: In function ‘cmd_make_tree’: cmdexec.c:901:8: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 901 | asprintf(&def_name, "%s", argument->str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:921:9: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 921 | asprintf(&(params[i-2].name), "%s", argument->str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:936:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 936 | asprintf(&(params[i-2].name), "%s", argument->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:946:7: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 946 | asprintf(&(params[i-2].str), "%s", argument->str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:988:6: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 988 | asprintf(&arg_ent[j].part,"%s", last_cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:1022:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1022 | asprintf(&arg_ent[j].part,"%s", last_cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c: In function ‘cmd_expand_macro’: cmdexec.c:472:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 472 | asprintf(&c_buf, "%s%s",tmp_buf, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:475:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 475 | asprintf(&c_buf, "%s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:483:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 483 | asprintf(&c_buf, "%s%s",tmp_buf, arg_ent[i].part); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:486:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 486 | asprintf(&c_buf, "%s", arg_ent[i].part); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdexec.c:399:40: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 399 | snprintf(buffer, buffer_len, "\"%s\"", argument->str); | ^ In file included from /usr/include/stdio.h:867, from cmdexec.c:9: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 3 and 257 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o common.o common.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o dummydoc.o dummydoc.c dummydoc.c: In function ‘dummy_doc_bbox_update’: dummydoc.c:52:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 52 | asprintf(&cmd," ( gs -sDEVICE=bbox -dQUIET -dNOPAUSE -r100 -dBATCH %s ) 2>&1 ",filein); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o fileio.o fileio.c In file included from /usr/include/string.h:495, from fileio.c:3: In function ‘strncpy’, inlined from ‘stropen’ at fileio.c:56:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘stropen’: fileio.c:49:6: note: length computed here 49 | len=strlen(str); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o main.o main.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o main_page.o main_page.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o page_list.o page_list.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o pdf_doc.o pdf_doc.c pdf_doc.c: In function ‘pdf_doc_convert’: pdf_doc.c:57:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 57 | asprintf(&cmd,"ps2pdf %s %s", filein, fileout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o pdf_filters.o pdf_filters.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -std=gnu99 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Werror=format-security -Wformat -c -o pdf_lib.o pdf_lib.c pdf_lib.c: In function ‘pdf_save’: pdf_lib.c:1055:12: error: format not a string literal and no format arguments [-Werror=format-security] 1055 | fprintf(f,binary); | ^~~~~~ pdf_lib.c: In function ‘pdf_set_boundaries’: pdf_lib.c:697:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 697 | asprintf(&str,"[ %d %d %d %d ]",dim->left.x,dim->left.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 698 | dim->right.x,dim->right.y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c: In function ‘pdf_merge_stream’: pdf_lib.c:1380:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1380 | asprintf(&str,"<>\nstream\n%s\nendstream",1, " "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c: In function ‘pdf_page_transform’: pdf_lib.c:1439:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1439 | asprintf(&ct,"q %.2f %.2f %.2f %.2f %.2f %.2f cm ", (*matrix)[0][0], (*matrix)[0][1], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1440 | (*matrix)[1][0], (*matrix)[1][1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1441 | (*matrix)[2][0], (*matrix)[2][1]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c: In function ‘pdf_page_to_xobj’: pdf_lib.c:1264:3: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1264 | asprintf(&stream_content,"q Do Q"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1274:6: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1274 | asprintf(&xobjname,"xo%d",revision++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1281:6: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1281 | asprintf(&stream_content,"q /%s Do Q",xobjname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1294:7: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1294 | asprintf(&stream_content," "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1320:6: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1320 | asprintf(&xobjname,"xo%d",revision++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1327:6: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1327 | asprintf(&stream_content,"q /%s Do Q",xobjname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1338:7: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1338 | asprintf(&xobjname,"xo%d",revision++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1346:8: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1346 | asprintf(&stream_content," /%s Do ",xobjname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1350:8: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1350 | asprintf(&stream_content,"%s q /%s Do Q",tmp_stream_content,xobjname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1365:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1365 | asprintf(&str,"<>\nstream\n%s\nendstream",(long unsigned int)strlen(stream_content),stream_content); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c: In function ‘pdf_page_line’: pdf_lib.c:1461:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1461 | asprintf(&ch," q %d w %d %d m %d %d l S Q", width, begin->x, begin->y, end->x, end->y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c: In function ‘pdf_page_text’: pdf_lib.c:1519:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1519 | asprintf(&ch,"F%s",font); | ^~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1523:3: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1523 | asprintf(&str,"<< /Type /Font /Subtype /Type1 /BaseFont /%s /Name /F%s /Encoding /MacRomanEncoding >>",font, font); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1532:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1532 | asprintf(&ch, " q BT /F%s %d Tf \n %d %d Td\n (%s) Tj ET Q", font ,size, where->x, where->y, text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c: In function ‘pdf_page_crop’: pdf_lib.c:1563:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1563 | asprintf(&ch,"q %d %d %d %d re W n ", dimensions->left.x, dimensions->left.y, dimensions->right.x - dimensions->left.x, dimensions->right.y - dimensions->left.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c: In function ‘pdf_compress_stream’: pdf_lib.c:1742:3: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1742 | asprintf(&ch,"/%s",filter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1755:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1755 | asprintf(&ch,"/%s",filter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_lib.c:1760:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1760 | asprintf(&ch," [ /%s /%s ] ",p_obj->val.name,filter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[1]: *** [Makefile:470: pdf_lib.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/pspdftool-0.03/work/pspdftool-0.03' make: *** [Makefile:337: 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:20200326-192033.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'