D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/ocaml-pp-2.0.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uAVsL9 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IMirLw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build + rm -rf pp-2.0.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pp-2.0.0.tbz + STATUS=0 + '[' 0 -ne 0 ']' + cd pp-2.0.0 + /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.cZtU3n + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pp-2.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + OFLAGS='-w -40 -g' + OCFLAGS='-w -40 -g -bin-annot' + cd src + ocamlc -w -40 -g -bin-annot -no-alias-deps -o pp.cmi -c -intf pp.mli + ocamlc -w -40 -g -bin-annot -intf-suffix .ml -no-alias-deps -o pp.cmo -c -impl pp.ml + ocamlc -w -40 -g -a -o pp.cma pp.cmo + ocamlopt -w -40 -g -intf-suffix .ml -no-alias-deps -o pp.cmx -c -impl pp.ml + ocamlopt -w -40 -g -a -o pp.cmxa pp.cmx + ocamlopt -w -40 -g -shared -linkall -I . -o pp.cmxs pp.cmxa + 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.mgExyn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build + mkdir /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pp-2.0.0 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build/BUILDROOT/usr/lib64/ocaml/pp + cp -p src/pp.cma src/pp.cmi src/pp.cmt src/pp.cmti src/pp.mli /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build/BUILDROOT/usr/lib64/ocaml/pp + cp -p src/pp.a src/pp.cmx src/pp.cmxa src/pp.cmxs /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build/BUILDROOT/usr/lib64/ocaml/pp + cp -p pp.opam /home/pterjan/rpmbuild/BUILD/ocaml-pp-2.0.0-build/BUILDROOT/usr/lib64/ocaml/pp/opam + cat + cat + %ocaml_files /home/pterjan/rpmbuild/tmp/rpm-tmp.mgExyn: line 104: fg: no job control error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mgExyn (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mgExyn (%install) I: [iurt_root_command] ERROR: chroot