D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/ocaml-tophide.spec line 21: autopatch: no matching patches in range sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/ocaml-tophide-1.0.4-8.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2LZJZm sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PLJQ2f + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-tophide-1.0.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ocaml-tophide-1.0.4-build + rm -rf tophide-1.0.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/v1.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tophide-1.0.4 + /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.X1ce6u + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-tophide-1.0.4-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 tophide-1.0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make cat META.in > META echo 'version = "1.0.4"' >> META ocamlc -I +compiler-libs -c tophide.ml File "tophide.ml", line 29, characters 25-46: 29 | print_out_class_type = !print_out_class_type; ^^^^^^^^^^^^^^^^^^^^^ Error: This expression has type "Outcometree.out_class_type Format_doc.printer" = "Format_doc.formatter -> Outcometree.out_class_type -> unit" but an expression was expected of type "Format.formatter -> Outcometree.out_class_type -> unit" Type "Format_doc.formatter" is not compatible with type "Format.formatter" make: *** [Makefile:11: tophide.cmo] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.X1ce6u (%build) RPM build warnings: /home/pterjan/rpmbuild/SPECS/ocaml-tophide.spec line 21: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.X1ce6u (%build) I: [iurt_root_command] ERROR: chroot