+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pnm2ppa.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: Thu Aug 16 2000 Bill Nottingham warning: bogus date in %changelog: Thu Jan 7 2000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L4x4bc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pnm2ppa-1.04 + /usr/bin/gzip -dc /builddir/build/SOURCES/pnm2ppa-1.04.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pnm2ppa-1.04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + /usr/bin/gzip -dc /builddir/build/SOURCES/ppa-0.8.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (pbm2ppa-20000205.diff):' Patch #2 (pbm2ppa-20000205.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .20000205 --fuzz=0 patching file pbm2ppa-0.8.6/CALIBRATION patching file pbm2ppa-0.8.6/defaults.1000.h patching file pbm2ppa-0.8.6/defaults.720.h patching file pbm2ppa-0.8.6/defaults.820.h patching file pbm2ppa-0.8.6/defaults.h patching file pbm2ppa-0.8.6/INSTALL patching file pbm2ppa-0.8.6/INSTALL-MORE patching file pbm2ppa-0.8.6/Makefile patching file pbm2ppa-0.8.6/pbm2ppa.1 patching file pbm2ppa-0.8.6/pbm2ppa.c patching file pbm2ppa-0.8.6/pbm2ppa.conf patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp1000 patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp720 patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp820 patching file pbm2ppa-0.8.6/pbmtpg.c patching file pbm2ppa-0.8.6/README.REDHAT + echo 'Patch #3 (pnm2ppa-redhat.patch):' Patch #3 (pnm2ppa-redhat.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh --fuzz=0 patching file Makefile patching file pbm2ppa-0.8.6/Makefile patching file pnm2ppa.conf + echo 'Patch #4 (pnm2ppa-coverity-return-local.patch):' Patch #4 (pnm2ppa-coverity-return-local.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity-return-local --fuzz=0 patching file calibrate_ppa.c patching file pnm2ppa.c + for file in docs/en/LICENSE pbm2ppa-0.8.6/LICENSE + sed 's|\r||g' docs/en/LICENSE + touch -r docs/en/LICENSE docs/en/LICENSE.new + mv docs/en/LICENSE.new docs/en/LICENSE + for file in docs/en/LICENSE pbm2ppa-0.8.6/LICENSE + sed 's|\r||g' pbm2ppa-0.8.6/LICENSE + touch -r pbm2ppa-0.8.6/LICENSE pbm2ppa-0.8.6/LICENSE.new + mv pbm2ppa-0.8.6/LICENSE.new pbm2ppa-0.8.6/LICENSE + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EgdjfB + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + make -j4 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 -DNDEBUG -DLANG_EN -c pnm2ppa.c 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 -DNDEBUG -DLANG_EN -c syslog.c 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 -DNDEBUG -DLANG_EN -c ppa.c 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 -DNDEBUG -DLANG_EN -c image.c 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 -DNDEBUG -DLANG_EN -c dither.c pnm2ppa.c: In function 'print_pnm': pnm2ppa.c:117:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 1024, fptr); ^~~~~~~~~~~~~~~~~~~~~~~~ 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 -DNDEBUG -DLANG_EN -c cutswath.c 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 -DNDEBUG -DLANG_EN -o make_hash_ink make_hash_ink.c 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 -DNDEBUG -DLANG_EN -c gamma.c make_hash_ink.c: In function 'main': make_hash_ink.c:237:9: warning: variable 'new_dmin' set but not used [-Wunused-but-set-variable] int new_dmin = 0; ^~~~~~~~ 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 -DNDEBUG -DLANG_EN -c calibrate_ppa.c 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 -DNDEBUG -DLANG_EN -c pnmtools.c ./make_hash_ink 4 3 > hash_ink.c ./make_hash_ink 1 5 >> hash_ink.c 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 -DNDEBUG -DLANG_EN -c hash_ink.c gcc -lm -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 -DNDEBUG -DLANG_EN -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o gcc -lm -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 -DNDEBUG -DLANG_EN -o pnm2ppa pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o hash_ink.o gamma.o + pushd pbm2ppa-0.8.6 ~/build/BUILD/pnm2ppa-1.04/pbm2ppa-0.8.6 ~/build/BUILD/pnm2ppa-1.04 + make -j4 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 -DDEFAULT_PRINTER=HP720 -c pbm2ppa.c 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 -DDEFAULT_PRINTER=HP720 -c ppa.c 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 -DDEFAULT_PRINTER=HP720 -c pbm.c 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 -DDEFAULT_PRINTER=HP720 -c cutswath.c ppa.c: In function 'ppa_print_sweep': ppa.c:394:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pc=data->image_data; ^ ppa.c:403:23: warning: pointer targets in passing argument 1 of 'compress' differ in signedness [-Wpointer-sign] datasize=compress(data->image_data,data->nozzle_data->pins_used_d2,datasize,pc); ^~~~ ppa.c:281:5: note: expected 'char *' but argument is of type 'unsigned char *' int compress(char *in, int num_lines_d2, int final_len, char *iout) ^~~~~~~~ In file included from pbm.c:15:0: pbm.h:28:7: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif; ^ pbm.c: In function 'getbytes': pbm.c:55:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(mask=0x80, acc=0, num=0, place=data; num