D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/postfix-3.5.12-2.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3PoQDf
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf postfix-3.5.12
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/postfix-3.5.12.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd postfix-3.5.12
+ /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 42 (offset 1 line).
Hunk #3 succeeded at 84 (offset 3 lines).
Hunk #4 succeeded at 119 (offset 3 lines).
Hunk #5 succeeded at 134 (offset 3 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 310 (offset 5 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 524 (offset 20 lines).
patching file src/util/sys_defs.h
Hunk #1 succeeded at 59 (offset 4 lines).
Hunk #2 succeeded at 233 (offset 3 lines).
Hunk #3 succeeded at 290 (offset 3 lines).
Hunk #4 succeeded at 762 (offset -8 lines).
Hunk #5 succeeded at 842 (offset -6 lines).
Hunk #6 succeeded at 875 (offset -7 lines).
+ find . -name '*.mgaconfig' -o -name '*.orig' -exec rm '{}' ';'
+ mkdir -p conf/dist
+ mv conf/main.cf conf/dist
+ cp /home/iurt/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 64 (offset 3 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/iurt/rpmbuild/SOURCES/postfix-README.MGA README.mga
+ install -m644 /home/iurt/rpmbuild/SOURCES/faq.html postfix-users-faq.html
+ mkdir UCE
+ install -m644 /home/iurt/rpmbuild/SOURCES/postfix-anti-UCE.txt UCE
+ install -m644 /home/iurt/rpmbuild/SOURCES/header_checks.txt UCE
+ install -m644 /home/iurt/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; s/\[\[:>:\]\]/\\>/g' mantools/postlink.posix
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.dZfxc7
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd postfix-3.5.12
+ '[' 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=
+ AUXLIBS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ CCARGS=' -DHAS_SDBM'
+ CCARGS=' -DHAS_SDBM -DHAS_LDAP'
+ AUXLIBS_LDAP='-lldap -llber'
+ CCARGS=' -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE'
++ pcre-config --libs
+ AUXLIBS_PCRE='-L/usr/lib64 -lpcre'
+ CCARGS=' -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql'
+ AUXLIBS_MYSQL=-lmysqlclient
+ CCARGS=' -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DHAS_PGSQL -I/usr/include/pgsql'
++ pkg-config --libs libpq
+ AUXLIBS_PGSQL='-lpq '
+ CCARGS=' -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -Wl,--enable-new-dtags -lsasl2'
+ CCARGS=' -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -Wl,--enable-new-dtags -lsasl2 -lssl -lcrypto'
+ CCARGS=' -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -Wl,--enable-new-dtags -lsasl2 -lssl -lcrypto -lcdb'
+ export CCARGS AUXLIBS 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
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
+ unset CCARGS AUXLIBS AUXLIBS_PCRE AUXLIBS_LDAP AUXLIBS_MYSQL AUXLIBS_PGSQL DEBUG OPT
+ make
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
rm -f meta/postfix-files
(if [ "/usr/lib64" = "no" -o "/usr/lib64" = "" ]; 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("'"sdbm ldap pcre mysql pgsql 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
grep -v SHLIB_ENV conf/makedefs.out > meta/makedefs.out
rm -f meta/dynamicmaps.cf && sed -e "s;\${LIB_PREFIX};postfix-;" -e "s;\${LIB_SUFFIX};.so;" conf/dynamicmaps.cf | awk ' \
	BEGIN { split("'"sdbm ldap pcre mysql pgsql 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/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 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
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; make 'WARN=-Wmissing-prototypes -Wformat -Wno-comment -fcommon' update MAKELEVEL=) || exit 1; \
done
[src/util]
gcc -I. -I../../include -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64\" -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fcommon -fPIC  -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 -I. -DLINUX5 -c alldig.c
gcc -I. -I../../include -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64\" -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fcommon -fPIC  -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 -I. -DLINUX5 -c allprint.c
gcc -I. -I../../include -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64\" -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fcommon -fPIC  -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 -I. -DLINUX5 -c argv.c
gcc -I. -I../../include -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64\" -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fcommon -fPIC  -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 -I. -DLINUX5 -c argv_split.c
gcc -I. -I../../include -DHAS_SDBM -DHAS_LDAP -DHAS_PCRE -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 -DHAS_DEV_URANDOM -DDEF_SHLIB_DIR=\"/usr/lib64\" -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fcommon -fPIC  -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 -I. -DLINUX5 -c attr_clnt.c
In file included from attr_clnt.c:88:
/usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)'
  363 | extern void closefrom (int __lowfd) __THROW;
      |             ^~~~~~~~~
In file included from attr_clnt.c:87:
./sys_defs.h:1512:12: note: previous declaration of 'closefrom' with type 'int(int)'
 1512 | extern int closefrom(int);
      |            ^~~~~~~~~
make: *** [Makefile:201: attr_clnt.o] Error 1
make: *** [Makefile:104: update] Error 1
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.dZfxc7 (%build)


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.dZfxc7 (%build)
I: [iurt_root_command] ERROR: chroot