D: [iurt_root_command] chroot Building target platforms: i686 Building for target i686 Installing /home/iurt/rpmbuild/SRPMS/@2194078:ocaml-lzma-0.03-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gkf5XH Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FyWjtt + umask 022 + cd /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build + rm -rf ocaml-lzma-0.03 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/ocaml-lzma-0.03.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-lzma-0.03 + /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.eoJ3mb + umask 022 + cd /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocaml-lzma-0.03 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd src/ + make byte cma ocamlc -g -i lzma.ml > lzma.mli ocamlc -g -c lzma.mli ocamlc -g -c lzma.ml ocamlc -g -c -ccopt "-I/usr/include" lzma_stubs.c lzma_stubs.c:21:9: warning: 'Some_val' redefined 21 | #define Some_val(v) Field(v,0) | ^~~~~~~~ In file included from lzma_stubs.c:11: /usr/lib/ocaml/caml/mlvalues.h:480:9: note: this is the location of the previous definition 480 | #define Some_val(v) Field(v, 0) | ^~~~~~~~ ocamlmklib -oc lzma_stubs lzma_stubs.o -L/usr/lib -llzma ocamlc -g -a -o lzma.cma -ccopt "-L/usr/lib -llzma" -dllib -llzma_stubs lzma.cmo make: Nothing to be done for 'cma'. + make doc mkdir -p doc ocamldoc lzma.ml -colorize-code -html -d doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.mn3U9o + umask 022 + cd /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build + mkdir /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT + 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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocaml-lzma-0.03 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT/usr/lib/ocaml/lzma + mkdir -p /home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT/usr/lib/ocaml/stublibs + make install -C src/ PREFIX=/home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT/usr/lib/ocaml/lzma SO_PREFIX=/home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/BUILDROOT/usr/lib/ocaml/stublibs make: Entering directory '/home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/ocaml-lzma-0.03/src' ocamlopt -g -c lzma.ml make: ocamlopt: No such file or directory make: *** [Makefile:36: lzma.cmx] Error 127 make: Leaving directory '/home/iurt/rpmbuild/BUILD/ocaml-lzma-0.03-build/ocaml-lzma-0.03/src' error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.mn3U9o (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.mn3U9o (%install) I: [iurt_root_command] ERROR: chroot