Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42936-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/mailx-12.5-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42936-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2dnuXo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mailx-12.5 + /usr/bin/xz -dc /builddir/build/SOURCES/mailx-12.5.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mailx-12.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/mailx-12.5-outof-Introduce-expandaddr-flag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/mailx-12.5-fio.c-Unconditionally-require-wordexp-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/mailx-12.5-globname-Invoke-wordexp-with-WRDE_NOCMD-CVE-2004-277.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/mailx-12.5-unpack-Disable-option-processing-for-email-addresses.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/work-round-openssl-build-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bcKm9d + umask 022 + cd /builddir/build/BUILD + cd mailx-12.5 + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64' IPv6=-DHAVE_IPv6_FUNCS SENDMAIL=/usr/sbin/sendmail MAILSPOOL=/var/mail MAILRC=/etc/mail.rc PREFIX=/usr SYSCONFDIR=/etc /bin/sh ./makeconfig checking if a hello world program can be built ... okay checking for ... okay checking for alloca() ... okay checking for ssize_t ... okay checking for snprintf() ... okay checking for fchdir() ... okay checking for mmap() ... okay checking for mremap() ... okay checking for iconv functionality ... okay checking for wctype functionality ... okay checking for wcwidth() ... okay checking for mbtowc() ... okay checking for setlocale() ... okay checking for nl_langinfo() ... okay checking for mkstemp() ... okay checking for fpathconf() ... okay checking for wordexp() ... okay checking for ... okay checking for socket functionality in libc ... okay checking for Network Security Services (NSS) ... no checking for sufficiently recent OpenSSL ... okay checking for STACK_OF() ... okay checking for GSSAPI in libgss ... no checking for GSSAPI in libgssapi_krb5 ... no checking for GSSAPI in libgssapi_krb5, old-style ... no checking for GSSAPI in libgssapi ... no The following optional features are enabled: + Locale support: Printable characters depend on the environment + Multibyte character support + Character set conversion using iconv() + Automatic detection of terminal character set + Networking support (IMAP, POP3, and SMTP) + S/MIME and SSL/TLS using OpenSSL The following optional features are disabled: - IMAP GSSAPI authentication Remarks: checking if a hello world program can be built ... okay checking for ... okay checking for alloca() ... okay checking for ssize_t ... okay checking for snprintf() ... okay checking for fchdir() ... okay checking for mmap() ... okay checking for mremap() ... okay checking for iconv functionality ... okay checking for wctype functionality ... okay checking for wcwidth() ... okay checking for mbtowc() ... okay checking for setlocale() ... okay checking for nl_langinfo() ... okay checking for mkstemp() ... okay checking for fpathconf() ... okay checking for wordexp() ... okay checking for ... okay checking for socket functionality in libc ... okay checking for Network Security Services (NSS) ... no checking for sufficiently recent OpenSSL ... okay checking for STACK_OF() ... okay checking for GSSAPI in libgss ... no checking for GSSAPI in libgssapi_krb5 ... no checking for GSSAPI in libgssapi_krb5, old-style ... no checking for GSSAPI in libgssapi ... no The following optional features are enabled: + Locale support: Printable characters depend on the environment + Multibyte character support + Character set conversion using iconv() + Automatic detection of terminal character set + Networking support (IMAP, POP3, and SMTP) + S/MIME and SSL/TLS using OpenSSL The following optional features are disabled: - IMAP GSSAPI authentication Remarks: /bin/sh ./makeconfig cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmdtab.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c base64.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c dotlock.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cache.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c getname.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmd1.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmd2.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c collect.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c edit.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c getopt.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c aux.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c hmac.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmd3.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c lzw.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c fio.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c lex.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c head.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c list.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c imap_search.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c macro.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c nss.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c junk.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c maildir.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c md5.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c main.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c names.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c pop3.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c quit.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c popen.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c mime.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c strings.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c openssl.c openssl.c: In function 'ssl_select_method': openssl.c:242:25: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 242 | method = TLSv1_client_method(); | ^~~~~~ In file included from openssl.c:60: /usr/include/openssl/ssl.h:2022:50: note: declared here 2022 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c ssl.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c smtp.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c temp.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c imap.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c v7.local.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c tty.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c version.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c send.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c vars.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c thread.c cc -O2 -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c sendout.c cc aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o imap.o imap_search.o junk.o lex.o list.o lzw.o macro.o maildir.o main.o md5.o mime.o names.o nss.o openssl.o pop3.o popen.o quit.o send.o sendout.o smtp.o ssl.o strings.o temp.o thread.o tty.o v7.local.o vars.o version.o `grep '^[^#]' LIBS` -o mailx /usr/bin/ld: cannot find keconfig.: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:92: mailx] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.bcKm9d (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.bcKm9d (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec