+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/efax.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7Nxsth + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efax-0.9a-001114 + /usr/bin/gzip -dc /builddir/build/SOURCES/efax-0.9a-001114.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd efax-0.9a-001114 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (efax-0.9-config.patch):' Patch #0 (efax-0.9-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .config --fuzz=0 patching file Makefile patching file fax + echo 'Patch #1 (efax-0.9-numlines.patch):' Patch #1 (efax-0.9-numlines.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .numlines --fuzz=0 patching file efix.c Hunk #1 succeeded at 298 (offset 1 line). Hunk #2 succeeded at 311 (offset 1 line). + echo 'Patch #2 (efax08a-time.patch):' Patch #2 (efax08a-time.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .time --fuzz=0 patching file efaxio.c + echo 'Patch #3 (efax-0.9-manpage.patch):' Patch #3 (efax-0.9-manpage.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .manpage --fuzz=0 patching file efax.1 + echo 'Patch #5 (efax-0.9-nullptr.patch):' Patch #5 (efax-0.9-nullptr.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nullptr --fuzz=0 patching file efax.c Hunk #1 succeeded at 2230 (offset 44 lines). patching file efaxos.c + echo 'Patch #6 (efax-0.9-misc.patch):' Patch #6 (efax-0.9-misc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .misc --fuzz=0 patching file efax.c Hunk #1 succeeded at 763 (offset 4 lines). + echo 'Patch #7 (efax-0.9-viewcmd.patch):' Patch #7 (efax-0.9-viewcmd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .viewcmd --fuzz=0 patching file fax + echo 'Patch #8 (efax-0.9-quote.patch):' Patch #8 (efax-0.9-quote.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .quote --fuzz=0 patching file fax Hunk #1 succeeded at 885 (offset 23 lines). + echo 'Patch #9 (efax-0.9-msg-va_list.patch):' Patch #9 (efax-0.9-msg-va_list.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .msg-va_list --fuzz=0 patching file efaxmsg.c + echo 'Patch #10 (efax-0.9a-001114-crash.patch):' Patch #10 (efax-0.9a-001114-crash.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .crash --fuzz=0 patching file efix.c + echo 'Patch #11 (efax-0.9-pdf.patch):' Patch #11 (efax-0.9-pdf.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pdf --fuzz=0 patching file fax + echo 'Patch #12 (efax-0.9a-001114-format-security.patch):' Patch #12 (efax-0.9a-001114-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 patching file efaxlib.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.olXPVU + umask 022 + cd /builddir/build/BUILD + cd efax-0.9a-001114 + make -j4 'RPM_OPT_FLAGS=-ansi -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 -fno-strict-aliasing' gcc -ansi -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 -fno-strict-aliasing -c efax.c gcc -ansi -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 -fno-strict-aliasing -c efaxlib.c gcc -ansi -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 -fno-strict-aliasing -c efaxio.c gcc -ansi -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 -fno-strict-aliasing -c efaxos.c efaxio.c: In function 'cmd': efaxio.c:251:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] tput ( f, buf, strlen(buf) ) ; ^~~ In file included from efaxio.h:4:0, from efaxio.c:7: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ In file included from efaxio.c:7:0: efaxio.c: In function 'modemsync': efaxio.h:12:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define CAN_STR "\030" /* CAN (cancel reception) string */ ^ efaxio.c:325:17: note: in expansion of macro 'CAN_STR' tput ( f, CAN_STR, 1 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efaxio.c:7: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ In file included from efaxio.c:7:0: efaxio.h:11:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ ^ efaxio.c:326:17: note: in expansion of macro 'DLE_ETX' tput ( f, DLE_ETX, 2 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efaxio.c:7: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ In file included from efaxio.c:7:0: efaxio.h:12:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define CAN_STR "\030" /* CAN (cancel reception) string */ ^ efaxio.c:329:17: note: in expansion of macro 'CAN_STR' tput ( f, CAN_STR, 1 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efaxio.c:7: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ In file included from efaxio.c:7:0: efaxio.h:11:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ ^ efaxio.c:330:17: note: in expansion of macro 'DLE_ETX' tput ( f, DLE_ETX, 2 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efaxio.c:7: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ efaxio.c:332:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] tput ( f, "+++", 3 ) ; ^~~~~ In file included from efaxio.h:4:0, from efaxio.c:7: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ efaxlib.c: In function 'readline': efaxlib.c:608:22: warning: pointer targets in passing argument 1 of 'readpcx' differ in signedness [-Wpointer-sign] if ( readpcx ( bits, nb, f ) != 0 ) { ^~~~ efaxlib.c:525:5: note: expected 'char *' but argument is of type 'unsigned char *' int readpcx ( char *p, int len, IFILE *f ) ^~~~~~~ efaxlib.c: In function 'getformat': efaxlib.c:648:32: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( ! format && ! strncmp ( p, "P4", 2 ) ) { ^ In file included from efaxlib.c:8:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ efaxlib.c:661:32: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( ! format && ! strncmp ( p, "%!", 2 ) ) { ^ In file included from efaxlib.c:8:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ efaxlib.c: In function 'tiff_next': efaxlib.c:826:29: warning: pointer targets in passing argument 1 of 'fread4' differ in signedness [-Wpointer-sign] err = err || fread4 ( &a, f ) ; ^ efaxlib.c:773:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int fread4 ( unsigned long *p, IFILE *f ) ^~~~~~ efaxlib.c:827:29: warning: pointer targets in passing argument 1 of 'fread4' differ in signedness [-Wpointer-sign] err = err || fread4 ( &b, f ) ; ^ efaxlib.c:773:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int fread4 ( unsigned long *p, IFILE *f ) ^~~~~~ efaxlib.c:908:19: warning: pointer targets in passing argument 1 of 'fread4' differ in signedness [-Wpointer-sign] if ( fread4 ( &(f->next), f ) ) { ^ efaxlib.c:773:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int fread4 ( unsigned long *p, IFILE *f ) ^~~~~~ efaxlib.c: In function 'tiff_first': efaxlib.c:935:12: warning: pointer targets in passing argument 1 of 'fread2' differ in signedness [-Wpointer-sign] fread2 ( &version, f ) ; ^ efaxlib.c:759:5: note: expected 'short unsigned int *' but argument is of type 'short int *' int fread2 ( unsigned short *p, IFILE *f ) ^~~~~~ efaxlib.c:936:12: warning: pointer targets in passing argument 1 of 'fread4' differ in signedness [-Wpointer-sign] fread4 ( &(f->next), f ) ; ^ efaxlib.c:773:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int fread4 ( unsigned long *p, IFILE *f ) ^~~~~~ efax.c: In function 'end_data': efax.c:708:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( ! ppm ) p = DLE_ETX ; ^ efax.c:709:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ( ppm == MPS ) p = "\020," ; ^ efax.c:710:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ( ppm == EOM ) p = "\020;" ; ^ efax.c:711:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ( ppm == EOP ) p = "\020." ; ^ efax.c:713:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = "" ; ^ efaxlib.c: In function 'dcx_next': efaxlib.c:1084:12: warning: pointer targets in passing argument 1 of 'fread4' differ in signedness [-Wpointer-sign] fread4 ( &thisp, f ) ; ^ efaxlib.c:773:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int fread4 ( unsigned long *p, IFILE *f ) ^~~~~~ efaxlib.c:1085:12: warning: pointer targets in passing argument 1 of 'fread4' differ in signedness [-Wpointer-sign] fread4 ( &nextp, f ) ; ^ efaxlib.c:773:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int fread4 ( unsigned long *p, IFILE *f ) ^~~~~~ In file included from efax.c:74:0: efax.c: In function 'receive_data': efaxio.h:12:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define CAN_STR "\030" /* CAN (cancel reception) string */ ^ efax.c:851:18: note: in expansion of macro 'CAN_STR' tput ( mf, CAN_STR, 1 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efax.c:74: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ In file included from efax.c:74:0: efax.c: In function 'puttrain': efaxio.h:11:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ ^ efax.c:910:15: note: in expansion of macro 'DLE_ETX' tput ( f, DLE_ETX, 2 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efax.c:74: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ In file included from efax.c:74:0: efax.c: In function 'putframe': efaxio.h:11:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ ^ efax.c:1012:15: note: in expansion of macro 'DLE_ETX' tput ( f, DLE_ETX, 2 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efax.c:74: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ In file included from efax.c:74:0: efax.c: In function 'getfr': efaxio.h:12:17: warning: pointer targets in passing argument 2 of 'tput' differ in signedness [-Wpointer-sign] #define CAN_STR "\030" /* CAN (cancel reception) string */ ^ efax.c:1147:16: note: in expansion of macro 'CAN_STR' tput ( mf, CAN_STR, 1 ) ; ^~~~~~~ In file included from efaxio.h:4:0, from efax.c:74: efaxos.h:57:5: note: expected 'unsigned char *' but argument is of type 'char *' int tput ( TFILE *f, unsigned char *p, int n ) ; ^~~~ efax.c: In function 'c1sndrcv': efax.c:1216:7: warning: variable 'rxdislen' set but not used [-Wunused-but-set-variable] int rxdislen, ppm, try=0, pagetry=0, retry=0, remtx=0, remrx=0 ; ^~~~~~~~ efaxos.c: In function 'ttlocked': efaxos.c:372:10: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] if ( kill ( pid, 0 ) && errno == ESRCH ) { ^~~~ efax.c: In function 'c2sndrcv': efax.c:1665:7: warning: variable 'remtx' set but not used [-Wunused-but-set-variable] int remtx=0 ; ^~~~~ efaxlib.c: In function 'tiff_first': efaxlib.c:933:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( (uchar*) &magic, 1, 2, f->f ) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -ansi -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 -fno-strict-aliasing -c efaxmsg.c gcc -ansi -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 -fno-strict-aliasing -c efix.c gcc -o efax efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o gcc -o efix efix.o efaxlib.o efaxmsg.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.203fPs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64 + cd efax-0.9a-001114 + rm -rf /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/var/spool/fax + mkdir -p /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/var/log/fax + make BINDIR=/builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/bin MANDIR=/builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/man install cp fax efax efix /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/bin chmod 755 /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/bin/fax /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/bin/efax /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/bin/efix cp fax.1 efax.1 efix.1 /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/man/man1 chmod 644 /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/man/man1/fax.1 /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/man/man1/efax.1 \ /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/man/man1/efix.1 + mkdir -p /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/etc/logrotate.d/ + install -c -m 644 /builddir/build/SOURCES/logrotate-efax /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/etc/logrotate.d/efax + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/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: efax-0.9a-26.001114.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LTeY2M + umask 022 + cd /builddir/build/BUILD + cd efax-0.9a-001114 + DOCDIR=/builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/doc/efax + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/doc/efax + cp -pr README /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/doc/efax + cp -pr COPYING /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64/usr/share/doc/efax + exit 0 Provides: config(efax) = 0.9a-26.001114.fc28 efax = 0.9a-26.001114.fc28 efax(riscv-64) = 0.9a-26.001114.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh 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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/efax-0.9a-26.001114.fc28.riscv64 Wrote: /builddir/build/SRPMS/efax-0.9a-26.001114.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/efax-0.9a-26.001114.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fffhTn + umask 022 + cd /builddir/build/BUILD + cd efax-0.9a-001114 + rm -rf /builddir/build/BUILDROOT/efax-0.9a-26.001114.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