Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-xmlm.spec'], chrootPath='/var/lib/mock/f39-build-1539953-36451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-xmlm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/ocaml-xmlm-1.4.0-3.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-xmlm.spec'], chrootPath='/var/lib/mock/f39-build-1539953-36451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-xmlm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AB2obo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmlm-1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xmlm-1.4.0.tbz + STATUS=0 + '[' 0 -ne 0 ']' + cd xmlm-1.4.0 + rm -rf /builddir/build/BUILD/xmlm-1.4.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/xmlm-1.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xmlm-1.4.0-debug.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 /var/tmp/rpm-tmp.1CtDvc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmlm-1.4.0 + ocaml pkg/pkg.ml build --dev-pkg false --tests true ocamlfind ocamldep -modules src/xmlm.ml > src/xmlm.ml.depends ocamlfind ocamldep -modules src/xmlm.mli > src/xmlm.mli.depends ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/xmlm.cmi src/xmlm.mli ocamlfind ocamlopt -c -g -bin-annot -safe-string -I src -I test -o src/xmlm.cmx src/xmlm.ml ocamlfind ocamlopt -a -I src src/xmlm.cmx -o src/xmlm.cmxa ocamlfind ocamlopt -shared -linkall -I src src/xmlm.cmxa -o src/xmlm.cmxs ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/xmlm.cmo src/xmlm.ml ocamlfind ocamlc -a -I src src/xmlm.cmo -o src/xmlm.cma ocamlfind ocamldep -modules test/xmltrip.ml > test/xmltrip.ml.depends ocamlfind ocamldep -modules test/xhtml.ml > test/xhtml.ml.depends ocamlfind ocamlc -c -g -bin-annot -safe-string -I test -I src -o test/xhtml.cmo test/xhtml.ml ocamlfind ocamlc -c -g -bin-annot -safe-string -I test -I src -o test/xmltrip.cmo test/xmltrip.ml ocamlfind ocamlopt -c -g -bin-annot -safe-string -I test -I src -o test/xhtml.cmx test/xhtml.ml ocamlfind ocamlopt -c -g -bin-annot -safe-string -I test -I src -o test/xmltrip.cmx test/xmltrip.ml ocamlfind ocamlopt -linkpkg -g -I src -I test src/xmlm.cmx test/xhtml.cmx test/xmltrip.cmx -o test/xmltrip.native ocamlfind ocamldep -modules test/examples.ml > test/examples.ml.depends ocamlfind ocamlc -c -g -bin-annot -safe-string -I test -I src -o test/examples.cmo test/examples.ml ocamlfind ocamlopt -c -g -bin-annot -safe-string -I test -I src -o test/examples.cmx test/examples.ml ocamlfind ocamlopt -linkpkg -g -I src -I test src/xmlm.cmx test/examples.cmx -o test/examples.native ocamlfind ocamldep -modules test/test.ml > test/test.ml.depends ocamlfind ocamlc -c -g -bin-annot -safe-string -I test -I src -o test/test.cmo test/test.ml ocamlfind ocamlopt -c -g -bin-annot -safe-string -I test -I src -o test/test.cmx test/test.ml ocamlfind ocamlopt -linkpkg -g -I src -I test src/xmlm.cmx test/test.cmx -o test/test.native ocamlfind ocamlopt -linkpkg -g -I test test/xhtml.cmx -o test/xhtml.native ocamlfind ocamldep -modules test/test_tree.ml > test/test_tree.ml.depends ocamlfind ocamlc -c -g -bin-annot -safe-string -I test -I src -o test/test_tree.cmo test/test_tree.ml ocamlfind ocamlopt -c -g -bin-annot -safe-string -I test -I src -o test/test_tree.cmx test/test_tree.ml ocamlfind ocamlopt -linkpkg -g -I src -I test src/xmlm.cmx test/test_tree.cmx -o test/test_tree.native # No parallelism done + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nsPIBR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmlm-1.4.0 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64/usr/lib64/ocaml/xmlm + install -m 755 -p _build/test/xmltrip.byte /builddir/build/BUILDROOT/ocaml-xmlm-1.4.0-3.fc39.riscv64/usr/bin/xmltrip install: cannot stat '_build/test/xmltrip.byte': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.nsPIBR (%install) Bad exit status from /var/tmp/rpm-tmp.nsPIBR (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-xmlm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-xmlm.spec