D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/apache-mod_bw-0.92-8.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.sYbwE6 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf apache-mod_bw-0.92 + /usr/bin/mkdir -p apache-mod_bw-0.92 + cd apache-mod_bw-0.92 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mod_bw-0.92.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mod_bw-httpd24.patch):' Patch #0 (mod_bw-httpd24.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mod_bw.c Hunk #1 succeeded at 564 (offset 45 lines). Hunk #2 succeeded at 655 (offset 47 lines). Hunk #3 succeeded at 706 (offset 47 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.AxNCW8 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd apache-mod_bw-0.92 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/apxs -c mod_bw.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 -c -o mod_bw.lo mod_bw.c && touch mod_bw.slo /usr/lib64/apr-1/build/libtool --silent --mode=link x86_64-mageia-linux-gnu-gcc -lsystemd -Wl,-z,relro,-z,now -o mod_bw.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_bw.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.AxNCW8 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.AxNCW8 (%build) I: [iurt_root_command] ERROR: chroot