D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/iurt/rpmbuild/SRPMS/@2173285:ocaml-dune-3.17.2-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.kBb9Rf Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gdwpee + umask 022 + cd /home/iurt/rpmbuild/BUILD/ocaml-dune-3.17.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/ocaml-dune-3.17.2-build + rm -rf dune-3.17.2 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/dune-3.17.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dune-3.17.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/ocaml-dune-no-lwt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -fr otherlibs/dune-rpc-lwt dune-rpc-lwt.opam + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/ocaml-dune-debuginfo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.q7NaBx + umask 022 + cd /home/iurt/rpmbuild/BUILD/ocaml-dune-3.17.2-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 dune-3.17.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./configure --prefix /usr --bindir /usr/bin --datadir /usr/share --docdir /usr/doc --etcdir /etc --libdir /usr/lib64/ocaml --libexecdir /usr/lib64/ocaml --mandir /usr/share/man --sbindir /usr/sbin boot/configure.ml: unknown option '--prefix'. Usage: ocaml configure.ml [OPTIONS] Options are: --libdir DIR where public libraries are looked up in the default build context. Can be specified multiple times new one taking precedence. The last is used as default destination directory for public libraries. --bindir DIR where public binaries are installed for the default build context --sbindir DIR where files for sbin section are installed for the default build context --mandir DIR where man pages are installed for the default build context --docdir DIR where documentation is installed for the default build context --etcdir DIR where configuration files are installed for the default build context --libexecdir DIR where files for the libexec_root section are installed for the default build context. Use --libdir if specified --datadir DIR where files for the share_root section are installed for the default build context --toolchains {enable|disable} Enable the toolchains behaviour, allowing dune to install the compiler in a user-wide directory. --pkg-build-progress {enable|disable} Enable the displaying of package build progress. This flag is experimental and shouldn't be relied on by packagers. --lock-dev-tool {enable|disable} Enable ocamlformat dev-tool, allows 'dune fmt' to build ocamlformat and use it, independently from the project depenedencies . This flag is experimental and shouldn't be relied on by packagers. -help Display this list of options --help Display this list of options error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.q7NaBx (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.q7NaBx (%build) I: [iurt_root_command] ERROR: chroot