D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/ocaml-lwt_log-1.1.1-6.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DZN6Vj Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rIRDSZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-lwt_log-1.1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ocaml-lwt_log-1.1.1-build + rm -rf lwt_log-1.1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lwt_log-1.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lwt_log-1.1.1 + /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.0hRCZE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-lwt_log-1.1.1-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 lwt_log-1.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + dune build --verbose -p lwt_log -j16 Shared cache: enabled-except-user-rules Shared cache location: /home/pterjan/.cache/dune/db Workspace root: /home/pterjan/rpmbuild/BUILD/ocaml-lwt_log-1.1.1-build/lwt_log-1.1.1 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 && /usr/bin/ocamldep.opt -modules -impl src/unix/lwt_log.ml) > _build/default/src/unix/.lwt_log.objs/lwt_log.impl.d Running[2]: (cd _build/default && /usr/bin/ocamllex -q -o src/core/lwt_log_rules.ml src/core/lwt_log_rules.mll) Running[3]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/unix/lwt_daemon.ml) > _build/default/src/unix/.lwt_log.objs/lwt_daemon.impl.d Running[4]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/unix/lwt_daemon.mli) > _build/default/src/unix/.lwt_log.objs/lwt_daemon.intf.d Running[5]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/core/lwt_log_core.mli) > _build/default/src/core/.lwt_log_core.objs/lwt_log_core.intf.d Running[6]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/core/lwt_log_core.ml) > _build/default/src/core/.lwt_log_core.objs/lwt_log_core.impl.d Running[7]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/unix/lwt_log.mli) > _build/default/src/unix/.lwt_log.objs/lwt_log.intf.d Running[8]: (cd _build/default && /usr/bin/ocamldep.opt -modules -intf src/core/lwt_log_rules.mli) > _build/default/src/core/.lwt_log_core.objs/lwt_log_rules.intf.d Running[9]: (cd _build/default && /usr/bin/ocamldep.opt -modules -impl src/core/lwt_log_rules.ml) > _build/default/src/core/.lwt_log_core.objs/lwt_log_rules.impl.d Running[10]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/core/.lwt_log_core.objs/byte -I /usr/lib64/ocaml/lwt -no-alias-deps -o src/core/.lwt_log_core.objs/byte/lwt_log_core.cmi -c -intf src/core/lwt_log_core.mli) Running[11]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/core/.lwt_log_core.objs/byte -I /usr/lib64/ocaml/lwt -no-alias-deps -o src/core/.lwt_log_core.objs/byte/lwt_log_rules.cmi -c -intf src/core/lwt_log_rules.mli) Running[12]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/core/.lwt_log_core.objs/byte -I /usr/lib64/ocaml/lwt -intf-suffix .ml -no-alias-deps -o src/core/.lwt_log_core.objs/byte/lwt_log_rules.cmo -c -impl src/core/lwt_log_rules.ml) Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w +A -g -I src/core/.lwt_log_core.objs/byte -I src/core/.lwt_log_core.objs/native -I /usr/lib64/ocaml/lwt -intf-suffix .ml -no-alias-deps -o src/core/.lwt_log_core.objs/native/lwt_log_rules.cmx -c -impl src/core/lwt_log_rules.ml) Running[14]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/core/.lwt_log_core.objs/byte -I /usr/lib64/ocaml/lwt -intf-suffix .ml -no-alias-deps -o src/core/.lwt_log_core.objs/byte/lwt_log_core.cmo -c -impl src/core/lwt_log_core.ml) Running[15]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/unix/.lwt_log.objs/byte -I /usr/lib64/ocaml/lwt -I /usr/lib64/ocaml/lwt/unix -I /usr/lib64/ocaml/ocplib-endian -I /usr/lib64/ocaml/ocplib-endian/bigstring -I /usr/lib64/ocaml/threads -I /usr/lib64/ocaml/unix -I src/core/.lwt_log_core.objs/byte -no-alias-deps -o src/unix/.lwt_log.objs/byte/lwt_log.cmi -c -intf src/unix/lwt_log.mli) Running[16]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/unix/.lwt_log.objs/byte -I /usr/lib64/ocaml/lwt -I /usr/lib64/ocaml/lwt/unix -I /usr/lib64/ocaml/ocplib-endian -I /usr/lib64/ocaml/ocplib-endian/bigstring -I /usr/lib64/ocaml/threads -I /usr/lib64/ocaml/unix -I src/core/.lwt_log_core.objs/byte -intf-suffix .ml -no-alias-deps -o src/unix/.lwt_log.objs/byte/lwt_log.cmo -c -impl src/unix/lwt_log.ml) Running[17]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/unix/.lwt_log.objs/byte -I /usr/lib64/ocaml/lwt -I /usr/lib64/ocaml/lwt/unix -I /usr/lib64/ocaml/ocplib-endian -I /usr/lib64/ocaml/ocplib-endian/bigstring -I /usr/lib64/ocaml/threads -I /usr/lib64/ocaml/unix -I src/core/.lwt_log_core.objs/byte -no-alias-deps -o src/unix/.lwt_log.objs/byte/lwt_daemon.cmi -c -intf src/unix/lwt_daemon.mli) Command [14] exited with code 2: $ (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/core/.lwt_log_core.objs/byte -I /usr/lib64/ocaml/lwt -intf-suffix .ml -no-alias-deps -o src/core/.lwt_log_core.objs/byte/lwt_log_core.cmo -c -impl src/core/lwt_log_core.ml) File "src/core/lwt_log_core.ml", line 50, characters 13-29: 50 | let str = (String.lowercase [@ocaml.warning "-3"]) str in ^^^^^^^^^^^^^^^^ Error: Unbound value "String.lowercase" Running[18]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w +A -g -I src/core/.lwt_log_core.objs/byte -I src/core/.lwt_log_core.objs/native -I /usr/lib64/ocaml/lwt -intf-suffix .ml -no-alias-deps -o src/core/.lwt_log_core.objs/native/lwt_log_core.cmx -c -impl src/core/lwt_log_core.ml) Running[19]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -bin-annot -bin-annot-occurrences -I src/unix/.lwt_log.objs/byte -I /usr/lib64/ocaml/lwt -I /usr/lib64/ocaml/lwt/unix -I /usr/lib64/ocaml/ocplib-endian -I /usr/lib64/ocaml/ocplib-endian/bigstring -I /usr/lib64/ocaml/threads -I /usr/lib64/ocaml/unix -I src/core/.lwt_log_core.objs/byte -intf-suffix .ml -no-alias-deps -o src/unix/.lwt_log.objs/byte/lwt_daemon.cmo -c -impl src/unix/lwt_daemon.ml) Command [18] exited with code 2: $ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w +A -g -I src/core/.lwt_log_core.objs/byte -I src/core/.lwt_log_core.objs/native -I /usr/lib64/ocaml/lwt -intf-suffix .ml -no-alias-deps -o src/core/.lwt_log_core.objs/native/lwt_log_core.cmx -c -impl src/core/lwt_log_core.ml) File "src/core/lwt_log_core.ml", line 50, characters 13-29: 50 | let str = (String.lowercase [@ocaml.warning "-3"]) str in ^^^^^^^^^^^^^^^^ Error: Unbound value "String.lowercase" Running[20]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -w +A -g -a -o src/unix/lwt_log.cma src/unix/.lwt_log.objs/byte/lwt_log.cmo src/unix/.lwt_log.objs/byte/lwt_daemon.cmo) error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0hRCZE (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0hRCZE (%build) I: [iurt_root_command] ERROR: chroot