Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sendmail.spec'], chrootPath='/var/lib/mock/f31-build-51768-27527/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sendmail.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/sendmail-8.15.2-37.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sendmail.spec'], chrootPath='/var/lib/mock/f31-build-51768-27527/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sendmail.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YnlKMX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sendmail-8.15.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/sendmail.8.15.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sendmail-8.15.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (sendmail-8.14.4-makemapman.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makemapman --fuzz=0 + echo 'Patch #4 (sendmail-8.14.3-smrsh_paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .smrsh_paths --fuzz=0 + echo 'Patch #7 (sendmail-8.14.9-pid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pid --fuzz=0 + echo 'Patch #10 (sendmail-8.15.1-manpage.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpage --fuzz=0 + echo 'Patch #11 (sendmail-8.15.1-dynamic.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dynamic --fuzz=0 + echo 'Patch #12 (sendmail-8.13.0-cyrus.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cyrus --fuzz=0 + echo 'Patch #13 (sendmail-8.15.1-aliases_dir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aliases_dir --fuzz=0 + echo 'Patch #14 (sendmail-8.14.9-vacation.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .vacation --fuzz=0 + echo 'Patch #15 (sendmail-8.14.9-noversion.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .noversion --fuzz=0 + echo 'Patch #16 (sendmail-8.15.2-localdomain.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .localdomain --fuzz=0 + cp devtools/M4/UNIX/library.m4 devtools/M4/UNIX/sharedlibrary.m4 + echo 'Patch #17 (sendmail-8.14.3-sharedmilter.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sharedmilter --fuzz=0 + echo 'Patch #18 (sendmail-8.15.2-switchfile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .switchfile --fuzz=0 + echo 'Patch #23 (sendmail-8.14.8-sasl2-in-etc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sasl2-in-etc --fuzz=0 + echo 'Patch #25 (sendmail-8.15.2-qos.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .qos --fuzz=0 + echo 'Patch #26 (sendmail-8.15.2-libmilter-socket-activation.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libmilter-socket-activation --fuzz=0 + echo 'Patch #27 (sendmail-8.15.2-smtp-session-reuse-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .smtp-session-reuse-fix --fuzz=0 + echo 'Patch #28 (sendmail-8.15.2-openssl-1.1.0-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl-1.1.0-fix --fuzz=0 + echo 'Patch #29 (sendmail-8.15.2-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 + echo 'Patch #30 (sendmail-8.15.2-openssl-1.1.0-ecdhe-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl-1.1.0-ecdhe-fix --fuzz=0 + for f in RELEASE_NOTES contrib/etrn.0 + iconv -f iso8859-1 -t utf8 -o RELEASE_NOTES_ RELEASE_NOTES + touch -r RELEASE_NOTES RELEASE_NOTES_ + mv -f RELEASE_NOTES_ RELEASE_NOTES + for f in RELEASE_NOTES contrib/etrn.0 + iconv -f iso8859-1 -t utf8 -o contrib/etrn.0_ contrib/etrn.0 + touch -r contrib/etrn.0 contrib/etrn.0_ + mv -f contrib/etrn.0_ contrib/etrn.0 + sed -i 's|/usr/local/bin/perl|/usr/bin/perl|' contrib/bounce-resender.pl contrib/doublebounce.pl contrib/etrn.pl contrib/expn.pl contrib/movemail.pl contrib/passwd-to-alias.pl contrib/qtool.pl contrib/re-mqueue.pl contrib/smcontrol.pl contrib/socketmapClient.pl contrib/socketmapServer.pl + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #3 (sendmail-8.14.4-makemapman.patch): patching file cf/cf/Build patching file devtools/OS/Linux patching file makemap/makemap.8 patching file rmail/rmail.c Patch #4 (sendmail-8.14.3-smrsh_paths.patch): patching file smrsh/README patching file smrsh/smrsh.8 patching file smrsh/smrsh.c Patch #7 (sendmail-8.14.9-pid.patch): patching file cf/cf/submit.mc Patch #10 (sendmail-8.15.1-manpage.patch): patching file sendmail/sendmail.8 Patch #11 (sendmail-8.15.1-dynamic.patch): patching file devtools/OS/Linux patching file libsm/Makefile.m4 Patch #12 (sendmail-8.13.0-cyrus.patch): patching file cf/mailer/cyrus.m4 Patch #13 (sendmail-8.15.1-aliases_dir.patch): patching file cf/m4/cfhead.m4 patching file sendmail/aliases.0 patching file sendmail/aliases.5 patching file sendmail/newaliases.0 patching file sendmail/newaliases.1 patching file sendmail/sendmail.0 patching file sendmail/sendmail.8 Patch #14 (sendmail-8.14.9-vacation.patch): patching file vacation/Makefile Patch #15 (sendmail-8.14.9-noversion.patch): patching file sendmail/helpfile Patch #16 (sendmail-8.15.2-localdomain.patch): patching file cf/m4/proto.m4 Patch #17 (sendmail-8.14.3-sharedmilter.patch): patching file devtools/M4/UNIX/sharedlibrary.m4 patching file libmilter/Makefile.m4 Patch #18 (sendmail-8.15.2-switchfile.patch): patching file sendmail/conf.c Patch #23 (sendmail-8.14.8-sasl2-in-etc.patch): patching file sendmail/usersmtp.c Patch #25 (sendmail-8.15.2-qos.patch): patching file cf/cf/submit.mc patching file cf/m4/proto.m4 patching file sendmail/conf.c patching file sendmail/daemon.c patching file sendmail/readcf.c patching file sendmail/sendmail.h Patch #26 (sendmail-8.15.2-libmilter-socket-activation.patch): patching file libmilter/docs/smfi_setconn.html patching file libmilter/listener.c Patch #27 (sendmail-8.15.2-smtp-session-reuse-fix.patch): patching file sendmail/deliver.c patching file sendmail/macro.c patching file sendmail/mci.c patching file sendmail/sendmail.h patching file sendmail/srvrsmtp.c patching file sendmail/tls.c Patch #28 (sendmail-8.15.2-openssl-1.1.0-fix.patch): patching file sendmail/tls.c Patch #29 (sendmail-8.15.2-format-security.patch): patching file sendmail/envelope.c patching file sendmail/parseaddr.c patching file sendmail/srvrsmtp.c Patch #30 (sendmail-8.15.2-openssl-1.1.0-ecdhe-fix.patch): patching file sendmail/tls.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S5HJ4U + umask 022 + cd /builddir/build/BUILD + cd sendmail-8.15.2 + cat + cat + cat + cat + cat + cat + cat + DIRS='libsmutil sendmail mailstats rmail praliases smrsh makemap editmap' + DIRS='libmilter libsmutil sendmail mailstats rmail praliases smrsh makemap editmap' + for i in $DIRS + pushd libmilter + sh Build -f ../redhat.config.m4 BUILDSTDERR: listener.c: In function 'mi_thread_handle_wrapper': BUILDSTDERR: listener.c:600:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 600 | return (void *) mi_handle_session(arg); BUILDSTDERR: | ^ ~/build/BUILD/sendmail-8.15.2/libmilter ~/build/BUILD/sendmail-8.15.2 Configuration: pfx=, os=Linux, rel=4.15.0-00049-ga3b1e7acc6a1-dirty, rbase=4, rroot=4.15, arch=riscv64, sfx=, variant=optimized Using M4=/usr/bin/m4 Creating /builddir/build/BUILD/sendmail-8.15.2/obj.Linux.4.15.0-00049-ga3b1e7acc6a1-dirty.riscv64/libmilter using /builddir/build/BUILD/sendmail-8.15.2/devtools/OS/Linux Including ../redhat.config.m4 Making dependencies in /builddir/build/BUILD/sendmail-8.15.2/obj.Linux.4.15.0-00049-ga3b1e7acc6a1-dirty.riscv64/libmilter ln -f -s ../../libsm/errstring.c . ln -f -s ../../libsm/strl.c . rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_linux.h sm_os.h cc -M -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT main.c engine.c listener.c worker.c handler.c comm.c smfi.c signal.c sm_gethost.c monitor.c errstring.c strl.c >> Makefile Making in /builddir/build/BUILD/sendmail-8.15.2/obj.Linux.4.15.0-00049-ga3b1e7acc6a1-dirty.riscv64/libmilter cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o main.o main.c cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o engine.o engine.c cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o listener.o listener.c cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o worker.o worker.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstIn file included from ../../include/sendmail/sendmail.h:21, BUILDSTDERR: from ../../sendmail/sendmail.h:44, BUILDSTDERR: from sm_gethost.c:14: BUILDSTDERR: sm_gethost.c: In function 'sm_getipnodebyname': BUILDSTDERR: sm_gethost.c:58:18: error: 'RES_USE_INET6' undeclared (first use in this function) BUILDSTDERR: 58 | resv6 = bitset(RES_USE_INET6, _res.options); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../include/sm/bitops.h:55:40: note: in definition of macro 'bitset' BUILDSTDERR: 55 | # define bitset(bit, word) (((word) & (bit)) != 0) BUILDSTDERR: | ^~~ BUILDSTDERR: sm_gethost.c:58:18: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: 58 | resv6 = bitset(RES_USE_INET6, _res.options); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../include/sm/bitops.h:55:40: note: in definition of macro 'bitset' BUILDSTDERR: 55 | # define bitset(bit, word) (((word) & (bit)) != 0) BUILDSTDERR: | ^~~ BUILDSTDERR: make: *** [: sm_gethost.o] Error 1 ack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o handler.o handler.c cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o comm.o comm.c cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o smfi.o smfi.c cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o signal.o signal.c cc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -fno-pie -fPIC -I. -I../../sendmail -I../../include -I/usr/include/libdb -I/usr/kerberos/include -Wall -DXDEBUG=0 -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_LINUX_MHNL -D_FFR_QOS -D_FILE_OFFSET_BITS=64 -DSASL=2 -D_FFR_MILTER_CHECK_REJECTIONS_TOO -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_REENTRANT -DXP_MT -c -o sm_gethost.o sm_gethost.c RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.S5HJ4U (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.S5HJ4U (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/sendmail.spec