D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/iurt/rpmbuild/SRPMS/@2193628:ocaml-migrate-parsetree-2.4.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qXcSvH Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lnZnxT + umask 022 + cd /home/iurt/rpmbuild/BUILD/ocaml-migrate-parsetree-2.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/ocaml-migrate-parsetree-2.4.0-build + rm -rf ocaml-migrate-parsetree-2.4.0 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/ocaml-migrate-parsetree-2.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-migrate-parsetree-2.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.GCV7dO + umask 022 + cd /home/iurt/rpmbuild/BUILD/ocaml-migrate-parsetree-2.4.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 ocaml-migrate-parsetree-2.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + dune build --verbose --release -j24 Shared cache: enabled-except-user-rules Shared cache location: /home/iurt/.cache/dune/db Workspace root: /home/iurt/rpmbuild/BUILD/ocaml-migrate-parsetree-2.4.0-build/ocaml-migrate-parsetree-2.4.0 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Actual targets: - recursive alias @install Running[1]: (cd _build/default/src && /usr/bin/ocaml config/gen.ml 5.3.0) Running[2]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl tools/pp.ml) > _build/default/tools/.pp.eobjs/dune__exe__Pp.impl.d Running[3]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf tools/pp_rewrite.mli) > _build/default/tools/.pp.eobjs/dune__exe__Pp_rewrite.intf.d Running[4]: (cd _build/default && /usr/bin/ocamllex -q -o tools/pp_rewrite.ml tools/pp_rewrite.mll) Running[5]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl tools/pp_rewrite.ml) > _build/default/tools/.pp.eobjs/dune__exe__Pp_rewrite.impl.d Running[6]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -49 -nopervasives -nostdlib -g -bin-annot -bin-annot-occurrences -I tools/.pp.eobjs/byte -no-alias-deps -o tools/.pp.eobjs/byte/dune__exe.cmo -c -impl tools/.pp.eobjs/dune__exe.ml-gen) Running[7]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf tools/pp.mli) > _build/default/tools/.pp.eobjs/dune__exe__Pp.intf.d Running[8]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -49 -nopervasives -nostdlib -g -I tools/.pp.eobjs/byte -I tools/.pp.eobjs/native -intf-suffix .ml-gen -no-alias-deps -o tools/.pp.eobjs/native/dune__exe.cmx -c -impl tools/.pp.eobjs/dune__exe.ml-gen) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3 -g -bin-annot -bin-annot-occurrences -I tools/.pp.eobjs/byte -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/byte/dune__exe__Pp_rewrite.cmi -c -intf tools/pp_rewrite.mli) Running[10]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -3 -g -bin-annot -bin-annot-occurrences -I tools/.pp.eobjs/byte -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/byte/dune__exe__Pp.cmi -c -intf tools/pp.mli) Running[11]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3 -g -I tools/.pp.eobjs/byte -I tools/.pp.eobjs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/native/dune__exe__Pp_rewrite.cmx -c -impl tools/pp_rewrite.ml) Running[12]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3 -g -I tools/.pp.eobjs/byte -I tools/.pp.eobjs/native -intf-suffix .ml -no-alias-deps -open Dune__exe -o tools/.pp.eobjs/native/dune__exe__Pp.cmx -c -impl tools/pp.ml) File "src/dune", lines 7-9, characters 0-93: 7 | (rule 8 | (targets ast-version) 9 | (action (run %{ocaml} %{dep:config/gen.ml} %{ocaml_version}))) Command [1] exited with code 1: $ (cd _build/default/src && /usr/bin/ocaml config/gen.ml 5.3.0) Unknown OCaml version 5.3.0 Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3 -g -o tools/pp.exe tools/.pp.eobjs/native/dune__exe.cmx tools/.pp.eobjs/native/dune__exe__Pp_rewrite.cmx tools/.pp.eobjs/native/dune__exe__Pp.cmx) error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.GCV7dO (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.GCV7dO (%build) I: [iurt_root_command] ERROR: chroot