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/iteml-2.8-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.u7HSCu sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.H3QqZa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/iteml-2.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/iteml-2.8-build + rm -rf qtest-2.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/iteml-2.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd qtest-2.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fix-safe-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/debug.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.cX6k55 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/iteml-2.8-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 qtest-2.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j48 V=1 VERBOSE=1 ocamlbuild -use-ocamlfind all.otarget + /usr/bin/ocamllex.opt -q src/qtest.mll + ocamlfind ocamldep -package bytes -modules src/qtest.ml > src/qtest.ml.depends + ocamlfind ocamldep -package bytes -modules src/core.ml > src/core.ml.depends + /usr/bin/ocamllex.opt -q src/misclex.mll + ocamlfind ocamldep -package bytes -modules src/misclex.ml > src/misclex.ml.depends + ocamlfind ocamlc -c -g -safe-string -w A -package bytes -w -4 -w -44 -w -50 -I src -I tests -o src/misclex.cmo src/misclex.ml + ocamlfind ocamlc -c -g -safe-string -w A -package bytes -w -4 -w -44 -w -50 -I src -I tests -o src/misclex.cmo src/misclex.ml File "src/misclex.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. + /usr/bin/ocamlyacc src/qparse.mly + ocamlfind ocamldep -package bytes -modules src/qparse.mli > src/qparse.mli.depends + ocamlfind ocamlc -c -g -safe-string -w A -package bytes -w -4 -w -44 -w -50 -I src -I tests -o src/core.cmo src/core.ml + ocamlfind ocamlc -c -g -safe-string -w A -package bytes -w -4 -w -44 -w -50 -I src -I tests -o src/core.cmo src/core.ml File "src/core.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "src/core.ml", line 46, characters 6-13: 46 | let content = Bytes.to_string lex.Lexing.lex_buffer in ^^^^^^^ Warning 26 [unused-var]: unused variable content. + ocamlfind ocamlc -c -g -safe-string -w A -package bytes -w -4 -w -44 -w -50 -I src -I tests -o src/qparse.cmi src/qparse.mli + ocamlfind ocamlc -c -g -safe-string -w A -package bytes -w -29 -w -4 -w -44 -w -50 -I src -I tests -o src/qtest.cmo src/qtest.ml + ocamlfind ocamlc -c -g -safe-string -w A -package bytes -w -29 -w -4 -w -44 -w -50 -I src -I tests -o src/qtest.cmo src/qtest.ml File "src/qtest.mll", line 222, characters 4-21: Error: Unbound value "String.capitalize" Command exited with code 2. make: *** [Makefile:3: build] Error 10 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cX6k55 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cX6k55 (%build) I: [iurt_root_command] ERROR: chroot