Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-labltk.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-357642-41331/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=432000uid=993gid=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-labltk.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 Wrote: /builddir/build/SRPMS/ocaml-labltk-8.06.12-8.ocs23.rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-labltk.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-357642-41331/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=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-labltk.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rjBhDO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf labltk-8.06.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/labltk-8.06.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd labltk-8.06.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/labltk-8.06.11-enable-debugging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/labltk-8.06.12-use-fpic-configure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -type f + xargs sed -i -e s/-warn-error/-w/g + mv browser browser.old + mkdir browser + echo -e 'all:\ninstall:\n' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.flOGa5 + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -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/OpenCloudOS/OpenCloudOS-hardened-ld -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.12 + ./configure -verbose Configuring LablTk... runtest: gcc -o tst tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/local/include -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/opt/local/include -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/sw/include -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/pkg/include -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/include -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/X11/include -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/include/tcl8.6 -I/usr/include/tk8.6 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/local/include/tcl8.5 -I/usr/local/include/tk8.5 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/include/tcl8.5 -I/usr/include/tk8.5 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/include/tcl8.4 -I/usr/include/tk8.4 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/local/include/tcl8.3 -I/usr/local/include/tk8.3 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/include/tcl8.3 -I/usr/include/tk8.3 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/local/include/tcl8.2 -I/usr/local/include/tk8.2 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. runtest: gcc -o tst -I/usr/include/tcl8.2 -I/usr/include/tk8.2 -I/usr/local/include tclversion.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/riscvers/riscvers-hardened-ld -Wl,--build-id=sha1 -lm -lpthread gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-ld': No such file or directory compilation terminated. tcl.h and/or tk.h not found. ** Configuration summary ** The "labltk" library: not supported + unset MAKEFLAGS ++ pkg-config --libs tk + make all opt 'SHAREDCCCOMPOPTS=-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' 'TK_LINK=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6' cd support; make make[1]: Entering directory '/builddir/build/BUILD/labltk-8.06.12/support' /usr/bin/ocamlc.opt -g -c -g support.mli /usr/bin/ocamlc.opt -g -c -g support.ml /usr/bin/ocamlc.opt -g -c -g rawwidget.mli /usr/bin/ocamlc.opt -g -c -g rawwidget.ml /usr/bin/ocamlc.opt -g -c -g widget.mli /usr/bin/ocamlc.opt -g -c -g widget.ml /usr/bin/ocamlc.opt -g -c -g protocol.mli /usr/bin/ocamlc.opt -g -c -g protocol.ml /usr/bin/ocamlc.opt -g -c -g textvariable.mli /usr/bin/ocamlc.opt -g -c -g textvariable.ml /usr/bin/ocamlc.opt -g -c -g timer.mli /usr/bin/ocamlc.opt -g -c -g timer.ml /usr/bin/ocamlc.opt -g -c -g fileevent.mli File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). /usr/bin/ocamlc.opt -g -c -g fileevent.ml File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). /usr/bin/ocamlc.opt -g -c -g camltkwrap.mli File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). /usr/bin/ocamlc.opt -g -c -g camltkwrap.ml File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). /usr/bin/ocamlc.opt -g -c -g -I +threads -I vmthreads tkthread.mli /usr/bin/ocamlc.opt -g -c -g -I +threads -I vmthreads tkthread.ml gcc -O2 -fno-strict-aliasing -fwrapv -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/riscvers/riscvers-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -march=rva23u64 -pthread -fPIC -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/riscvers/riscvers-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -march=rva23u64 -pthread -I/usr/lib64/ocaml/caml -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -march=rva23u64 -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion -Wno-error=return-mismatch -Wno-error=declaration-missing-parameter-type -Wno-error=implicit-int -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -c cltkCaml.c gcc: fatal error: cannot read spec file '/usr/lib/rpm/riscvers/riscvers-hardened-cc1': No such file or directory compilation terminated. make[1]: Leaving directory '/builddir/build/BUILD/labltk-8.06.12/support' make[1]: *** [Makefile:89: cltkCaml.o] Error 1 make: *** [Makefile:32: library] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.flOGa5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.flOGa5 (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-labltk.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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/ocaml-labltk.spec'