D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocaml-cfg-2.1.0-11.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qQ585l + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf cfg-2.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cfg-2.1.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/pterjan/rpmbuild/tmp/rpm-tmp.cYgVIj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cfg-2.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + sed -i 's!jbuilder!dune!' Makefile + sed -i 's!--dev!!' Makefile + dune upgrade Error: I cannot find the root of the current workspace/project. If you would like to create a new dune project, you can type: dune init project NAME Otherwise, please make sure to run dune inside an existing project or workspace. For more information about how dune identifies the root of the current workspace/project, please refer to https://dune.readthedocs.io/en/stable/usage.html#finding-the-root error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cYgVIj (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cYgVIj (%build) I: [iurt_root_command] ERROR: chroot