D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/postfix-3.7.3-2.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8IELfd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf postfix-3.7.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/postfix-3.7.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd postfix-3.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (postfix-3.0.0-mgaconfig.diff):' Patch #1 (postfix-3.0.0-mgaconfig.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mgaconfig --fuzz=0 patching file conf/master.cf Hunk #2 succeeded at 54 (offset 13 lines). Hunk #3 succeeded at 96 (offset 15 lines). Hunk #4 succeeded at 131 (offset 15 lines). Hunk #5 succeeded at 146 (offset 15 lines). patching file conf/postfix-files Hunk #1 succeeded at 141 (offset 2 lines). Hunk #2 succeeded at 151 (offset 2 lines). Hunk #3 succeeded at 253 (offset 4 lines). Hunk #4 succeeded at 314 (offset 9 lines). patching file HISTORY patching file proto/INSTALL.html patching file proto/LDAP_README.html patching file proto/MYSQL_README.html patching file proto/PCRE_README.html patching file proto/PGSQL_README.html patching file README_FILES/INSTALL patching file README_FILES/LDAP_README patching file README_FILES/MYSQL_README patching file README_FILES/PCRE_README patching file README_FILES/PGSQL_README patching file src/global/mail_params.h Hunk #1 succeeded at 548 (offset 44 lines). patching file src/util/sys_defs.h Hunk #1 succeeded at 61 (offset 6 lines). Hunk #2 succeeded at 235 (offset 5 lines). Hunk #3 succeeded at 292 (offset 5 lines). Hunk #4 succeeded at 764 (offset -6 lines). Hunk #5 succeeded at 847 (offset -1 lines). Hunk #6 succeeded at 880 (offset -2 lines). + find . -name '*.mgaconfig' -o -name '*.orig' -exec rm '{}' ';' + mkdir -p conf/dist + mv conf/main.cf conf/dist + cp /home/pterjan/rpmbuild/SOURCES/postfix-main.cf conf/main.cf + '[' lib64 '!=' lib ']' + sed -i -e 's@^/usr/lib/@/usr/lib64/@' conf/postfix-files + echo 'Patch #2 (postfix-alternatives-mdk.patch):' Patch #2 (postfix-alternatives-mdk.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .alternatives --fuzz=0 patching file conf/post-install Hunk #1 succeeded at 537 (offset 11 lines). + echo 'Patch #3 (postfix-2.9.1-dbupgrade.diff):' Patch #3 (postfix-2.9.1-dbupgrade.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dbupgrade --fuzz=0 patching file src/util/dict_dbm.c + echo 'Patch #4 (postfix-2.7.0-sdbm.patch):' Patch #4 (postfix-2.7.0-sdbm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sdbm --fuzz=0 patching file src/util/Makefile.in Hunk #2 succeeded at 65 (offset 4 lines). patching file src/util/sdbm.c patching file src/util/sdbm.h patching file src/global/mkmap_sdbm.c + echo 'Patch #6 (postfix-2.2.4-smtpstone.patch):' Patch #6 (postfix-2.2.4-smtpstone.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .smtpstone --fuzz=0 patching file conf/postfix-files Hunk #1 succeeded at 138 (offset 29 lines). Hunk #2 succeeded at 184 (offset 29 lines). + echo 'Patch #11 (postfix-3.0.3-no-warning-about-symlinks.patch):' Patch #11 (postfix-3.0.3-no-warning-about-symlinks.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file conf/postfix-script Hunk #1 succeeded at 298 (offset 39 lines). Hunk #2 succeeded at 314 (offset 39 lines). Hunk #3 succeeded at 322 (offset 39 lines). + install -m644 /home/pterjan/rpmbuild/SOURCES/postfix-README.MGA README.mga + install -m644 /home/pterjan/rpmbuild/SOURCES/faq.html postfix-users-faq.html + mkdir UCE + install -m644 /home/pterjan/rpmbuild/SOURCES/postfix-anti-UCE.txt UCE + install -m644 /home/pterjan/rpmbuild/SOURCES/header_checks.txt UCE + install -m644 /home/pterjan/rpmbuild/SOURCES/body_checks.txt UCE + cp -p conf/master.cf conf/master.cf.chroot + awk -v 'NEVER_CHROOT_PROGRAM=^(proxymap|local|pipe|virtual|spawn)$' -v 'NEVER_CHROOT_SERVICE=^cyrus$' ' BEGIN { IFS="[ \t]+"; OFS="\t"; } /^#/ { print; next; } /^ / { print; next; } $1 ~ NEVER_CHROOT_SERVICE { print; next; } $8 ~ NEVER_CHROOT_PROGRAM { print; next; } $5 == "n" { $5="y"; print $0; next; } { print; } ' conf/master.cf.chroot + cp -p mantools/postlink.sed mantools/postlink.posix + sed -e 's/\[\[:<:\]\]/\\:\]\]/\\>/g' mantools/postlink.posix + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Vr0yFc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd postfix-3.7.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + OPT='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + DEBUG= + CCARGS=-DHAS_CLOSEFROM + AUXLIBS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + SHLIB_RPATH= + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM' + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM -DHAS_LDAP' + AUXLIBS_LDAP='-lldap -llber' ++ pcre2-config --cflags + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE=2 ' ++ pcre2-config --libs8 + AUXLIBS_PCRE=-lpcre2-8 + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE=2 -DHAS_MYSQL -I/usr/include/mysql' + AUXLIBS_MYSQL=-lmysqlclient + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE=2 -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql' ++ pkg-config --libs libpq + AUXLIBS_PGSQL='-lpq ' + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE=2 -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl' + AUXLIBS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lsasl2' + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE=2 -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS -I/usr/include/openssl' + AUXLIBS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lsasl2 -lssl -lcrypto' + CCARGS='-DHAS_CLOSEFROM -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE=2 -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS -I/usr/include/openssl -DHAS_CDB' + AUXLIBS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lsasl2 -lssl -lcrypto -lcdb' + export CCARGS AUXLIBS SHLIB_RPATH AUXLIBS_PCRE AUXLIBS_LDAP AUXLIBS_MYSQL AUXLIBS_PGSQL OPT DEBUG + make -f Makefile.init makefiles dynamicmaps=yes shlib_directory=/usr/lib64 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 6.0.8-server-3.mga9 ATTENTION: make: *** [Makefile.in:33: Makefiles] Error 1 make: *** [Makefile.init:22: makefiles] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Vr0yFc (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Vr0yFc (%build) I: [iurt_root_command] ERROR: chroot