Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/pnm2ppa.spec'], False, '/srv/build/7/B/mock-root/c7.00.03-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/pnm2ppa.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Thu Aug 16 2000 Bill Nottingham warning: bogus date in %changelog: Thu Jan 7 2000 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pnm2ppa-1.04-28.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/pnm2ppa.spec'], False, '/srv/build/7/B/mock-root/c7.00.03-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/pnm2ppa.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XxflKO warning: bogus date in %changelog: Thu Aug 16 2000 Bill Nottingham warning: bogus date in %changelog: Thu Jan 7 2000 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pnm2ppa-1.04 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/pnm2ppa-1.04.tar.gz + 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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #2 (pbm2ppa-20000205.diff): + echo 'Patch #2 (pbm2ppa-20000205.diff):' + /usr/bin/patch -p0 -b --suffix .20000205 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/pbm2ppa-20000205.diff 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/cat /builddir/build/SOURCES/pnm2ppa-redhat.patch + /usr/bin/patch -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 -p1 -b --suffix .coverity-return-local --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/pnm2ppa-coverity-return-local.patch 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.wkfvC9 + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + make -j16 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c pnm2ppa.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c syslog.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c ppa.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c image.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c dither.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c cutswath.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -o make_hash_ink make_hash_ink.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c gamma.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c calibrate_ppa.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c pnmtools.c pnm2ppa.c: In function 'print_pnm': pnm2ppa.c:117:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 1024, fptr); ^ 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; ^ ./make_hash_ink 4 3 > hash_ink.c gcc -lm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o ./make_hash_ink 1 5 >> hash_ink.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -c hash_ink.c gcc -lm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DNDEBUG -DLANG_EN -o pnm2ppa pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o hash_ink.o gamma.o ~/build/BUILD/pnm2ppa-1.04/pbm2ppa-0.8.6 ~/build/BUILD/pnm2ppa-1.04 + pushd pbm2ppa-0.8.6 + make -j16 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DDEFAULT_PRINTER=HP720 -c pbm2ppa.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DDEFAULT_PRINTER=HP720 -c ppa.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DDEFAULT_PRINTER=HP720 -c pbm.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DDEFAULT_PRINTER=HP720 -c cutswath.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DDEFAULT_PRINTER=HP720 -c pbmtpg.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:5: 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 pbm2ppa.c:13:0: pbm.h:28:7: warning: extra tokens at end of #endif directive [enabled by default] #endif; ^ In file included from cutswath.c:16:0: pbm.h:28:7: warning: extra tokens at end of #endif directive [enabled by default] #endif; ^ cutswath.c: In function 'cut_pbm_swath': cutswath.c:53:5: warning: pointer targets in passing argument 2 of 'pbm_readline' differ in signedness [-Wpointer-sign] if(!pbm_readline(pbm,data)) ^ In file included from cutswath.c:16:0: pbm.h:25:5: note: expected 'char *' but argument is of type 'unsigned char *' int pbm_readline(pbm_stat*,char*); /* reads a single line into char* */ ^ cutswath.c:64:7: warning: pointer targets in passing argument 2 of 'pbm_readline' differ in signedness [-Wpointer-sign] if(!pbm_readline(pbm,data)) ^ In file included from cutswath.c:16:0: pbm.h:25:5: note: expected 'char *' but argument is of type 'unsigned char *' int pbm_readline(pbm_stat*,char*); /* reads a single line into char* */ ^ cutswath.c:82:5: warning: pointer targets in passing argument 2 of 'pbm_readline' differ in signedness [-Wpointer-sign] if(!pbm_readline(pbm,data+width8*numlines)) ^ In file included from cutswath.c:16:0: pbm.h:25:5: note: expected 'char *' but argument is of type 'unsigned char *' int pbm_readline(pbm_stat*,char*); /* reads a single line into char* */ ^ cutswath.c:164:2: warning: pointer targets in passing argument 2 of 'pbm_readline' differ in signedness [-Wpointer-sign] if(!pbm_readline(pbm,data)) ^ In file included from cutswath.c:16:0: pbm.h:25:5: note: expected 'char *' but argument is of type 'unsigned char *' int pbm_readline(pbm_stat*,char*); /* reads a single line into char* */ ^ cutswath.c:184:7: warning: pointer targets in passing argument 2 of 'pbm_readline' differ in signedness [-Wpointer-sign] if(!pbm_readline(pbm,data+width8*numlines)) ^ In file included from cutswath.c:16:0: pbm.h:25:5: note: expected 'char *' but argument is of type 'unsigned char *' int pbm_readline(pbm_stat*,char*); /* reads a single line into char* */ ^ pbm2ppa.c: In function 'print_pbm': pbm2ppa.c:108:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 1024, in); ^ In file included from pbm.c:15:0: pbm.h:28:7: warning: extra tokens at end of #endif directive [enabled by default] #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