D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/perl-File-Flock-2014.10.0-11.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ppSVLW sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yk3JB4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build + rm -rf File-Flock-2014.01 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/File-Flock-2014.01.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd File-Flock-2014.01 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aPQz7P + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd File-Flock-2014.01 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Build.PL --installdirs=vendor Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'File-Flock' version '2014.01' + ./Build Building File-Flock + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected sh: line 4: [: -j8: integer expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WkwBqB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd File-Flock-2014.01 + '[' 1 -eq 1 ']' + ./Build install --destdir=/home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT Building File-Flock Installing /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT/usr/share/perl5/vendor_perl/File/Flock.pm Installing /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT/usr/share/perl5/vendor_perl/File/Flock/Subprocess.pm Installing /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT/usr/share/perl5/vendor_perl/File/Flock/Forking.pm Installing /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT/usr/share/man/man3/File::Flock.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT/usr/share/man/man3/File::Flock::Forking.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/BUILDROOT/usr/share/man/man3/File::Flock::Subprocess.3pm + /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/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /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 sh: line 4: [: -j8: integer expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8wD0AG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd File-Flock-2014.01 + '[' 1 -eq 1 ']' + ./Build test t/auto.t ......... skipped: flock() is supported on this platform t/auto2.t ........ skipped: flock() is supported on this platform t/flock.t ........ ok t/flock2.t ....... ok t/forking.t ...... ok # Failed test 'now can get multi lock' # at /home/pterjan/rpmbuild/BUILD/perl-File-Flock-2014.10.0-build/File-Flock-2014.01/t/flock2.tt line 160. # Looks like you failed 1 test of 20. t/forking2.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/20 subtests t/subprocess.t ... ok t/subprocess2.t .. ok Test Summary Report ------------------- t/forking2.t (Wstat: 256 (exited 1) Tests: 20 Failed: 1) Failed test: 20 Non-zero exit status: 1 Files=8, Tests=657, 8 wallclock secs ( 0.09 usr 0.00 sys + 0.60 cusr 0.23 csys = 0.92 CPU) Result: FAIL Failed 1/8 test programs. 1/657 subtests failed. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8wD0AG (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8wD0AG (%check) I: [iurt_root_command] ERROR: chroot