D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/apache-mod_auth_pam-1.1.1-7.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.s8MfrJ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mod_auth_pam + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/mod_auth_pam-2.0-1.1.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_auth_pam + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/iurt/rpmbuild/SOURCES/shadow.html . + cp /home/iurt/rpmbuild/SOURCES/A48_mod_auth_pam.conf A48_mod_auth_pam.conf + chmod 644 INSTALL README doc/configure.html doc/faq.html doc/install.html + find . -type f + xargs file + grep CRLF + cut -d: -f1 + xargs perl -p -i -e 's/\r//' -i used with no filenames on the command line, reading from STDIN. + find . -type f + xargs file + grep text + cut -d: -f1 + xargs perl -p -i -e 's/\r//' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.AX0N61 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mod_auth_pam + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/apxs -c mod_auth_pam.c -o mod_auth_pam.la -lpam /usr/lib64/apr-1/build/libtool --silent --mode=compile aarch64-mageia-linux-gnu-gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -c -o mod_auth_pam.lo mod_auth_pam.c && touch mod_auth_pam.slo libtool: compile: unable to infer tagged configuration libtool: error: specify a tag with '--tag' apxs:Error: Command failed with rc=65536 . error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.AX0N61 (%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.AX0N61 (%build) I: [iurt_root_command] ERROR: chroot