Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-camlp5-buildscripts.spec'], chrootPath='/var/lib/mock/f39-build-2480157-61618/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=982gid=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-camlp5-buildscripts.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=1709251200 Wrote: /builddir/build/SRPMS/ocaml-camlp5-buildscripts-0.03-1.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-camlp5-buildscripts.spec'], chrootPath='/var/lib/mock/f39-build-2480157-61618/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=982gid=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-camlp5-buildscripts.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=1709251200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7YzXFJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf camlp5-buildscripts-0.03 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/camlp5-buildscripts-0.03.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd camlp5-buildscripts-0.03 + rm -rf /builddir/build/BUILD/camlp5-buildscripts-0.03-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/camlp5-buildscripts-0.03-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/ocamlc/ocamlopt/ src/Makefile + sed -i 's/-linkpkg/-g &/' src/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JnCQ4i + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 -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 camlp5-buildscripts-0.03 + /usr/bin/make -O -j64 V=1 VERBOSE=1 set -e; for i in src; do cd $i; /usr/bin/make all; cd ..; done make[1]: Entering directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' ocamlfind ocamlopt -g -linkpkg -linkall -package re,fmt,unix,bos LAUNCH.ml -o LAUNCH make[1]: Leaving directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' make[1]: Entering directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' ocamlfind ocamlopt -g -linkpkg -linkall -package re,fmt,unix,bos ya_wrap_ocamlfind.ml -o ya-wrap-ocamlfind make[1]: Leaving directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' make[1]: Entering directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' ocamlfind ocamlopt -g -linkpkg -linkall -package re,fmt,unix,bos fixin.ml -o fixin make[1]: Leaving directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' make[1]: Entering directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' ocamlfind ocamlopt -g -linkpkg -linkall -package re,fmt,unix,bos join_meta.ml -o join_meta make[1]: Leaving directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' /usr/bin/make DESTDIR=/builddir/build/BUILD/camlp5-buildscripts-0.03/src/../local-install/ install make[2]: Entering directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' mkdir -p /builddir/build/BUILD/camlp5-buildscripts-0.03/src/../local-install//lib touch META not-ocamlfind reinstall-if-diff camlp5-buildscripts -destdir /builddir/build/BUILD/camlp5-buildscripts-0.03/src/../local-install//lib META ya-wrap-ocamlfind fixin join_meta LAUNCH make[2]: Leaving directory '/builddir/build/BUILD/camlp5-buildscripts-0.03/src' the file '/usr/bin/not-ocamlfind' has not the right magic number: expected Caml1999X033, got Caml1999X032 make[2]: *** [Makefile:28: install] Error 127 make[1]: *** [Makefile:11: all] Error 2 make: *** [Makefile:10: sys] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JnCQ4i (%build) Bad exit status from /var/tmp/rpm-tmp.JnCQ4i (%build) 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-camlp5-buildscripts.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 597, 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-camlp5-buildscripts.spec