tk-8.06.11-5.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd labltk-8.06.11 + mkdir -p /builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/labltk + mkdir -p /builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/stublibs + make install BINDIR=/builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/bin INSTALLDIR=/builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/labltk STUBLIBDIR=/builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/stublibs cd support; make install make[1]: Entering directory '/builddir/build/BUILD/labltk-8.06.11/support' if test -d /builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/labltk; then : ; else mkdir /builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/labltk; fi cp fileevent.mli protocol.mli textvariable.mli timer.mli rawwidget.mli widget.mli fileevent.cmi protocol.cmi textvariable.cmi timer.cmi rawwidget.cmi widget.cmi tkthread.mli tkthread.cmi tkthread.cmo camltkwrap.cmi liblabltk.a /builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/labltk cd /builddir/build/BUILDROOT/ocaml-labltk-8.06.11-5.fc37.riscv64/usr/lib64/ocaml/labltk; liblabltk.a /bin/sh: line 1: liblabltk.a: command not found make[1]: Leaving directory '/builddir/build/BUILD/labltk-8.06.11/support' make[1]: *** [Makefile:59: install] Error 127 make: *** [Makefile:80: install] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Jgmcnx (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Jgmcnx (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/ocaml-labltk.spec