D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/apache-mod_authnz_external-3.3.2-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.j01vL1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mod_authnz_external-3.3.2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mod_authnz_external-3.3.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_authnz_external-3.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 644 AUTHENTICATORS CHANGES INSTALL INSTALL.HARDCODE README TODO + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6SU3X1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mod_authnz_external-3.3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/apxs -c -I . mod_authnz_external.c /usr/lib64/apr-1/build/libtool --silent --mode=compile x86_64-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 -I. -c -o mod_authnz_external.lo mod_authnz_external.c && touch mod_authnz_external.slo /usr/lib64/apr-1/build/libtool --silent --mode=link x86_64-mageia-linux-gnu-gcc -lsystemd -Wl,-z,relro,-z,now -o mod_authnz_external.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_authnz_external.lo /usr/bin/ld: cannot find -lsystemd collect2: error: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.6SU3X1 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.6SU3X1 (%build) I: [iurt_root_command] ERROR: chroot