Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/efax.spec'], chrootPath='/var/lib/mock/f40-build-753612-117293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/efax.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (13 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Wrote: /builddir/build/SRPMS/efax-0.9a-41.001114.fc40.src.rpm RPM build warnings: %patchN is deprecated (13 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/efax.spec'], chrootPath='/var/lib/mock/f40-build-753612-117293/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/efax.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (13 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oPGqF7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf efax-0.9a-001114 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/efax-0.9a-001114.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd efax-0.9a-001114 + rm -rf /builddir/build/BUILD/efax-0.9a-001114-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/efax-0.9a-001114-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (efax-0.9-config.patch): + echo 'Patch #0 (efax-0.9-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file Makefile patching file fax Patch #1 (efax-0.9-numlines.patch): + echo 'Patch #1 (efax-0.9-numlines.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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). Patch #2 (efax08a-time.patch): + echo 'Patch #2 (efax08a-time.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .time --fuzz=0 patching file efaxio.c Patch #3 (efax-0.9-manpage.patch): + echo 'Patch #3 (efax-0.9-manpage.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .manpage --fuzz=0 patching file efax.1 Patch #5 (efax-0.9-nullptr.patch): + echo 'Patch #5 (efax-0.9-nullptr.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nullptr --fuzz=0 patching file efax.c Hunk #1 succeeded at 2230 (offset 44 lines). patching file efaxos.c Patch #6 (efax-0.9-misc.patch): + echo 'Patch #6 (efax-0.9-misc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .misc --fuzz=0 patching file efax.c Hunk #1 succeeded at 763 (offset 4 lines). Patch #7 (efax-0.9-viewcmd.patch): + echo 'Patch #7 (efax-0.9-viewcmd.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .viewcmd --fuzz=0 patching file fax Patch #8 (efax-0.9-quote.patch): + echo 'Patch #8 (efax-0.9-quote.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .quote --fuzz=0 patching file fax Hunk #1 succeeded at 885 (offset 23 lines). Patch #9 (efax-0.9-msg-va_list.patch): + echo 'Patch #9 (efax-0.9-msg-va_list.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .msg-va_list --fuzz=0 patching file efaxmsg.c Patch #10 (efax-0.9a-001114-crash.patch): + echo 'Patch #10 (efax-0.9a-001114-crash.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .crash --fuzz=0 patching file efix.c Patch #11 (efax-0.9-pdf.patch): + echo 'Patch #11 (efax-0.9-pdf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .pdf --fuzz=0 patching file fax Patch #12 (efax-0.9a-001114-format-security.patch): + echo 'Patch #12 (efax-0.9a-001114-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file efaxlib.c Patch #13 (efax-0.9a-001114-multiple-definition.patch): + echo 'Patch #13 (efax-0.9a-001114-multiple-definition.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multiple-definition --fuzz=0 patching file efaxlib.c patching file efaxlib.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rOuRD4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd efax-0.9a-001114 + make -j4 'RPM_OPT_FLAGS=-ansi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-strict-aliasing' gcc -ansi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-strict-aliasing -c efax.c gcc -ansi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-strict-aliasing -c efaxlib.c gcc -ansi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-strict-aliasing -c efaxio.c gcc -ansi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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] 251 | tput ( f, buf, strlen(buf) ) ; | ^~~ | | | char * In file included from efaxio.h:4, from efaxio.c:7: efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efaxio.c: In function ‘modemsync’: efaxio.h:12:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 12 | #define CAN_STR "\030" /* CAN (cancel reception) string */ | ^~~~~~ | | | char * efaxio.c:325:17: note: in expansion of macro ‘CAN_STR’ 325 | tput ( f, CAN_STR, 1 ) ; | ^~~~~~~ efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efaxio.h:11:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 11 | #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ | ^~~~~~~~~~ | | | char * efaxio.c:326:17: note: in expansion of macro ‘DLE_ETX’ 326 | tput ( f, DLE_ETX, 2 ) ; | ^~~~~~~ efax.c: In function ‘end_data’: efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efax.c:708:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 708 | if ( ! ppm ) p = DLE_ETX ; | ^ efaxio.h:12:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 12 | #define CAN_STR "\030" /* CAN (cancel reception) string */ | ^~~~~~ | | | char * efaxio.c:329:17: note: in expansion of macro ‘CAN_STR’ 329 | tput ( f, CAN_STR, 1 ) ; | ^~~~~~~ efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efax.c:709:28: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 709 | else if ( ppm == MPS ) p = "\020," ; | ^ efaxio.h:11:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 11 | #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ | ^~~~~~~~~~ | | | char * efaxio.c:330:17: note: in expansion of macro ‘DLE_ETX’ 330 | tput ( f, DLE_ETX, 2 ) ; | ^~~~~~~ efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efax.c:710:28: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 710 | else if ( ppm == EOM ) p = "\020;" ; | ^ efaxio.c:332:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 332 | tput ( f, "+++", 3 ) ; | ^~~~~ | | | char * efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efax.c:711:28: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 711 | else if ( ppm == EOP ) p = "\020." ; | ^ efax.c:713:7: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 713 | p = "" ; | ^ In file included from efax.c:74: efax.c: In function ‘receive_data’: efaxio.h:12:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 12 | #define CAN_STR "\030" /* CAN (cancel reception) string */ | ^~~~~~ | | | char * efax.c:851:18: note: in expansion of macro ‘CAN_STR’ 851 | tput ( mf, CAN_STR, 1 ) ; | ^~~~~~~ In file included from efaxio.h:4: efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efax.c: In function ‘puttrain’: efaxio.h:11:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 11 | #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ | ^~~~~~~~~~ | | | char * efax.c:910:15: note: in expansion of macro ‘DLE_ETX’ 910 | tput ( f, DLE_ETX, 2 ) ; | ^~~~~~~ efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efax.c: In function ‘putframe’: efaxio.h:11:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 11 | #define DLE_ETX "\020\003" /* DLE-ETX (end of data) string */ | ^~~~~~~~~~ | | | char * efax.c:1012:15: note: in expansion of macro ‘DLE_ETX’ 1012 | tput ( f, DLE_ETX, 2 ) ; | ^~~~~~~ efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | int tput ( TFILE *f, unsigned char *p, int n ) ; | ~~~~~~~~~~~~~~~^ efax.c: In function ‘getfr’: efaxio.h:12:17: warning: pointer targets in passing argument 2 of ‘tput’ differ in signedness [-Wpointer-sign] 12 | #define CAN_STR "\030" /* CAN (cancel reception) string */ | ^~~~~~ | | | char * efax.c:1147:16: note: in expansion of macro ‘CAN_STR’ 1147 | tput ( mf, CAN_STR, 1 ) ; | ^~~~~~~ efaxos.h:57:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 57 | 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] 1216 | int rxdislen, ppm, try=0, pagetry=0, retry=0, remtx=0, remrx=0 ; | ^~~~~~~~ efax.c: In function ‘c2sndrcv’: efax.c:1665:7: warning: variable ‘remtx’ set but not used [-Wunused-but-set-variable] 1665 | int remtx=0 ; | ^~~~~ efaxlib.c: In function ‘readline’: efaxlib.c:610:22: warning: pointer targets in passing argument 1 of ‘readpcx’ differ in signedness [-Wpointer-sign] 610 | if ( readpcx ( bits, nb, f ) != 0 ) { | ^~~~ | | | unsigned char * efaxlib.c:527:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 527 | int readpcx ( char *p, int len, IFILE *f ) | ~~~~~~^ efaxlib.c: In function ‘getformat’: efaxlib.c:650:32: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 650 | if ( ! format && ! strncmp ( p, "P4", 2 ) ) { | ^ | | | unsigned char * In file included from efaxlib.c:8: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ efaxlib.c:663:32: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 663 | if ( ! format && ! strncmp ( p, "%!", 2 ) ) { | ^ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ efaxlib.c: In function ‘tiff_next’: efaxlib.c:828:29: warning: pointer targets in passing argument 1 of ‘fread4’ differ in signedness [-Wpointer-sign] 828 | err = err || fread4 ( &a, f ) ; | ^~ | | | long int * efaxlib.c:775:29: note: expected ‘long unsigned int *’ but argument is of type ‘long int *’ 775 | int fread4 ( unsigned long *p, IFILE *f ) | ~~~~~~~~~~~~~~~^ efaxlib.c:829:29: warning: pointer targets in passing argument 1 of ‘fread4’ differ in signedness [-Wpointer-sign] 829 | err = err || fread4 ( &b, f ) ; | ^~ | | | long int * efaxlib.c:775:29: note: expected ‘long unsigned int *’ but argument is of type ‘long int *’ 775 | int fread4 ( unsigned long *p, IFILE *f ) | ~~~~~~~~~~~~~~~^ efaxlib.c:910:19: warning: pointer targets in passing argument 1 of ‘fread4’ differ in signedness [-Wpointer-sign] 910 | if ( fread4 ( &(f->next), f ) ) { | ^~~~~~~~~~ | | | long int * efaxlib.c:775:29: note: expected ‘long unsigned int *’ but argument is of type ‘long int *’ 775 | int fread4 ( unsigned long *p, IFILE *f ) | ~~~~~~~~~~~~~~~^ efaxos.c: In function ‘ttlocked’: efaxos.c:372:10: error: implicit declaration of function ‘kill’ [-Werror=implicit-function-declaration] 372 | if ( kill ( pid, 0 ) && errno == ESRCH ) { | ^~~~ efaxlib.c: In function ‘tiff_first’: efaxlib.c:937:12: warning: pointer targets in passing argument 1 of ‘fread2’ differ in signedness [-Wpointer-sign] 937 | fread2 ( &version, f ) ; | ^~~~~~~~ | | | short int * efaxlib.c:761:30: note: expected ‘short unsigned int *’ but argument is of type ‘short int *’ 761 | int fread2 ( unsigned short *p, IFILE *f ) | ~~~~~~~~~~~~~~~~^ efaxlib.c:938:12: warning: pointer targets in passing argument 1 of ‘fread4’ differ in signedness [-Wpointer-sign] 938 | fread4 ( &(f->next), f ) ; | ^~~~~~~~~~ | | | long int * efaxlib.c:775:29: note: expected ‘long unsigned int *’ but argument is of type ‘long int *’ 775 | int fread4 ( unsigned long *p, IFILE *f ) | ~~~~~~~~~~~~~~~^ efaxlib.c: In function ‘dcx_next’: efaxlib.c:1086:12: warning: pointer targets in passing argument 1 of ‘fread4’ differ in signedness [-Wpointer-sign] 1086 | fread4 ( &thisp, f ) ; | ^~~~~~ | | | long int * efaxlib.c:775:29: note: expected ‘long unsigned int *’ but argument is of type ‘long int *’ 775 | int fread4 ( unsigned long *p, IFILE *f ) | ~~~~~~~~~~~~~~~^ efaxlib.c:1087:12: warning: pointer targets in passing argument 1 of ‘fread4’ differ in signedness [-Wpointer-sign] 1087 | fread4 ( &nextp, f ) ; | ^~~~~~ | | | long int * efaxlib.c:775:29: note: expected ‘long unsigned int *’ but argument is of type ‘long int *’ 775 | int fread4 ( unsigned long *p, IFILE *f ) | ~~~~~~~~~~~~~~~^ efaxlib.c: In function ‘tiff_first’: efaxlib.c:935:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 935 | fread ( (uchar*) &magic, 1, 2, f->f ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -ansi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fno-strict-aliasing -c efaxmsg.c cc1: some warnings being treated as errors make: *** [Makefile:22: efaxos.o] Error 1 make: *** Waiting for unfinished jobs.... efaxlib.c: In function ‘tiff_next’: efaxlib.c:819:10: warning: ‘a’ may be used uninitialized [-Wmaybe-uninitialized] 819 | tv = a ; | ~~~^~~ efaxlib.c:816:22: note: ‘a’ declared here 816 | unsigned short a, b ; | ^ efaxlib.c:819:10: warning: ‘a’ may be used uninitialized [-Wmaybe-uninitialized] 819 | tv = a ; | ~~~^~~ efaxlib.c:816:22: note: ‘a’ declared here 816 | unsigned short a, b ; | ^ error: Bad exit status from /var/tmp/rpm-tmp.rOuRD4 (%build) RPM build warnings: %patchN is deprecated (13 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rOuRD4 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/efax.spec