D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-UV-0.240.0-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uhQgCH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf UV-0.24 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/UV-0.24.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd UV-0.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -R u+w /home/pterjan/rpmbuild/BUILD/UV-0.24 + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JlCi5b + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd UV-0.24 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor # The following modules are not available. # `/usr/bin/perl5.26.0 Makefile.PL | cpanm` will install them: inc::Module::Install Module::Install::ReadmeFromPod Module::Install::Repository Module::Install::XSUtil error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JlCi5b (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JlCi5b (%build) I: [iurt_root_command] ERROR: chroot