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-Image-Sane-5.0.0-8.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LitAO6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.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.dyp1XG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + rm -rf Image-Sane-5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Image-Sane-5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Image-Sane-5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Image-Sane-5-Replace-deprecated-given-and-when-operators.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod -x examples/scanadf-perl examples/scanimage-perl + 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.2jEwS0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + cd Image-Sane-5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 'OPTIMIZE=-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' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Image::Sane Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j48 V=1 VERBOSE=1 Running Mkbootstrap for Sane () chmod 644 "Sane.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Image/Sane/Sane.bs 644 cp lib/Image/Sane/Device.pm blib/lib/Image/Sane/Device.pm cp lib/Image/Sane.pm blib/lib/Image/Sane.pm "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/Image-Sane-5/typemap' Sane.xs > Sane.xsc mv Sane.xsc Sane.c gcc -c -I. -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 -Wall -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 -DVERSION=\"5\" -DXS_VERSION=\"5\" -fPIC "-I/usr/lib64/perl5/CORE" Sane.c rm -f blib/arch/auto/Image/Sane/Sane.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 Sane.o -o blib/arch/auto/Image/Sane/Sane.so \ -lsane -lperl \ chmod 755 blib/arch/auto/Image/Sane/Sane.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.YPEpB2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT + cd Image-Sane-5 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Image/Sane/Sane.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-Image-Sane-5.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Image/Sane/Sane.so Installing /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Image/Sane.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Image/Sane/Device.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT/usr/share/man/man3/Image::Sane.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + find /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/BUILDROOT/usr + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 5.0.0-8.mga10 --unique-debug-suffix -5.0.0-8.mga10.x86_64 --unique-debug-src-base perl-Image-Sane-5.0.0-8.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/Image-Sane-5 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/perl-Image-Sane-5.0.0-8.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U2T3Le + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Image-Sane-5.0.0-build + cd Image-Sane-5 + '[' 1 -eq 1 ']' + /usr/bin/make test "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Image/Sane/Sane.bs 644 PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl5.40.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_init.t ............. ok t/2_exit.t ............. ok # Failed test '--device=test --test 2>&1' # at t/81_scanimage-perl.t line 41. # got: 'scanimage: scanning image of size 157x196 pixels at 8 bits/pixel # scanimage: acquiring gray frame, 8 bits/sample # scanimage: reading one scanline, 157 bytes... PASS # scanimage: reading one byte... PASS # scanimage: stepped read, 2 bytes... PASS # scanimage: stepped read, 4 bytes... PASS # scanimage: stepped read, 8 bytes... PASS # scanimage: stepped read, 16 bytes... PASS # scanimage: stepped read, 32 bytes... PASS # scanimage: stepped read, 64 bytes... PASS # scanimage: stepped read, 128 bytes... PASS # scanimage: stepped read, 256 bytes... PASS # scanimage: stepped read, 255 bytes... PASS # scanimage: stepped read, 127 bytes... PASS # scanimage: stepped read, 63 bytes... PASS # scanimage: stepped read, 31 bytes... PASS # scanimage: stepped read, 15 bytes... PASS # scanimage: stepped read, 7 bytes... PASS # scanimage: stepped read, 3 bytes... PASS # scanimage: received signal 13 # scanimage: trying to stop scanner # scanimage: received signal 13 # scanimage: aborting # ' # expected: 'scanimage: scanning image of size 157x196 pixels at 8 bits/pixel # scanimage: acquiring gray frame, 8 bits/sample # scanimage: reading one scanline, 157 bytes... PASS # scanimage: reading one byte... PASS # scanimage: stepped read, 2 bytes... PASS # scanimage: stepped read, 4 bytes... PASS # scanimage: stepped read, 8 bytes... PASS # scanimage: stepped read, 16 bytes... PASS # scanimage: stepped read, 32 bytes... PASS # scanimage: stepped read, 64 bytes... PASS # scanimage: stepped read, 128 bytes... PASS # scanimage: stepped read, 256 bytes... PASS # scanimage: stepped read, 255 bytes... PASS # scanimage: stepped read, 127 bytes... PASS # scanimage: stepped read, 63 bytes... PASS # scanimage: stepped read, 31 bytes... PASS # scanimage: stepped read, 15 bytes... PASS # scanimage: stepped read, 7 bytes... PASS # scanimage: stepped read, 3 bytes... PASS # ' # Looks like you failed 1 test of 6. t/81_scanimage-perl.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests t/90_MANIFEST.t ........ ok t/91_critic.t .......... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run. t/data.t ............... ok t/enums.t .............. ok t/err.t ................ ok t/non-blocking.t ....... ok t/options.t ............ ok t/pod.t ................ skipped: Test::Pod 1.00 required for testing POD Test Summary Report ------------------- t/81_scanimage-perl.t (Wstat: 256 (exited 1) Tests: 6 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=11, Tests=343, 3 wallclock secs ( 0.06 usr 0.00 sys + 0.92 cusr 0.20 csys = 1.18 CPU) Result: FAIL Failed 1/11 test programs. 1/343 subtests failed. make: *** [Makefile:1052: test_dynamic] Error 255 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.U2T3Le (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.U2T3Le (%check) I: [iurt_root_command] ERROR: chroot