D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/ocaml-xmlm.spec line 35: autopatch: no matching patches in range sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/ocaml-xmlm-1.3.0-10.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AKZdcV sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QN8Lnj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-xmlm-1.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ocaml-xmlm-1.3.0-build + rm -rf xmlm-1.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xmlm-1.3.0.tbz + STATUS=0 + '[' 0 -ne 0 ']' + cd xmlm-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo ' true: debug' + echo ' true: annot' + 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.nOR3bL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-xmlm-1.3.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 xmlm-1.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ocaml pkg/pkg.ml build + ocamlfind ocamldep -modules src/xmlm.ml > src/xmlm.ml.depends + ocamlfind ocamldep -modules src/xmlm.mli > src/xmlm.mli.depends + ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -I src -I test -o src/xmlm.cmi src/xmlm.mli + ocamlfind ocamlopt -c -g -annot -bin-annot -safe-string -I src -I test -o src/xmlm.cmx src/xmlm.ml + ocamlfind ocamlopt -c -g -annot -bin-annot -safe-string -I src -I test -o src/xmlm.cmx src/xmlm.ml File "src/xmlm.ml", line 1128, characters 18-34: 1128 | let lowercase = String.lowercase ^^^^^^^^^^^^^^^^ Error: Unbound value "String.lowercase" Command exited with code 2. pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug' '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md' 'README.md' 'src/xmlm.a' 'src/xmlm.cmxs' 'src/xmlm.cmxa' 'src/xmlm.cma' 'src/xmlm.cmx' 'src/xmlm.cmi' 'src/xmlm.mli' 'test/xmltrip.native' 'test/examples.ml' 'test/xhtml.ml']: exited with 10 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nOR3bL (%build) RPM build warnings: /home/pterjan/rpmbuild/SPECS/ocaml-xmlm.spec line 35: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nOR3bL (%build) I: [iurt_root_command] ERROR: chroot