* Package: dev-libs/pslib-0.4.5-r1:0 * Repository: gentoo * Maintainer: printing@gentoo.org tex@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux png tiff userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pslib-0.4.5.tar.gz to /var/tmp/portage/dev-libs/pslib-0.4.5-r1/work >>> Source unpacked in /var/tmp/portage/dev-libs/pslib-0.4.5-r1/work >>> Preparing source in /var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5 ... * Applying pslib-0.4.5-fix-build-system.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5' ... * Running 'glib-gettextize --copy --force' ... [ ok ] * Running 'intltoolize --automake --copy --force' ... [ ok ] * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/dev-libs/pslib-0.4.5-r1/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: pslib-0.4.5/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5 ... * econf: updating pslib-0.4.5/config.sub with /usr/share/gnuconfig/config.sub * econf: updating pslib-0.4.5/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/pslib-0.4.5-r1 --htmldir=/usr/share/doc/pslib-0.4.5-r1/html --with-sysroot=/ --libdir=/usr/lib64 --enable-bmp --with-png --with-jpeg --with-tiff --without-debug checking for a BSD-compatible install... /usr/lib/portage/python3.10/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 checking whether to enable maintainer-specific portions of Makefiles... no checking whether NLS is requested... yes checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.36.0 checking for XML::Parser... ok checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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 whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for rm... /bin/rm checking for mv... /bin/mv checking for tar... /bin/tar 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 locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... de checking how to print strings... printf 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 for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file 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-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ 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/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory 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 an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking whether struct tm is in sys/time.h or time.h... time.h checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /bin/grep -E checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for malloc.h... yes checking for stdarg.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for time.h... yes checking for ieeefp.h... no checking for nan.h... no checking for math.h... yes checking for float.h... yes checking for stdlib.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/mman.h... yes checking for byteswap.h... yes checking for strftime... yes checking for strdup... yes checking for strndup... yes checking for strerror... yes checking for snprintf... yes checking for finite... yes checking for isnand... no checking for fp_class... no checking for class... no checking for fpclass... no checking for strftime... (cached) yes checking for localtime... yes checking for gethostent... yes checking for setsockopt... yes checking for connect... yes checking for type of socket length (socklen_t)... checking for docbook-to-man... no docbook-to-man could not be found. I will not build man pages! checking for png_read_image in -lpng... yes checking for jpeg_read_header in -ljpeg... yes checking for DGifOpenFileName in -lungif... no libungif not found. I will compile without gif support. checking for TIFFOpen in -ltiff... yes Disabling DEBUG support checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating pslib.spec config.status: creating libps.pc config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating data/Makefile config.status: creating src/Makefile config.status: creating src/ght_hash_table.h config.status: creating po/Makefile.in config.status: creating include/libps/psversion.h config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing libtool commands /bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing po/stamp-it commands Configuration: Prefix: /usr >>> Source configured. '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/temp/clang14.log' -> '/var/tmp/clang/dev-libs/pslib-0.4.5-r1/clang14.log' '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/temp/clang15.log' -> '/var/tmp/clang/dev-libs/pslib-0.4.5-r1/clang15.log' >>> Compiling source in /var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5' Making all in data make[2]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5/data' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5/data' Making all in include make[2]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5/include' Making all in src make[2]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5/src' /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pslib.lo pslib.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_memory.lo ps_memory.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_memprof.lo ps_memprof.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_error.lo ps_error.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_memprof.c -fPIC -DPIC -o .libs/ps_memprof.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_error.c -fPIC -DPIC -o .libs/ps_error.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c pslib.c -fPIC -DPIC -o .libs/pslib.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_memory.c -fPIC -DPIC -o .libs/ps_memory.o ps_memprof.c:84:80: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] ...find memory block at 0x%X to enlarge: %s"), (unsigned int) mem, caller); ^~~~~~~~~~~~~~~~~~ ps_memprof.c:110:74: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] ...did not find memory block at 0x%X to free."), (unsigned int) mem); ^~~~~~~~~~~~~~~~~~ ps_memprof.c:128:78: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] ...0x%X (%d) not freed: '%s'."), j, (unsigned int) memlist[i].ptr, memlist[... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_afm.lo ps_afm.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_list.lo ps_list.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_list.c -fPIC -DPIC -o .libs/ps_list.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_afm.c -fPIC -DPIC -o .libs/ps_afm.o pslib.c:2214:17: warning: illegal character encoding in character literal [-Winvalid-source-encoding] ligdischar = ''; ^ pslib.c:2582:80: warning: illegal character encoding in character literal [-Winvalid-source-encoding] ...!= '-' && *str != '\n' && *str != '\r' && *str != '' && *str != '\0') { ^ pslib.c:2731:22: warning: illegal character encoding in character literal [-Winvalid-source-encoding] buf1[i+k+1] = ''; ^ pslib.c:2765:48: warning: illegal character encoding in character literal [-Winvalid-source-encoding] ...linebuf[lastdelim-lastbreak+morechars] = ''; ^ pslib.c:4269:17: warning: illegal character encoding in character literal [-Winvalid-source-encoding] ligdischar = ''; ^ pslib.c:4668:44: warning: passing 'char[8]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (fread(sig, 1, SIG_READ, fp) == 0 || !png_check_sig(sig, SIG_READ)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/png.h:942:44: note: expanded from macro 'png_check_sig' #define png_check_sig(sig, n) !png_sig_cmp((sig), 0, (n)) ^~~~~ /usr/include/png.h:936:50: note: passing argument to parameter 'sig' here PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, ^ pslib.c:4804:20: warning: assigning to 'png_bytep' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] row_pointers[i] = dataptr; ^ ~~~~~~~ pslib.c:4859:10: warning: 14 enumeration values not handled in switch: 'JCS_UNKNOWN', 'JCS_YCbCr', 'JCS_YCCK'... [-Wswitch] switch(cinfo.out_color_space) { ^~~~~~~~~~~~~~~~~~~~~ pslib.c:5008:3: warning: 'uint32' is deprecated [-Wdeprecated-declarations] uint32* raster; ^ /usr/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /usr/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ pslib.c:5033:13: warning: 'uint32' is deprecated [-Wdeprecated-declarations] raster = (uint32*) _TIFFmalloc(psimage->width * psimage-... ^ /usr/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /usr/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ pslib.c:5033:77: warning: 'uint32' is deprecated [-Wdeprecated-declarations] ...(uint32*) _TIFFmalloc(psimage->width * psimage->height * sizeof (uint32)); ^ /usr/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; ^ /usr/include/tiff.h:66:44: note: expanded from macro 'TIFF_GCC_DEPRECATED' #define TIFF_GCC_DEPRECATED __attribute__((deprecated)) ^ pslib.c:5048:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dst = psimage->data; ^ ~~~~~~~~~~~~~ pslib.c:5121:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] psimage->data = data; ^ ~~~~ pslib.c:5391:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dataptr = image->data; ^ ~~~~~~~~~~~ pslib.c:5401:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmpdata = image->data; ^ ~~~~~~~~~~~ pslib.c:5405:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...ps_ascii85_encode(psdoc, tmpdata, reallength); ^~~~~~~ ./ps_intern.h:480:44: note: passing argument to parameter 'data' here void ps_ascii85_encode(PSDoc *psdoc, char *data, size_t len); ^ pslib.c:5407:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...ps_asciihex_encode(psdoc, tmpdata, reallength); ^~~~~~~ ./ps_intern.h:481:45: note: passing argument to parameter 'data' here void ps_asciihex_encode(PSDoc *psdoc, char *data, size_t len); ^ pslib.c:5423:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dataptr = image->data; ^ ~~~~~~~~~~~ pslib.c:5450:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ps_ascii85_encode(psdoc, tmpdata, k); ^~~~~~~ ./ps_intern.h:480:44: note: passing argument to parameter 'data' here void ps_ascii85_encode(PSDoc *psdoc, char *data, size_t len); ^ pslib.c:5452:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ps_asciihex_encode(psdoc, tmpdata, k); ^~~~~~~ ./ps_intern.h:481:45: note: passing argument to parameter 'data' here void ps_asciihex_encode(PSDoc *psdoc, char *data, size_t len); ^ pslib.c:5985:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ai = gfindadobe(psfont->metrics->gadobechars, glyphname)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pslib.c:5985:8: note: place parentheses around the assignment to silence this warning if(ai = gfindadobe(psfont->metrics->gadobechars, glyphname)) { ^ ( ) pslib.c:5985:8: note: use '==' to turn this assignment into an equality comparison if(ai = gfindadobe(psfont->metrics->gadobechars, glyphname)) { ^ == /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_util.lo ps_util.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_util.c -fPIC -DPIC -o .libs/ps_util.o 3 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o hash_table.lo hash_table.c ps_util.c:458:25: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ght_insert(hashvec, (char *) i+1, strlen... ^~~~~~~~~~ ps_util.c:482:32: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ...if(0 > ght_insert(hashvec, (char *) p_e->adobenum+1, strlen(p_e->adobena... ^~~~~~~~~~~~~~~~~~~~~~ ps_util.c:508:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] ...for(i = (int) ght_first(hashvec, &iterator, (void **) &glyphname); i; i ... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:508:77: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] ...i; i = (int) ght_next(hashvec, &iterator, (void **) &glyphname)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:531:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] ...for(i = (int) ght_first(hashvec, &iterator, (void **) &glyphname); i; i ... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:531:77: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] ...i; i = (int) ght_next(hashvec, &iterator, (void **) &glyphname)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:562:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] ...code = (int) ght_get(fontenc, strlen(adobename)+1, (void *) adobename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:581:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] ...code = (int) ght_get(fontenc, strlen(adobename)+1, (void *) adobename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:630:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = fopen(filename, "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:630:8: note: place parentheses around the assignment to silence this warning if(fp = fopen(filename, "rb")) ^ ( ) ps_util.c:630:8: note: use '==' to turn this assignment into an equality comparison if(fp = fopen(filename, "rb")) ^ == ps_util.c:641:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = fopen(buffer, "rb")) { ~~~^~~~~~~~~~~~~~~~~~~~~ ps_util.c:641:10: note: place parentheses around the assignment to silence this warning if(fp = fopen(buffer, "rb")) { ^ ( ) ps_util.c:641:10: note: use '==' to turn this assignment into an equality comparison if(fp = fopen(buffer, "rb")) { ^ == ps_util.c:657:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp = fopen(buffer, "rb")) ~~~^~~~~~~~~~~~~~~~~~~~~ ps_util.c:657:8: note: place parentheses around the assignment to silence this warning if(fp = fopen(buffer, "rb")) ^ ( ) ps_util.c:657:8: note: use '==' to turn this assignment into an equality comparison if(fp = fopen(buffer, "rb")) ^ == ps_util.c:723:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dataptr = data; ^ ~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hash_table.c -fPIC -DPIC -o .libs/hash_table.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o hash_functions.lo hash_functions.c 12 warnings generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o hyphen.lo hyphen.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hash_functions.c -fPIC -DPIC -o .libs/hash_functions.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o hnjalloc.lo hnjalloc.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hyphen.c -fPIC -DPIC -o .libs/hyphen.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hnjalloc.c -fPIC -DPIC -o .libs/hnjalloc.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o bmp.lo bmp.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c bmp.c -fPIC -DPIC -o .libs/bmp.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_inputenc.lo ps_inputenc.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_inputenc.c -fPIC -DPIC -o .libs/ps_inputenc.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_fontenc.lo ps_fontenc.c bmp.c:308:3: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_RuntimeError, _("Could not open bmp file.")); ^ bmp.c:308:3: note: did you mean 'perror'? /usr/include/stdio.h:804:13: note: 'perror' declared here extern void perror (const char *__s); ^ bmp.c:314:3: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_RuntimeError, _("File is not a bmp file.")); ^ bmp.c:422:3: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_RuntimeError, _("Cannot process bmp f... ^ bmp.c:444:5: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_MemoryError, _("Canno... ^ bmp.c:513:5: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_MemoryError, _("Canno... ^ bmp.c:526:6: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_Warning, _("S... ^ bmp.c:530:6: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_Warning, _("S... ^ bmp.c:582:5: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_MemoryError, _("Canno... ^ bmp.c:587:5: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_MemoryError, _("Canno... ^ bmp.c:652:5: error: call to undeclared function 'ps_error'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ps_error(psdoc, PS_MemoryError, _("Canno... ^ 10 errors generated. make[2]: *** [Makefile:553: bmp.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ps_fontenc.c -fPIC -DPIC -o .libs/ps_fontenc.o 21 warnings generated. make[2]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5/src' make[1]: *** [Makefile:518: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5' make: *** [Makefile:423: all] Error 2 * ERROR: dev-libs/pslib-0.4.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/pslib-0.4.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/pslib-0.4.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:pslib-0.4.5-r1:20220918-103948.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5' * S: '/var/tmp/portage/dev-libs/pslib-0.4.5-r1/work/pslib-0.4.5'