D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocaml-configurator-0.11.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.m2zvq1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf configurator-0.11.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/v0.11.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd configurator-0.11.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.74LhKI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd configurator-0.11.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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.74LhKI (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.74LhKI (%build) I: [iurt_root_command] ERROR: chroot