D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-Text-Iconv-1.700.0-16.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ezpywd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.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.ISCjJX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + rm -rf Text-Iconv-1.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Text-Iconv-1.7.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Text-Iconv-1.7 + /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.Hjfgjm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + cd Text-Iconv-1.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking for iconv ... ok (iconv apparently in libc) NOTE: If you have multiple iconv implementations installed, you might want to make sure that I've found the one you want to use. If necessary, you can explicitly specify paths like this: /usr/bin/perl5.40.0 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Text::Iconv Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j48 V=1 VERBOSE=1 cp Iconv.pm blib/lib/Text/Iconv.pm AutoSplitting blib/lib/Text/Iconv.pm (blib/lib/auto/Text/Iconv) "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/Text-Iconv-1.7/typemap' Iconv.xs > Iconv.xsc mv Iconv.xsc Iconv.c Running Mkbootstrap for Iconv () chmod 644 "Iconv.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Iconv.bs blib/arch/auto/Text/Iconv/Iconv.bs 644 gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"1.7\" -DXS_VERSION=\"1.7\" -fPIC "-I/usr/lib64/perl5/CORE" Iconv.c rm -f blib/arch/auto/Text/Iconv/Iconv.so gcc -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong Iconv.o -o blib/arch/auto/Text/Iconv/Iconv.so \ -lperl \ chmod 755 blib/arch/auto/Text/Iconv/Iconv.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MxbiJn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT + cd Text-Iconv-1.7 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' INSTALLDIRS=vendor "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Iconv.bs blib/arch/auto/Text/Iconv/Iconv.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Text/Iconv/Iconv.so Installing /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Text/Iconv.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Text/Iconv/autosplit.ix Installing /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT/usr/share/man/man3/Text::Iconv.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + find /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT -name perllocal.pod -delete + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 1.700.0-16.mga10 --unique-debug-suffix -1.700.0-16.mga10.x86_64 --unique-debug-src-base perl-Text-Iconv-1.700.0-16.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/Text-Iconv-1.7 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Text-Iconv-1.700.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Text/Iconv/Iconv.so'; reason: Permission denied *** ERROR:: GDB exited with exit status 1 during index generation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MxbiJn (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MxbiJn (%install) I: [iurt_root_command] ERROR: chroot