D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libtorrent-0.13.6-2.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U2yjV5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libtorrent-0.13.6 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/libtorrent-0.13.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtorrent-0.13.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/libtorrent-0.13.4-fix-linking.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JqxO5N + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libtorrent-0.13.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I scripts configure.ac:22: warning: macro 'AM_PATH_CPPUNIT' not found in library autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in 'scripts'. libtoolize: copying file 'scripts/libtool.m4' libtoolize: copying file 'scripts/ltoptions.m4' libtoolize: copying file 'scripts/ltsugar.m4' libtoolize: copying file 'scripts/ltversion.m4' libtoolize: copying file 'scripts/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([scripts])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. configure.ac:22: warning: macro 'AM_PATH_CPPUNIT' not found in library autoreconf: running: /usr/bin/autoconf --force configure.ac:22: error: possibly undefined macro: AM_PATH_CPPUNIT If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JqxO5N (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JqxO5N (%build) I: [iurt_root_command] ERROR: chroot