D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-CPANDB-0.180.0-12.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BC3RAD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tB7WIj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + rm -rf CPANDB-0.18 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/CPANDB-0.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd CPANDB-0.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.arlwLi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-CPANDB-0.180.0-build + cd CPANDB-0.18 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Can't locate inc/Module/Install/DSL.pm in @INC (you may need to install the inc::Module::Install::DSL module) (@INC entries checked: /usr/local/lib64/perl5/5.40 /usr/local/share/perl5/5.40 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.arlwLi (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.arlwLi (%build) I: [iurt_root_command] ERROR: chroot