Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/postfix.spec'], chrootPath='/var/lib/mock/rocky-8-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/postfix.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/postfix-3.3.1-8.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/postfix.spec"], chrootPath='/var/lib/mock/rocky-8-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/postfix.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NjTGoM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postfix-3.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/postfix-3.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd postfix-3.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (postfix-3.2.0-config.patch): + echo 'Patch #1 (postfix-3.2.0-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .config --fuzz=0 patching file conf/main.cf patching file conf/master.cf Hunk #1 succeeded at 97 (offset 1 line). Patch #2 (postfix-3.1.0-files.patch): + echo 'Patch #2 (postfix-3.1.0-files.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .files --fuzz=0 patching file conf/postfix-files Patch #3 (postfix-3.1.0-alternatives.patch): + echo 'Patch #3 (postfix-3.1.0-alternatives.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .alternatives --fuzz=0 patching file conf/post-install Hunk #1 succeeded at 537 (offset 5 lines). Patch #4 (postfix-3.2.0-large-fs.patch): + echo 'Patch #4 (postfix-3.2.0-large-fs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .large-fs --fuzz=0 patching file src/util/fsspace.c patching file src/util/sys_defs.h Patch #5 (postfix-3.3.1-posttls-finger-unix-fix.patch): + echo 'Patch #5 (postfix-3.3.1-posttls-finger-unix-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .posttls-finger-unix-fix --fuzz=0 patching file src/posttls-finger/posttls-finger.c + sed -i 's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"/usr/lib64/postfix"|' src/global/mail_params.h + gzip -dc /builddir/build/SOURCES/pflogsumm-1.1.5.tar.gz + tar xf - + pushd pflogsumm-1.1.5 ~/build/BUILD/postfix-3.3.1/pflogsumm-1.1.5 ~/build/BUILD/postfix-3.3.1 Patch #9 (pflogsumm-1.1.5-datecalc.patch): + echo 'Patch #9 (pflogsumm-1.1.5-datecalc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .datecalc --fuzz=0 patching file pflogsumm.pl Patch #10 (pflogsumm-1.1.5-ipv6-warnings-fix.patch): + echo 'Patch #10 (pflogsumm-1.1.5-ipv6-warnings-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipv6-warnings-fix --fuzz=0 patching file pflogsumm.pl ~/build/BUILD/postfix-3.3.1 + popd + for f in README_FILES/TLS_{LEGACY_,}README TLS_ACKNOWLEDGEMENTS + iconv -f iso8859-1 -t utf8 -o README_FILES/TLS_LEGACY_README_ README_FILES/TLS_LEGACY_README + touch -r README_FILES/TLS_LEGACY_README README_FILES/TLS_LEGACY_README_ + mv -f README_FILES/TLS_LEGACY_README_ README_FILES/TLS_LEGACY_README + for f in README_FILES/TLS_{LEGACY_,}README TLS_ACKNOWLEDGEMENTS + iconv -f iso8859-1 -t utf8 -o README_FILES/TLS_README_ README_FILES/TLS_README + touch -r README_FILES/TLS_README README_FILES/TLS_README_ + mv -f README_FILES/TLS_README_ README_FILES/TLS_README + for f in README_FILES/TLS_{LEGACY_,}README TLS_ACKNOWLEDGEMENTS + iconv -f iso8859-1 -t utf8 -o TLS_ACKNOWLEDGEMENTS_ TLS_ACKNOWLEDGEMENTS + touch -r TLS_ACKNOWLEDGEMENTS TLS_ACKNOWLEDGEMENTS_ + mv -f TLS_ACKNOWLEDGEMENTS_ TLS_ACKNOWLEDGEMENTS + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dsmdA2 + umask 022 + cd /builddir/build/BUILD + cd postfix-3.3.1 + unset AUXLIBS AUXLIBS_LDAP AUXLIBS_PCRE AUXLIBS_MYSQL AUXLIBS_PGSQL AUXLIBS_SQLITE AUXLIBS_CDB + CCARGS=-fPIC + AUXLIBS=-lnsl + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL' + AUXLIBS_LDAP='-lldap -llber' + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre' + AUXLIBS_PCRE=-lpcre + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql' + AUXLIBS_MYSQL='-L/usr/lib64/mariadb -lmysqlclient -lm' + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql' + AUXLIBS_PGSQL=-lpq ++ pkg-config --cflags sqlite3 + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE ' ++ pkg-config --libs sqlite3 + AUXLIBS_SQLITE='-lsqlite3 ' ++ pkg-config --cflags libcdb + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DHAS_CDB ' ++ pkg-config --libs libcdb + AUXLIBS_CDB='-lcdb ' + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DHAS_CDB -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl' + AUXLIBS='-lnsl -L/usr/lib64/sasl2 -lsasl2' + pkg-config openssl ++ pkg-config --cflags openssl + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DHAS_CDB -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS ' ++ pkg-config --libs openssl + AUXLIBS='-lnsl -L/usr/lib64/sasl2 -lsasl2 -lssl -lcrypto ' + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DHAS_CDB -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS -DDEF_CONFIG_DIR=\"/etc/postfix\"' ++ getconf LFS_CFLAGS + CCARGS='-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DHAS_CDB -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS -DDEF_CONFIG_DIR=\"/etc/postfix\" ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro,-z,now' + make -f Makefile.init makefiles shared=yes dynamicmaps=yes pie=yes 'CCARGS=-fPIC -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_PCRE -I/usr/include/pcre -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DHAS_SQLITE -DHAS_CDB -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS -DDEF_CONFIG_DIR=\"/etc/postfix\" ' 'AUXLIBS=-lnsl -L/usr/lib64/sasl2 -lsasl2 -lssl -lcrypto ' 'AUXLIBS_LDAP=-lldap -llber' AUXLIBS_PCRE=-lpcre 'AUXLIBS_MYSQL=-L/usr/lib64/mariadb -lmysqlclient -lm' AUXLIBS_PGSQL=-lpq 'AUXLIBS_SQLITE=-lsqlite3 ' 'AUXLIBS_CDB=-lcdb ' DEBUG= 'SHLIB_RPATH=-Wl,-rpath,/usr/lib64/postfix -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro,-z,now' 'OPT=-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 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-comment' POSTFIX_INSTALL_OPTS=-keep-build-mtime make -f Makefile.in MAKELEVEL= Makefiles (echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp ATTENTION: ATTENTION: Unknown system type: Linux 5.14.0-86.el9.ppc64le ATTENTION: make: *** [Makefile.in:31: Makefiles] Error 1 make: *** [Makefile.init:22: makefiles] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.dsmdA2 (%build) Bad exit status from /var/tmp/rpm-tmp.dsmdA2 (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/postfix.spec\n", 1)] 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 598, 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 ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/postfix.spec