D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 14: %{upstream_name}-%{upstream_version}.tar.gz sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-Sereal-Decoder-5.4.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.geFIMa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.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.RxjGK4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + rm -rf Sereal-Decoder-5.004 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Sereal-Decoder-5.004.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Sereal-Decoder-5.004 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/-O3/-O2/ inc/Sereal/BuildTools.pm + 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.jUaeZp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + cd Sereal-Decoder-5.004 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor USE_UNALIGNED not set in env. Use unaligned loads and stores? yes/no [no] no neither NO_ASM nor ZSTD_DISABLE_ASM set in env. Use assembly in ZSTD? yes/no [yes] yes Using bundled csnappy code Using bundled miniz code Using bundled zstd code Checking if your kit is complete... Looks good # Running zstd/Makefile.PL Generating a Unix-style Makefile Writing Makefile for Sereal::Decoder Writing MYMETA.yml and MYMETA.json + make cp lib/Sereal/Decoder.pm blib/lib/Sereal/Decoder.pm cp lib/Sereal/Decoder/Constants.pm blib/lib/Sereal/Decoder/Constants.pm cp lib/Sereal/Performance.pm blib/lib/Sereal/Performance.pm make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/Sereal-Decoder-5.004/zstd' gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/debug.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/entropy_common.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/error_private.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/fse_decompress.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/pool.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/threading.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/xxhash.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c common/zstd_common.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/fse_compress.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/hist.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/huf_compress.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_compress.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_compress_literals.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_compress_sequences.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_compress_superblock.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_double_fast.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_fast.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_lazy.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_ldm.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstd_opt.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c compress/zstdmt_compress.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c decompress/huf_decompress.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c decompress/zstd_ddict.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c decompress/zstd_decompress.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -fno-tree-vectorize -c decompress/zstd_decompress_block.c gcc -I. -I./common -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=0 -O3 -fPIC -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -c decompress/huf_decompress_amd64.S compiling static library ar rcs libzstd.o *.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/Sereal-Decoder-5.004/zstd' Running Mkbootstrap for Decoder () chmod 644 "Decoder.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Decoder.bs blib/arch/auto/Sereal/Decoder/Decoder.bs 644 "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/Sereal-Decoder-5.004/typemap' Decoder.xs > Decoder.xsc mv Decoder.xsc Decoder.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 -O2 -DVERSION=\"5.004\" -DXS_VERSION=\"5.004\" -fPIC "-I/usr/lib64/perl5/CORE" -DNDEBUG -DMINIZ_NO_STDIO Decoder.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 -O2 -DVERSION=\"5.004\" -DXS_VERSION=\"5.004\" -fPIC "-I/usr/lib64/perl5/CORE" -DNDEBUG -DMINIZ_NO_STDIO srl_decoder.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 -O2 -DVERSION=\"5.004\" -DXS_VERSION=\"5.004\" -fPIC "-I/usr/lib64/perl5/CORE" -DNDEBUG -DMINIZ_NO_STDIO miniz.c rm -f blib/arch/auto/Sereal/Decoder/Decoder.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 Decoder.o srl_decoder.o miniz.o zstd/libzstd.o -o blib/arch/auto/Sereal/Decoder/Decoder.so \ -lperl \ chmod 755 blib/arch/auto/Sereal/Decoder/Decoder.so Manifying 2 pod documents + 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.utk20a + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT + cd Sereal-Decoder-5.004 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/Sereal-Decoder-5.004/zstd' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/Sereal-Decoder-5.004/zstd' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Decoder.bs blib/arch/auto/Sereal/Decoder/Decoder.bs 644 Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Sereal/Decoder/Decoder.so Installing /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Sereal/Decoder.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Sereal/Performance.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Sereal/Decoder/Constants.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/share/man/man3/Sereal::Decoder.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/share/man/man3/Sereal::Performance.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 5.4.0-3.mga10 --unique-debug-suffix -5.4.0-3.mga10.x86_64 --unique-debug-src-base perl-Sereal-Decoder-5.4.0-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/Sereal-Decoder-5.004 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Sereal-Decoder-5.4.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Sereal/Decoder/Decoder.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.utk20a (%install) RPM build warnings: Macro expanded in comment on line 14: %{upstream_name}-%{upstream_version}.tar.gz RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.utk20a (%install) I: [iurt_root_command] ERROR: chroot