Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/postfix.spec'], chrootPath='/mnt/mock/kojid//dist-an23.5-AImanager-build-537091-82836/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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 warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1778198400 Wrote: /builddir/build/SRPMS/postfix-3.8.5-2.an23.src.rpm RPM build warnings: %patchN is deprecated (10 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/postfix.spec'], chrootPath='/mnt/mock/kojid//dist-an23.5-AImanager-build-537091-82836/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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 warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1778198400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mP92y6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postfix-3.8.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postfix-3.8.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd postfix-3.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (postfix-3.8.0-config.patch):' Patch #1 (postfix-3.8.0-config.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file conf/main.cf patching file conf/master.cf + echo 'Patch #2 (postfix-3.4.0-files.patch):' Patch #2 (postfix-3.4.0-files.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .files --fuzz=0 patching file conf/postfix-files + echo 'Patch #3 (postfix-3.3.3-alternatives.patch):' Patch #3 (postfix-3.3.3-alternatives.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .alternatives --fuzz=0 patching file conf/post-install Patch #4 (postfix-3.8.0-large-fs.patch): + echo 'Patch #4 (postfix-3.8.0-large-fs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .large-fs --fuzz=0 patching file src/util/fsspace.c patching file src/util/sys_defs.h + 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.8.5/pflogsumm-1.1.5 ~/build/BUILD/postfix-3.8.5 Patch #9 (pflogsumm-1.1.5-datecalc.patch): + echo 'Patch #9 (pflogsumm-1.1.5-datecalc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .datecalc --fuzz=0 patching file pflogsumm.pl + echo 'Patch #10 (pflogsumm-1.1.5-ipv6-warnings-fix.patch):' Patch #10 (pflogsumm-1.1.5-ipv6-warnings-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6-warnings-fix --fuzz=0 patching file pflogsumm.pl + popd ~/build/BUILD/postfix-3.8.5 Patch #11 (postfix-3.4.4-chroot-example-fix.patch): + echo 'Patch #11 (postfix-3.4.4-chroot-example-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chroot-example-fix --fuzz=0 patching file examples/chroot-setup/LINUX2 + echo 'Patch #13 (pflogsumm-1.1.5-syslog-name-underscore-fix.patch):' Patch #13 (pflogsumm-1.1.5-syslog-name-underscore-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pflogsumm-1.1.5-syslog-name-underscore-fix --fuzz=0 patching file pflogsumm-1.1.5/pflogsumm.pl + echo 'Patch #14 (postfix-3.8.5-openssl-no-engine.patch):' Patch #14 (postfix-3.8.5-openssl-no-engine.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl-no-engine --fuzz=0 patching file src/posttls-finger/posttls-finger.c + echo 'Patch #15 (0001-fix-CVE-2026-43964.patch):' Patch #15 (0001-fix-CVE-2026-43964.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-CVE-2026-43964 --fuzz=0 patching file src/global/dsn_util.c + sed -i makedefs -e '\@Linux\.@s|345|3456|' + sed -i src/util/sys_defs.h -e 's@defined(LINUX5)@defined(LINUX5) || defined(LINUX6)@' + 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 + sed -i '/^\s*alias_maps\s*=\s*hash:\/etc\/aliases/ s|hash:|lmdb:|g' conf/main.cf + sed -i '/^\s*alias_database\s*=\s*hash:\/etc\/aliases/ s|hash:|lmdb:|g' conf/main.cf + echo + echo 'default_database_type = lmdb' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cvfU4J + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd postfix-3.8.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + unset AUXLIBS AUXLIBS_LDAP AUXLIBS_LMDB AUXLIBS_PCRE AUXLIBS_MYSQL AUXLIBS_PGSQL AUXLIBS_SQLITE AUXLIBS_CDB + CCARGS='-fPIC -fcommon' + AUXLIBS= + CCARGS='-fPIC -fcommon -DNO_DB' + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL' + AUXLIBS_LDAP='-lldap -llber' + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB' + AUXLIBS_LMDB=-llmdb ++ pcre2-config --cflags + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 ' ++ pcre2-config --libs8 + AUXLIBS_PCRE='-L/usr/lib64 -lpcre2-8' + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -DHAS_MYSQL -I/usr/include/mysql' + AUXLIBS_MYSQL='-L/usr/lib64/mariadb -lmysqlclient -lm' + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql' + AUXLIBS_PGSQL=-lpq ++ pkg-config --cflags sqlite3 + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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 -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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 -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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=' -L/usr/lib64/sasl2 -lsasl2' + pkg-config openssl ++ pkg-config --cflags openssl + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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=' -L/usr/lib64/sasl2 -lsasl2 -lssl -lcrypto' + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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 -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" ' + CCARGS='-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" -DNO_NIS' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z,relro,-z,now' + make -f Makefile.init makefiles shared=yes dynamicmaps=yes pie=yes 'CCARGS=-fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" -DNO_NIS' 'AUXLIBS= -L/usr/lib64/sasl2 -lsasl2 -lssl -lcrypto' 'AUXLIBS_LDAP=-lldap -llber' AUXLIBS_LMDB=-llmdb 'AUXLIBS_PCRE=-L/usr/lib64 -lpcre2-8' '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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z,relro,-z,now' 'OPT=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -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 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-anolis-linux/12/lto-wrapper Target: riscv64-anolis-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.openanolis.cn --enable-shared --enable-threads=posix --enable-checking=release --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --without-isl --enable-gnu-indirect-function --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-anolis-linux --with-build-config=bootstrap-lto --enable-link-serialization=1 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.3.0 20230508 (Anolis OS 12.3.0-16) (GCC) set +e; if cmp makedefs.tmp conf/makedefs.out; then rm makedefs.tmp; \ else mv makedefs.tmp conf/makedefs.out; fi >/dev/null 2>/dev/null set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; rm -f Makefile; \ make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \ done [src/util] cat ../../conf/makedefs.out Makefile.in >Makefile [src/global] cat ../../conf/makedefs.out Makefile.in >Makefile [src/dns] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tls] cat ../../conf/makedefs.out Makefile.in >Makefile [src/xsasl] cat ../../conf/makedefs.out Makefile.in >Makefile [src/master] cat ../../conf/makedefs.out Makefile.in >Makefile [src/milter] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postfix] cat ../../conf/makedefs.out Makefile.in >Makefile [src/fsstone] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtpstone] cat ../../conf/makedefs.out Makefile.in >Makefile [src/sendmail] cat ../../conf/makedefs.out Makefile.in >Makefile [src/error] cat ../../conf/makedefs.out Makefile.in >Makefile [src/pickup] cat ../../conf/makedefs.out Makefile.in >Makefile [src/cleanup] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtpd] cat ../../conf/makedefs.out Makefile.in >Makefile [src/local] cat ../../conf/makedefs.out Makefile.in >Makefile [src/trivial-rewrite] cat ../../conf/makedefs.out Makefile.in >Makefile [src/qmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/oqmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/smtp] cat ../../conf/makedefs.out Makefile.in >Makefile [src/bounce] cat ../../conf/makedefs.out Makefile.in >Makefile [src/pipe] cat ../../conf/makedefs.out Makefile.in >Makefile [src/showq] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postalias] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postcat] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postconf] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postdrop] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postkick] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlock] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlog] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postmap] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postqueue] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postsuper] cat ../../conf/makedefs.out Makefile.in >Makefile [src/qmqpd] cat ../../conf/makedefs.out Makefile.in >Makefile [src/spawn] cat ../../conf/makedefs.out Makefile.in >Makefile [src/flush] cat ../../conf/makedefs.out Makefile.in >Makefile [src/verify] cat ../../conf/makedefs.out Makefile.in >Makefile [src/virtual] cat ../../conf/makedefs.out Makefile.in >Makefile [src/proxymap] cat ../../conf/makedefs.out Makefile.in >Makefile [src/anvil] cat ../../conf/makedefs.out Makefile.in >Makefile [src/scache] cat ../../conf/makedefs.out Makefile.in >Makefile [src/discard] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tlsmgr] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postmulti] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postscreen] cat ../../conf/makedefs.out Makefile.in >Makefile [src/dnsblog] cat ../../conf/makedefs.out Makefile.in >Makefile [src/tlsproxy] cat ../../conf/makedefs.out Makefile.in >Makefile [src/posttls-finger] cat ../../conf/makedefs.out Makefile.in >Makefile [src/postlogd] cat ../../conf/makedefs.out Makefile.in >Makefile + /usr/bin/make -O -j64 V=1 VERBOSE=1 rm -f meta/main.cf.proto && ln -f conf/main.cf meta/main.cf.proto rm -f meta/master.cf.proto && ln -f conf/master.cf meta/master.cf.proto grep -v SHLIB_ENV conf/makedefs.out > meta/makedefs.out rm -f libexec/post-install && ln -f conf/post-install libexec/post-install rm -f libexec/postfix-script && ln -f conf/postfix-script libexec/postfix-script rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper libexec/postfix-wrapper rm -f meta/dynamicmaps.cf && sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;" conf/dynamicmaps.cf | awk ' \ BEGIN { split("'"ldap lmdb pcre mysql pgsql sqlite cdb dev_urandom"'", map_types); \ for (n in map_types) has_type[map_types[n]] = n } \ /^#/ { print } \ /^[a-z]/ { if (has_type[$1]) print } \ ' >meta/dynamicmaps.cf rm -f libexec/postmulti-script && ln -f conf/postmulti-script libexec/postmulti-script rm -f libexec/postfix-tls-script && ln -f conf/postfix-tls-script libexec/postfix-tls-script rm -f meta/postfix-files (if [ "/usr/lib64/postfix" = "no" -o "/usr/lib64/postfix" = "" ]; then \ sed -e '/^\$shlib_directory/d' \ -e '/dynamicmaps.cf/d' conf/postfix-files; \ elif [ "gcc -shared" = ":" -o "gcc -shared" = "" ]; then \ sed -e '/dynamicmaps.cf/d' \ -e '/^\$shlib_directory\/\${LIB_PREFIX}/d' \ conf/postfix-files | sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;"; \ else \ sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;" conf/postfix-files | awk -F: ' \ BEGIN { \ count = split("'"ldap lmdb pcre mysql pgsql sqlite cdb dev_urandom"'", names, " "); \ for (n = 1; n <= count; n++) \ have["$shlib_directory/postfix-" names[n] \ ".so"] = 1; } \ /^[$]shlib_directory.postfix-/ { \ if (have[$1]) print; next } \ { print } \ '; \ fi) | case "" in \ *) cat;; \ esac > meta/postfix-files set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; /usr/bin/make 'WARN=-Wmissing-prototypes -Wformat -Wno-comment -fno-common' update MAKELEVEL=) || exit 1; \ done [src/util] gcc -I. -I../../include -fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" -DNO_NIS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c alldig.c gcc: error: '-march=rva23u64': ISA string must begin with rv32 or rv64 make: *** [Makefile:216: alldig.o] Error 1 make: *** Waiting for unfinished jobs.... gcc: error: '-march=rva23u64': ISA string must begin with rv32 or rv64 make: *** [Makefile:216: allprint.o] Error 1 gcc: error: '-march=rva23u64': ISA string must begin with rv32 or rv64 make: *** [Makefile:216: argv.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" -DNO_NIS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c allprint.c gcc -I. -I../../include -fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" -DNO_NIS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c argv.c gcc -I. -I../../include -fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" -DNO_NIS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c argv_split.c gcc: error: '-march=rva23u64': ISA string must begin with rv32 or rv64 make: *** [Makefile:216: argv_split.o] Error 1 gcc -I. -I../../include -fPIC -fcommon -DNO_DB -DHAS_LDAP -DLDAP_DEPRECATED=1 -DUSE_LDAP_SASL -DHAS_LMDB -DHAS_PCRE=2 -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\" -DNO_NIS -DHAS_DEV_URANDOM -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fno-common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -fno-strict-aliasing -Wno-comment -I. -DLINUX6 -c attr_clnt.c gcc: error: '-march=rva23u64': ISA string must begin with rv32 or rv64 make: *** [Makefile:216: attr_clnt.o] Error 1 make: *** [Makefile:109: update] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.cvfU4J (%build) RPM build warnings: RPM build errors: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.cvfU4J (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/postfix.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 riscv64 --nodeps /builddir/build/SPECS/postfix.spec