+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pslib.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Mon Mar 23 2013 Orion Poplawski - 0.4.5-7 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fuCPuA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pslib-0.4.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/pslib-0.4.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pslib-0.4.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pslib-aarch64.patch):' Patch #0 (pslib-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.guess patching file config.sub + chmod a-x ChangeLog + for file in AUTHORS + iconv -f ISO-8859-1 -t UTF-8 -o AUTHORS.new AUTHORS + touch -r AUTHORS AUTHORS.new + mv AUTHORS.new AUTHORS + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lx8XSM + umask 022 + cd /builddir/build/BUILD + cd pslib-0.4.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether NLS is requested... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none 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/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.26.1 checking for XML::Parser... ok checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for rm... /usr/bin/rm checking for mv... /usr/bin/mv checking for tar... /usr/bin/tar checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes 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/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... de checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... /usr/bin/rm: cannot remove 'conftest*': No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) 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 ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking nan.h usability... no checking nan.h presence... no checking for nan.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking byteswap.h usability... yes checking byteswap.h presence... 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 BMP support 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 + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/pslib-0.4.5' Making all in data make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/data' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/data' Making all in include make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/include' Making all in src make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o pslib.lo pslib.c /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_memory.lo ps_memory.c /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_memprof.lo ps_memprof.c /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_error.lo ps_error.c libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_memory.c -fPIC -DPIC -o .libs/ps_memory.o libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_memprof.c -fPIC -DPIC -o .libs/ps_memprof.o libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c pslib.c -fPIC -DPIC -o .libs/pslib.o libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_error.c -fPIC -DPIC -o .libs/ps_error.o ps_memprof.c: In function 'PS_mp_realloc': ps_memprof.c:84:80: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, _("Aiii, did not find memory block at 0x%X to enlarge: %s"), (unsigned int) mem, caller); ^ ps_memprof.c: In function 'PS_mp_free': ps_memprof.c:110:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, _("Aiii, did not find memory block at 0x%X to free."), (unsigned int) mem); ^ ps_memprof.c: In function 'PS_mp_list_unfreed': ps_memprof.c:128:78: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(stderr, _("%d. Memory at address 0x%X (%d) not freed: '%s'."), j, (unsigned int) memlist[i].ptr, memlist[i].size, memlist[i].caller); ^ /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_afm.lo ps_afm.c /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_list.lo ps_list.c /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_util.lo ps_util.c libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_list.c -fPIC -DPIC -o .libs/ps_list.o libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_afm.c -fPIC -DPIC -o .libs/ps_afm.o pslib.c: In function 'PS_show_boxed': pslib.c:2435:14: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] float hlen, vlen, xpos, ypos, oldypos, leading, old_word_spacing; ^~~~ pslib.c: In function 'PS_findfont': pslib.c:4116:9: warning: unused variable 'ts' [-Wunused-variable] int ts = fread(bb, 1, fsize, fp); ^~ pslib.c: In function 'PS_open_image': pslib.c:4531:20: warning: unused variable 'j' [-Wunused-variable] int reallength, j; ^ pslib.c: In function 'PS_open_image_file': pslib.c:4668:44: warning: pointer targets in passing argument 1 of 'png_sig_cmp' differ in signedness [-Wpointer-sign] if (fread(sig, 1, SIG_READ, fp) == 0 || !png_check_sig(sig, SIG_READ)) { ^~~~~~~~~~~~~ In file included from /usr/include/png.h:366:0, from pslib.c:54: /usr/include/png.h:944:1: note: expected 'png_const_bytep {aka const unsigned char *}' but argument is of type 'char *' PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, png_size_t start, ^ libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_util.c -fPIC -DPIC -o .libs/ps_util.o pslib.c:4804:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] row_pointers[i] = dataptr; ^ pslib.c:4859:3: warning: enumeration value 'JCS_UNKNOWN' not handled in switch [-Wswitch] switch(cinfo.out_color_space) { ^~~~~~ pslib.c:4859:3: warning: enumeration value 'JCS_YCbCr' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_YCCK' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_RGB' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_RGBX' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_BGR' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_BGRX' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_XBGR' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_XRGB' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_RGBA' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_BGRA' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_ABGR' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_EXT_ARGB' not handled in switch [-Wswitch] pslib.c:4859:3: warning: enumeration value 'JCS_RGB565' not handled in switch [-Wswitch] pslib.c:5048:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dst = psimage->data; ^ pslib.c:5197:20: warning: unused variable 'j' [-Wunused-variable] int reallength, j; ^ pslib.c: In function 'PS_place_image': pslib.c:5391:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dataptr = image->data; ^ pslib.c:5401:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] tmpdata = image->data; ^ pslib.c:5405:31: warning: pointer targets in passing argument 2 of 'ps_ascii85_encode' differ in signedness [-Wpointer-sign] ps_ascii85_encode(psdoc, tmpdata, reallength); ^~~~~~~ In file included from pslib.c:47:0: ps_intern.h:480:6: note: expected 'char *' but argument is of type 'unsigned char *' void ps_ascii85_encode(PSDoc *psdoc, char *data, size_t len); ^~~~~~~~~~~~~~~~~ pslib.c:5407:32: warning: pointer targets in passing argument 2 of 'ps_asciihex_encode' differ in signedness [-Wpointer-sign] ps_asciihex_encode(psdoc, tmpdata, reallength); ^~~~~~~ In file included from pslib.c:47:0: ps_intern.h:481:6: note: expected 'char *' but argument is of type 'unsigned char *' void ps_asciihex_encode(PSDoc *psdoc, char *data, size_t len); ^~~~~~~~~~~~~~~~~~ pslib.c:5423:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dataptr = image->data; ^ pslib.c:5450:31: warning: pointer targets in passing argument 2 of 'ps_ascii85_encode' differ in signedness [-Wpointer-sign] ps_ascii85_encode(psdoc, tmpdata, k); ^~~~~~~ In file included from pslib.c:47:0: ps_intern.h:480:6: note: expected 'char *' but argument is of type 'unsigned char *' void ps_ascii85_encode(PSDoc *psdoc, char *data, size_t len); ^~~~~~~~~~~~~~~~~ pslib.c:5452:32: warning: pointer targets in passing argument 2 of 'ps_asciihex_encode' differ in signedness [-Wpointer-sign] ps_asciihex_encode(psdoc, tmpdata, k); ^~~~~~~ In file included from pslib.c:47:0: ps_intern.h:481:6: note: expected 'char *' but argument is of type 'unsigned char *' void ps_asciihex_encode(PSDoc *psdoc, char *data, size_t len); ^~~~~~~~~~~~~~~~~~ pslib.c: In function 'PS_begin_font': ps_list.c: In function 'dlst_init': ps_list.c:82:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(allocproc == NULL || ^~ ps_list.c:87:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((l = (DLIST*) (* allocproc) (NULL, sizeof(DLIST), "dlst_init")) != NULL) { ^~ pslib.c:5854:7: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] char buffer[20]; ^~~~~~ pslib.c: In function 'PS_begin_glyph': pslib.c:5985:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ai = gfindadobe(psfont->metrics->gadobechars, glyphname)) { ^~ ps_afm.c:133:12: warning: 'transform' defined but not used [-Wunused-function] static int transform(int x, int y) { ^~~~~~~~~ pslib.c: In function 'PS_open_image_file': pslib.c:5149:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(psimage->data, statbuf.st_size, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps_util.c: In function 'ps_build_enc_hash': ps_util.c:458:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ght_insert(hashvec, (char *) i+1, strlen(enc->vec[i])+1, enc->vec[i]); ^ ps_util.c: In function 'ps_build_enc_from_font': ps_util.c:482:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if(0 > ght_insert(hashvec, (char *) p_e->adobenum+1, strlen(p_e->adobename)+1, p_e->adobename)) ^ ps_util.c: In function 'ps_build_enc_vector': ps_util.c:508:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] for(i = (int) ght_first(hashvec, &iterator, (void **) &glyphname); i; i = (int) ght_next(hashvec, &iterator, (void **) &glyphname)) { ^ ps_util.c:508:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] for(i = (int) ght_first(hashvec, &iterator, (void **) &glyphname); i; i = (int) ght_next(hashvec, &iterator, (void **) &glyphname)) { ^ ps_util.c: In function 'ps_list_fontenc': ps_util.c:531:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] for(i = (int) ght_first(hashvec, &iterator, (void **) &glyphname); i; i = (int) ght_next(hashvec, &iterator, (void **) &glyphname)) { ^ ps_util.c:531:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] for(i = (int) ght_first(hashvec, &iterator, (void **) &glyphname); i; i = (int) ght_next(hashvec, &iterator, (void **) &glyphname)) { ^ ps_util.c: In function 'ps_fontenc_code': ps_util.c:562:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] code = (int) ght_get(fontenc, strlen(adobename)+1, (void *) adobename); ^ ps_util.c: In function 'ps_fontenc_has_glyph': ps_util.c:581:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] code = (int) ght_get(fontenc, strlen(adobename)+1, (void *) adobename); ^ ps_util.c: In function 'ps_open_file_in_path': ps_util.c:630:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(filename, "rb")) ^~ ps_util.c:641:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(buffer, "rb")) { ^~ ps_util.c:657:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(buffer, "rb")) ^~ ps_util.c: In function 'ps_asciihex_encode': ps_util.c:723:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] dataptr = data; ^ pslib.c: In function 'PS_include_file': pslib.c:6778:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bb, fsize, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~ At top level: pslib.c:343:1: warning: '_ps_find_gstate_by_name' defined but not used [-Wunused-function] _ps_find_##resname##_by_name(PSDoc *p, const char *name) \ ^ pslib.c:395:1: note: in expansion of macro 'PS_FIND_RESOURCE_BY_NAME' PS_FIND_RESOURCE_BY_NAME(gstate, PSGState) ^~~~~~~~~~~~~~~~~~~~~~~~ pslib.c:328:1: warning: '_ps_find_gstate' defined but not used [-Wunused-function] _ps_find_##resname(PSDoc *p, restype *ptr) \ ^ pslib.c:394:1: note: in expansion of macro 'PS_FIND_RESOURCE' PS_FIND_RESOURCE(gstate, PSGState) ^~~~~~~~~~~~~~~~ pslib.c:312:1: warning: '_ps_unregister_gstate' defined but not used [-Wunused-function] _ps_unregister_##resname(PSDoc *p, int id) \ ^ pslib.c:393:1: note: in expansion of macro 'PS_UNREGISTER_RESOURCE' PS_UNREGISTER_RESOURCE(gstate, PSGState) ^~~~~~~~~~~~~~~~~~~~~~ pslib.c:328:1: warning: '_ps_find_spotcolor' defined but not used [-Wunused-function] _ps_find_##resname(PSDoc *p, restype *ptr) \ ^ pslib.c:389:1: note: in expansion of macro 'PS_FIND_RESOURCE' PS_FIND_RESOURCE(spotcolor, PSSpotColor) ^~~~~~~~~~~~~~~~ pslib.c:312:1: warning: '_ps_unregister_spotcolor' defined but not used [-Wunused-function] _ps_unregister_##resname(PSDoc *p, int id) \ ^ pslib.c:388:1: note: in expansion of macro 'PS_UNREGISTER_RESOURCE' PS_UNREGISTER_RESOURCE(spotcolor, PSSpotColor) ^~~~~~~~~~~~~~~~~~~~~~ pslib.c:343:1: warning: '_ps_find_shading_by_name' defined but not used [-Wunused-function] _ps_find_##resname##_by_name(PSDoc *p, const char *name) \ ^ pslib.c:385:1: note: in expansion of macro 'PS_FIND_RESOURCE_BY_NAME' PS_FIND_RESOURCE_BY_NAME(shading, PSShading) ^~~~~~~~~~~~~~~~~~~~~~~~ pslib.c:328:1: warning: '_ps_find_shading' defined but not used [-Wunused-function] _ps_find_##resname(PSDoc *p, restype *ptr) \ ^ pslib.c:384:1: note: in expansion of macro 'PS_FIND_RESOURCE' PS_FIND_RESOURCE(shading, PSShading) ^~~~~~~~~~~~~~~~ pslib.c:312:1: warning: '_ps_unregister_shading' defined but not used [-Wunused-function] _ps_unregister_##resname(PSDoc *p, int id) \ ^ pslib.c:383:1: note: in expansion of macro 'PS_UNREGISTER_RESOURCE' PS_UNREGISTER_RESOURCE(shading, PSShading) ^~~~~~~~~~~~~~~~~~~~~~ pslib.c:343:1: warning: '_ps_find_pattern_by_name' defined but not used [-Wunused-function] _ps_find_##resname##_by_name(PSDoc *p, const char *name) \ ^ pslib.c:380:1: note: in expansion of macro 'PS_FIND_RESOURCE_BY_NAME' PS_FIND_RESOURCE_BY_NAME(pattern, PSPattern) ^~~~~~~~~~~~~~~~~~~~~~~~ pslib.c:328:1: warning: '_ps_find_pattern' defined but not used [-Wunused-function] _ps_find_##resname(PSDoc *p, restype *ptr) \ ^ pslib.c:379:1: note: in expansion of macro 'PS_FIND_RESOURCE' PS_FIND_RESOURCE(pattern, PSPattern) ^~~~~~~~~~~~~~~~ pslib.c:312:1: warning: '_ps_unregister_pattern' defined but not used [-Wunused-function] _ps_unregister_##resname(PSDoc *p, int id) \ ^ pslib.c:378:1: note: in expansion of macro 'PS_UNREGISTER_RESOURCE' PS_UNREGISTER_RESOURCE(pattern, PSPattern) ^~~~~~~~~~~~~~~~~~~~~~ pslib.c:343:1: warning: '_ps_find_image_by_name' defined but not used [-Wunused-function] _ps_find_##resname##_by_name(PSDoc *p, const char *name) \ ^ pslib.c:375:1: note: in expansion of macro 'PS_FIND_RESOURCE_BY_NAME' PS_FIND_RESOURCE_BY_NAME(image, PSImage) ^~~~~~~~~~~~~~~~~~~~~~~~ pslib.c:328:1: warning: '_ps_find_image' defined but not used [-Wunused-function] _ps_find_##resname(PSDoc *p, restype *ptr) \ ^ pslib.c:374:1: note: in expansion of macro 'PS_FIND_RESOURCE' PS_FIND_RESOURCE(image, PSImage) ^~~~~~~~~~~~~~~~ pslib.c:343:1: warning: '_ps_find_font_by_name' defined but not used [-Wunused-function] _ps_find_##resname##_by_name(PSDoc *p, const char *name) \ ^ pslib.c:370:1: note: in expansion of macro 'PS_FIND_RESOURCE_BY_NAME' PS_FIND_RESOURCE_BY_NAME(font, PSFont) ^~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hash_table.lo hash_table.c libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hash_table.c -fPIC -DPIC -o .libs/hash_table.o /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hash_functions.lo hash_functions.c /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hyphen.lo hyphen.c libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hash_functions.c -fPIC -DPIC -o .libs/hash_functions.o /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hnjalloc.lo hnjalloc.c libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hyphen.c -fPIC -DPIC -o .libs/hyphen.o libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hnjalloc.c -fPIC -DPIC -o .libs/hnjalloc.o /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o bmp.lo bmp.c hyphen.c: In function 'hnj_hyphen_load': hyphen.c:260:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dict->cset, sizeof(dict->cset),f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c bmp.c -fPIC -DPIC -o .libs/bmp.o /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_inputenc.lo ps_inputenc.c libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_inputenc.c -fPIC -DPIC -o .libs/ps_inputenc.o bmp.c: In function 'read_bmp': bmp.c:308:3: warning: implicit declaration of function 'ps_error'; did you mean 'perror'? [-Wimplicit-function-declaration] ps_error(psdoc, PS_RuntimeError, _("Could not open bmp file.")); ^~~~~~~~ perror bmp.c:312:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, file_hdr.bType, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:322:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &file_hdr.iOffBits, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:334:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iSize, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:349:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iWidth, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:350:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iHeight, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:351:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iPlanes, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:352:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iBitCount, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:353:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iCompression, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:354:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iSizeImage, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:355:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iXPelsPerMeter, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:356:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iYPelsPerMeter, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:357:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iClrUsed, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:358:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iClrImportant, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:359:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iRedMask, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:360:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iGreenMask, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:361:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iBlueMask, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:362:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &info_hdr.iAlphaMask, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:395:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &iShort, 2); ^~~~~~~~~~~~~~~~~~~~ bmp.c:400:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &iShort, 2); ^~~~~~~~~~~~~~~~~~~~ bmp.c:405:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &iShort, 2); ^~~~~~~~~~~~~~~~~~~~ bmp.c:410:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &iShort, 2); ^~~~~~~~~~~~~~~~~~~~ bmp.c:452:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, clr_tbl, n_clr_elems * clr_tbl_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmp.c:592:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, comprbuf, compr_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_fontenc.lo ps_fontenc.c ps_inputenc.c:6:46: warning: missing braces around initializer [-Wmissing-braces] ENCODING inputencoding[NUM_INPUTENCODINGS] = {{ ^ ps_inputenc.c:6:46: warning: missing braces around initializer [-Wmissing-braces] ps_inputenc.c:6:46: warning: missing braces around initializer [-Wmissing-braces] /bin/sh ../libtool --tag=CC --mode=compile gcc -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"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ps_strbuf.lo ps_strbuf.c libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_fontenc.c -fPIC -DPIC -o .libs/ps_fontenc.o bmp.c:670:20: warning: 'clr_tbl_size' may be used uninitialized in this function [-Wmaybe-uninitialized] *color_table_size = clr_tbl_size; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ libtool: compile: gcc -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\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c ps_strbuf.c -fPIC -DPIC -o .libs/ps_strbuf.o pslib.c: In function 'PS_show2': pslib.c:2264:10: warning: 'ligdischar' may be used uninitialized in this function [-Wmaybe-uninitialized] ps_check_for_lig(psdoc, psdoc->font->metrics, ai, &textcpy[i+1], ligdischar, &newadobename, &offset)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pslib.c: In function 'PS_string_geometry': pslib.c:4294:9: warning: 'ligdischar' may be used uninitialized in this function [-Wmaybe-uninitialized] ps_check_for_lig(psdoc, psfont->metrics, ai, &text[i+1], ligdischar, &newadobename, &offset)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -version-info 4:5:4 -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -lpng -ljpeg -ltiff libtool: link: gcc -shared .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 -lpng -ljpeg -ltiff -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,libps.so.0 -o .libs/libps.so.0.4.5 libtool: link: (cd ".libs" && rm -f "libps.so.0" && ln -s "libps.so.0.4.5" "libps.so.0") libtool: link: (cd ".libs" && rm -f "libps.so" && ln -s "libps.so.0.4.5" "libps.so") libtool: link: ( cd ".libs" && rm -f "libps.la" && ln -s "../libps.la" "libps.la" ) make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/src' Making all in po make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/po' file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/po' make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5' make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5' make[1]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G5oAce + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 + cd pslib-0.4.5 + make install DESTDIR=/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 Making install in data make[1]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/data' make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/data' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/pslib" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/pslib" /usr/bin/install -c -m 644 grid.ps exectime.ps draft.ps '/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/pslib' make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/data' make[1]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/data' Making install in include make[1]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/include' make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/include' make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/include' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/include/libps mkdir -p -- /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/include/libps make[3]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/include' test -z "/usr/include/libps" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/include/libps" /usr/bin/install -c -m 644 libps/pslib.h libps/pslib-mp.h libps/psversion.h '/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/include/libps' make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/include' make[1]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/include' Making install in src make[1]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/src' make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/src' test -z "/usr/lib64" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -c libps.la '/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libps.so.0.4.5 /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64/libps.so.0.4.5 libtool: install: (cd /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64 && { ln -s -f libps.so.0.4.5 libps.so.0 || { rm -f libps.so.0 && ln -s libps.so.0.4.5 libps.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64 && { ln -s -f libps.so.0.4.5 libps.so || { rm -f libps.so && ln -s libps.so.0.4.5 libps.so; }; }) libtool: install: /usr/bin/install -c .libs/libps.lai /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64/libps.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/src' make[1]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/src' Making install in po make[1]: Entering directory '/builddir/build/BUILD/pslib-0.4.5/po' linguas="de "; \ for lang in $linguas; do \ dir=/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/locale/$lang/LC_MESSAGES; \ /bin/sh /builddir/build/BUILD/pslib-0.4.5/install-sh -d $dir; \ if test -r $lang.gmo; then \ /usr/bin/install -c -m 644 $lang.gmo $dir/pslib.mo; \ echo "installing $lang.gmo as $dir/pslib.mo"; \ else \ /usr/bin/install -c -m 644 ./$lang.gmo $dir/pslib.mo; \ echo "installing ./$lang.gmo as" \ "$dir/pslib.mo"; \ fi; \ if test -r $lang.gmo.m; then \ /usr/bin/install -c -m 644 $lang.gmo.m $dir/pslib.mo.m; \ echo "installing $lang.gmo.m as $dir/pslib.mo.m"; \ else \ if test -r ./$lang.gmo.m ; then \ /usr/bin/install -c -m 644 ./$lang.gmo.m \ $dir/pslib.mo.m; \ echo "installing ./$lang.gmo.m as" \ "$dir/pslib.mo.m"; \ else \ true; \ fi; \ fi; \ done installing de.gmo as /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/locale/de/LC_MESSAGES/pslib.mo make[1]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5/po' make[1]: Entering directory '/builddir/build/BUILD/pslib-0.4.5' make[2]: Entering directory '/builddir/build/BUILD/pslib-0.4.5' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/lib64/pkgconfig" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64/pkgconfig" /usr/bin/install -c -m 644 libps.pc '/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5' make[1]: Leaving directory '/builddir/build/BUILD/pslib-0.4.5' + find /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 pslib + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pslib-0.4.5-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mbzhqS + umask 022 + cd /builddir/build/BUILD + cd pslib-0.4.5 + DOCDIR=/builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/doc/pslib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/doc/pslib + cp -pr AUTHORS /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/doc/pslib + cp -pr ChangeLog /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/doc/pslib + cp -pr COPYING /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/doc/pslib + cp -pr README /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64/usr/share/doc/pslib + exit 0 Provides: libps.so.0()(64bit) pslib = 0.4.5-15.fc28 pslib(riscv-64) = 0.4.5-15.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) rtld(GNU_HASH) Processing files: pslib-devel-0.4.5-15.fc28.riscv64 Provides: pkgconfig(libps) = 0.4.5 pslib-devel = 0.4.5-15.fc28 pslib-devel(riscv-64) = 0.4.5-15.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libps.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 Wrote: /builddir/build/SRPMS/pslib-0.4.5-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pslib-0.4.5-15.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/pslib-devel-0.4.5-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QCdEcZ + umask 022 + cd /builddir/build/BUILD + cd pslib-0.4.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pslib-0.4.5-15.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff