D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl_checker-1.2.43-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ARW9Gh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build + test -d /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e5oHTo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build + rm -rf perl_checker-1.2.43 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/perl_checker-1.2.43.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd perl_checker-1.2.43 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.lZkkpB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-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,--no-undefined -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 perl_checker-1.2.43 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export PERL_USE_UNSAFE_INC=1 + PERL_USE_UNSAFE_INC=1 + make make -C src build_ml perl_checker.html native-code fake_packages_dir=/usr/share/perl_checker/fake_packages DEBUG=0 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build/perl_checker-1.2.43/src' rm -f build.ml make build.ml make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build/perl_checker-1.2.43/src' date '+let date = "%s"' > build.ml echo 'let fake_packages_dir = "'/usr/share/perl_checker/fake_packages'"' >> build.ml echo 'let debugging = 0 > 0' >> build.ml make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build/perl_checker-1.2.43/src' rm -f perl_checker.html perl perl_checker.html.pl > perl_checker.html chmod a-w perl_checker.html ocamllex lexer.mll 523 states, 19071 transitions, table size 79422 bytes ocamlyacc -v parser.mly 88 shift/reduce conflicts, 4 reduce/reduce conflicts. make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build/perl_checker-1.2.43/src' making ._d/build.d from build.ml making ._d/common.d from common.ml making ._d/flags.d from flags.ml making ._d/config_file.d from config_file.ml making ._d/info.d from info.ml making ._d/parser_helper.d from parser_helper.ml making ._d/tree.d from tree.ml making ._d/global_checks.d from global_checks.ml making ._d/perl_checker.d from perl_checker.ml making ._d/lexer.d from lexer.ml making ._d/parser.d from parser.ml making ._ncdi/types.di from types.mli OCamlMakefile:844: warning: pattern recipe did not update peer target '._bcdi/types.di'. making ._ncdi/parser.di from parser.mli OCamlMakefile:844: warning: pattern recipe did not update peer target '._bcdi/parser.di'. ocamlc -g -c types.mli ocamlc -g -c build.mli ocamlopt -g -c build.ml ocamlc -g -c common.mli ocamlopt -g -c common.ml File "common.ml", line 662, characters 59-61: 662 | let gt, lt = break_at (fun ((_, deps) as e') -> deps = [] or cmp e e' = 1) l' in ^^ Alert deprecated: Stdlib.or Use (||) instead. File "common.ml", line 740, characters 21-35: 740 | let is_uppercase c = Char.lowercase c <> c ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.lowercase Use Char.lowercase_ascii instead. File "common.ml", line 741, characters 21-35: 741 | let is_lowercase c = Char.uppercase c <> c ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.uppercase Use Char.uppercase_ascii instead. ocamlc -g -c flags.mli ocamlopt -g -c flags.ml ocamlc -g -c config_file.mli ocamlopt -g -c config_file.ml ocamlc -g -c info.mli ocamlopt -g -c info.ml ocamlc -g -c parser_helper.mli ocamlopt -g -c parser_helper.ml ocamlc -g -c parser.mli ocamlopt -g -c parser.ml ocamlopt -g -c lexer.ml File "lexer.mll", line 406, characters 16-33: Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 11.5) ocamlc -g -c tree.mli ocamlopt -g -c tree.ml ocamlc -g -c global_checks.mli ocamlopt -g -c global_checks.ml ocamlc -g -c perl_checker.mli ocamlopt -g -c perl_checker.ml ocamlopt -g -ccopt -Wl,--as-needed -ccopt -Wl,--no-undefined -ccopt -Wl,-z,relro -ccopt -Wl,-z,now -ccopt -Wl,-O1 -ccopt -Wl,--build-id=sha1 -ccopt -Wl,--enable-new-dtags -ccopt -specs=/usr/lib/rpm/redhat/redhat-hardened-ld unix.cmxa -o perl_checker \ build.cmx common.cmx flags.cmx config_file.cmx info.cmx parser_helper.cmx parser.cmx lexer.cmx tree.cmx global_checks.cmx perl_checker.cmx /usr/bin/ld: /usr/lib64/ocaml/libasmrun.a(startup_aux.n.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking (exit code 1) make[2]: *** [OCamlMakefile:720: perl_checker] Error 2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build/perl_checker-1.2.43/src' make[1]: *** [OCamlMakefile:580: native-code] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl_checker-1.2.43-build/perl_checker-1.2.43/src' make: *** [Makefile:18: src/perl_checker] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lZkkpB (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lZkkpB (%build) I: [iurt_root_command] ERROR: chroot