* Package: dev-libs/pslib-0.4.6:0 * Repository: gentoo * Maintainer: printing@gentoo.org tex@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pslib-0.4.6.tar.gz to /var/tmp/portage/dev-libs/pslib-0.4.6/work >>> Source unpacked in /var/tmp/portage/dev-libs/pslib-0.4.6/work >>> Preparing source in /var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6 ... * Applying pslib-0.4.5-fix-build-system.patch ... [ ok ] * Applying pslib-0.4.6-Fix-implicit-function-declarations.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6' ... * 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.6/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.6/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying color-record/2.4.7 patch ... * Applying openmp/2.4.7 patch ... * Applying verbose-pic/2.4.7 patch ... * Applying clang-runtime-ltmain/2.4.7 patch ... * Applying fix-file-check/2.5.0 patch ... >>> 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/dev-libs/pslib-0.4.6/work/pslib-0.4.6 ... * econf: updating pslib-0.4.6/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pslib-0.4.6/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 --disable-static --docdir=/usr/share/doc/pslib-0.4.6 --htmldir=/usr/share/doc/pslib-0.4.6/html --with-sysroot=/ --libdir=/usr/lib64 --enable-bmp --without-png --with-jpeg --without-tiff --without-debug configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 xargs -n works... 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.40.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... /usr/bin/rm checking for mv... /usr/bin/mv checking for tar... /usr/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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) 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 ld.lld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... no checking for x86_64-pc-linux-gnu-objdump... llvm-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... llvm-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm output from clang object... ok checking for sysroot... / checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/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... /usr/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 (ld.lld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... /usr/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) /usr/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! Disabled support for png images on users request checking for jpeg_read_header in -ljpeg... no libjpeg not found. I will compile without jpeg support. checking for DGifOpenFileName in -lgif... no libgif not found. I will compile without gif support. Disabled support for tiff images on users request 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 /usr/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.6/temp/clang16-errors.log' -> '/var/tmp/clang/dev-libs/pslib-0.4.6/clang16-errors.log' '/var/tmp/portage/dev-libs/pslib-0.4.6/temp/clang16-safe.log' -> '/var/tmp/clang/dev-libs/pslib-0.4.6/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6' Making all in data make[2]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6/data' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6/data' Making all in include make[2]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6/include' Making all in src make[2]: Entering directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6/src' /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c ps_memory.c -fPIC -DPIC -o .libs/ps_memory.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c ps_memprof.c -fPIC -DPIC -o .libs/ps_memprof.o ps_memprof.c:84:80: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] 84 | ...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] 110 | ...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] 128 | ...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 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_list.lo ps_list.c pslib.c:2214:17: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2214 | ligdischar = ''; | ^ pslib.c:2582:80: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2582 | ...!= '-' && *str != '\n' && *str != '\r' && *str != '' && *str != '\0') { | ^ pslib.c:2731:22: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2731 | buf1[i+k+1] = ''; | ^ pslib.c:2765:48: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2765 | ...linebuf[lastdelim-lastbreak+morechars] = ''; | ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c ps_afm.c -fPIC -DPIC -o .libs/ps_afm.o pslib.c:4269:17: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 4269 | ligdischar = ''; | ^ 3 warnings generated. pslib.c:5133: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] 5133 | psimage->data = data; | ^ ~~~~ pslib.c:5161:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 5161 | fread(psimage->data, statbuf.st_size, 1, fp); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pslib.c:5403: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] 5403 | dataptr = image->data; | ^ ~~~~~~~~~~~ pslib.c:5413: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] 5413 | tmpdata = image->data; | ^ ~~~~~~~~~~~ pslib.c:5417: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] 5417 | ...ps_ascii85_encode(psdoc, tmpdata, reallength); | ^~~~~~~ ./ps_intern.h:480:44: note: passing argument to parameter 'data' here 480 | void ps_ascii85_encode(PSDoc *psdoc, char *data, size_t len); | ^ pslib.c:5419: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] 5419 | ...ps_asciihex_encode(psdoc, tmpdata, reallength); | ^~~~~~~ ./ps_intern.h:481:45: note: passing argument to parameter 'data' here 481 | void ps_asciihex_encode(PSDoc *psdoc, char *data, size_t len); | ^ pslib.c:5435: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] 5435 | dataptr = image->data; | ^ ~~~~~~~~~~~ pslib.c:5462: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] 5462 | ps_ascii85_encode(psdoc, tmpdata, k); | ^~~~~~~ ./ps_intern.h:480:44: note: passing argument to parameter 'data' here 480 | void ps_ascii85_encode(PSDoc *psdoc, char *data, size_t len); | ^ pslib.c:5464: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] 5464 | ps_asciihex_encode(psdoc, tmpdata, k); | ^~~~~~~ ./ps_intern.h:481:45: note: passing argument to parameter 'data' here 481 | void ps_asciihex_encode(PSDoc *psdoc, char *data, size_t len); | ^ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_util.lo ps_util.c pslib.c:5997:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5997 | if(ai = gfindadobe(psfont->metrics->gadobechars, glyphname)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pslib.c:5997:8: note: place parentheses around the assignment to silence this warning 5997 | if(ai = gfindadobe(psfont->metrics->gadobechars, glyphname)) { | ^ | ( ) pslib.c:5997:8: note: use '==' to turn this assignment into an equality comparison 5997 | if(ai = gfindadobe(psfont->metrics->gadobechars, glyphname)) { | ^ | == pslib.c:6790:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 6790 | fread(bb, fsize, 1, fp); | ^~~~~ ~~~~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c ps_util.c -fPIC -DPIC -o .libs/ps_util.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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] 458 | 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] 482 | ...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] 508 | ...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] 508 | ...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] 531 | ...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] 531 | ...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] 562 | ...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] 581 | ...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] 630 | if(fp = fopen(filename, "rb")) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ ps_util.c:630:8: note: place parentheses around the assignment to silence this warning 630 | if(fp = fopen(filename, "rb")) | ^ | ( ) ps_util.c:630:8: note: use '==' to turn this assignment into an equality comparison 630 | if(fp = fopen(filename, "rb")) | ^ | == ps_util.c:641:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 641 | if(fp = fopen(buffer, "rb")) { | ~~~^~~~~~~~~~~~~~~~~~~~~ ps_util.c:641:10: note: place parentheses around the assignment to silence this warning 641 | if(fp = fopen(buffer, "rb")) { | ^ | ( ) ps_util.c:641:10: note: use '==' to turn this assignment into an equality comparison 641 | if(fp = fopen(buffer, "rb")) { | ^ | == ps_util.c:657:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 657 | if(fp = fopen(buffer, "rb")) | ~~~^~~~~~~~~~~~~~~~~~~~~ ps_util.c:657:8: note: place parentheses around the assignment to silence this warning 657 | if(fp = fopen(buffer, "rb")) | ^ | ( ) ps_util.c:657:8: note: use '==' to turn this assignment into an equality comparison 657 | 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] 723 | dataptr = data; | ^ ~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c hash_table.c -fPIC -DPIC -o .libs/hash_table.o 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 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o hash_functions.lo hash_functions.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c hash_functions.c -fPIC -DPIC -o .libs/hash_functions.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c hyphen.c -fPIC -DPIC -o .libs/hyphen.o /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o hnjalloc.lo hnjalloc.c hyphen.c:260:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 260 | fgets(dict->cset, sizeof(dict->cset),f); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c hnjalloc.c -fPIC -DPIC -o .libs/hnjalloc.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c bmp.c -fPIC -DPIC -o .libs/bmp.o 1 warning generated. /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_inputenc.lo ps_inputenc.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_fontenc.lo ps_fontenc.c bmp.c:315:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 315 | read (fd, file_hdr.bType, 2); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~ bmp.c:325:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 325 | read(fd, &file_hdr.iOffBits, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:337:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 337 | read(fd, &info_hdr.iSize, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~ bmp.c:352:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 352 | read(fd, &info_hdr.iWidth, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:353:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 353 | read(fd, &info_hdr.iHeight, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:354:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 354 | read(fd, &info_hdr.iPlanes, 2); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:355:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 355 | read(fd, &info_hdr.iBitCount, 2); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:356:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 356 | read(fd, &info_hdr.iCompression, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:357:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 357 | read(fd, &info_hdr.iSizeImage, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:358:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 358 | read(fd, &info_hdr.iXPelsPerMeter, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:359:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 359 | read(fd, &info_hdr.iYPelsPerMeter, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:360:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 360 | read(fd, &info_hdr.iClrUsed, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:361:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 361 | read(fd, &info_hdr.iClrImportant, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:362:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 362 | read(fd, &info_hdr.iRedMask, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:363:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 363 | read(fd, &info_hdr.iGreenMask, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:364:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 364 | read(fd, &info_hdr.iBlueMask, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:365:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 365 | read(fd, &info_hdr.iAlphaMask, 4); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:398:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 398 | read(fd, &iShort, 2); | ^~~~ ~~~~~~~~~~~~~~ bmp.c:403:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 403 | read(fd, &iShort, 2); | ^~~~ ~~~~~~~~~~~~~~ bmp.c:408:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 408 | read(fd, &iShort, 2); | ^~~~ ~~~~~~~~~~~~~~ bmp.c:413:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 413 | read(fd, &iShort, 2); | ^~~~ ~~~~~~~~~~~~~~ bmp.c:455:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 455 | read(fd, clr_tbl, n_clr_elems * clr_tbl_size); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:595:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 595 | read(fd, comprbuf, compr_size); | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c ps_fontenc.c -fPIC -DPIC -o .libs/ps_fontenc.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -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 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o ps_strbuf.lo ps_strbuf.c 23 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c ps_strbuf.c -fPIC -DPIC -o .libs/ps_strbuf.o 16 warnings generated. /bin/sh ../libtool --tag=CC --mode=link clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -version-info 4:6:4 -L/usr/lib -L/usr/lib -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libps.la -rpath /usr/lib64 pslib.lo ps_memory.lo ps_memprof.lo ps_error.lo ps_afm.lo ps_list.lo ps_util.lo hash_table.lo hash_functions.lo hyphen.lo hnjalloc.lo bmp.lo ps_inputenc.lo ps_fontenc.lo ps_strbuf.lo -lm libtool: link: clang -shared -fPIC -DPIC .libs/pslib.o .libs/ps_memory.o .libs/ps_memprof.o .libs/ps_error.o .libs/ps_afm.o .libs/ps_list.o .libs/ps_util.o .libs/hash_table.o .libs/hash_functions.o .libs/hyphen.o .libs/hnjalloc.o .libs/bmp.o .libs/ps_inputenc.o .libs/ps_fontenc.o .libs/ps_strbuf.o -L/usr/lib -Wl,--as-needed -lm -O2 -march=native -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libps.so.0 -o .libs/libps.so.0.4.6 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crti.o is incompatible with elf32-i386 ld.lld: error: /usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/clang_rt.crtbegin-x86_64.o is incompatible with elf32-i386 ld.lld: error: .libs/pslib.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_memory.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_memprof.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_error.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_afm.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_list.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_util.o is incompatible with elf32-i386 ld.lld: error: .libs/hash_table.o is incompatible with elf32-i386 ld.lld: error: .libs/hash_functions.o is incompatible with elf32-i386 ld.lld: error: .libs/hyphen.o is incompatible with elf32-i386 ld.lld: error: .libs/hnjalloc.o is incompatible with elf32-i386 ld.lld: error: .libs/bmp.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_inputenc.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_fontenc.o is incompatible with elf32-i386 ld.lld: error: .libs/ps_strbuf.o is incompatible with elf32-i386 ld.lld: error: /usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/libclang_rt.builtins-x86_64.a(absvdi2.c.o) is incompatible with elf32-i386 ld.lld: error: /usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/libclang_rt.builtins-x86_64.a(absvsi2.c.o) is incompatible with elf32-i386 ld.lld: error: /usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/libclang_rt.builtins-x86_64.a(absvti2.c.o) is incompatible with elf32-i386 ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang-18: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:505: libps.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6/src' make[1]: *** [Makefile:523: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6' make: *** [Makefile:428: all] Error 2 * ERROR: dev-libs/pslib-0.4.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/pslib-0.4.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/pslib-0.4.6::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:pslib-0.4.6:20240829-162618.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/pslib-0.4.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/pslib-0.4.6/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6' * S: '/var/tmp/portage/dev-libs/pslib-0.4.6/work/pslib-0.4.6'