D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/ocaml-labltk-8.06.11-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nLd5PY sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0nBAfS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-labltk-8.06.11-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ocaml-labltk-8.06.11-build + rm -rf labltk-8.06.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/labltk-8.06.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd labltk-8.06.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/labltk-8.06.11-enable-debugging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -name .gitignore -delete + 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 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ru9hhX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ocaml-labltk-8.06.11-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,-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 labltk-8.06.11 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./configure Configuring LablTk... tcl.h and/or tk.h not found. ** Configuration summary ** The "labltk" library: not supported + unset MAKEFLAGS + make all opt 'SHAREDCCCOMPOPTS=-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 -fPIC' 'TK_LINK=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ltk8.6 -ltcl8.6' cd support; make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocaml-labltk-8.06.11-build/labltk-8.06.11/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 -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkCaml.c In file included from cltkCaml.c:21: cltkCaml.c: In function 'camltk_return': /usr/lib64/ocaml/caml/mlvalues.h:365:24: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ cltkCaml.c:61:30: note: in expansion of macro 'String_val' 61 | Tcl_SetResult(cltclinterp, String_val(v), TCL_VOLATILE); | ^~~~~~~~~~ In file included from /usr/include/tcl.h:2424, from cltkCaml.c:19: /usr/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ cltkCaml.c: In function 'camltk_init': cltkCaml.c:81:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | tkerror_exn = caml_named_value("tkerror"); | ^ cltkCaml.c:83:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | handler_code = caml_named_value("camlcb"); | ^ gcc -O2 -fno-strict-aliasing -fwrapv -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkUtf.c gcc -O2 -fno-strict-aliasing -fwrapv -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkEval.c gcc -O2 -fno-strict-aliasing -fwrapv -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkEvent.c gcc -O2 -fno-strict-aliasing -fwrapv -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkFile.c gcc -O2 -fno-strict-aliasing -fwrapv -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkMain.c cltkMain.c: In function 'camltk_opentk': cltkMain.c:82:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | argv0 = String_val( Field( argv, 0 ) ); | ^ cltkMain.c:92:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | value *interp = caml_named_value("cltclinterp"); | ^~~~~~~~~~~~~~~~ cltkMain.c:121:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | tkargv[i] = String_val(Field(tmp, 0)); | ^ gcc -O2 -fno-strict-aliasing -fwrapv -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkMisc.c gcc -O2 -fno-strict-aliasing -fwrapv -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 -fPIC -pthread -I/usr/lib64/ocaml/caml -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 -fPIC -g -c cltkTimer.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:89: cltkTimer.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocaml-labltk-8.06.11-build/labltk-8.06.11/support' make: *** [Makefile:32: library] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ru9hhX (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ru9hhX (%build) I: [iurt_root_command] ERROR: chroot