D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/erlang-rebar3-3.18.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Esu4eT sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.682QjD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-rebar3-3.18.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/erlang-rebar3-3.18.0-build + rm -rf rebar3-3.18.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rebar3-3.18.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rebar3-3.18.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/add-rebar3-escript.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Skip-deps.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.yKA1qU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-rebar3-3.18.0-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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rebar3-3.18.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ perl -e 'print join(":", grep { !/rebar/} (glob("/usr/lib/erlang/lib/*/ebin"), glob("/usr/share/erlang/lib/*/ebin")))' + ebin_paths=/usr/share/erlang/lib/bbmustache-1.12.2/ebin:/usr/share/erlang/lib/certifi-2.13.0/ebin:/usr/share/erlang/lib/cf-0.3.1/ebin:/usr/share/erlang/lib/cth_readable-1.5.1/ebin:/usr/share/erlang/lib/eflame-0/ebin:/usr/share/erlang/lib/erlware_commons-1.6.0/ebin:/usr/share/erlang/lib/erlydtl-0.13.1/ebin:/usr/share/erlang/lib/eunit_formatters-0.5.0/ebin:/usr/share/erlang/lib/getopt-1.0.2/ebin:/usr/share/erlang/lib/goldrush-0.2.0/ebin:/usr/share/erlang/lib/hex_core-0.7.1/ebin:/usr/share/erlang/lib/lager-3.9.2/ebin:/usr/share/erlang/lib/mustache-0.1.1/ebin:/usr/share/erlang/lib/neotoma-1.7.4/ebin:/usr/share/erlang/lib/protobuffs-0.9.2/ebin:/usr/share/erlang/lib/providers-1.9.0/ebin:/usr/share/erlang/lib/relx-4.7.0/ebin:/usr/share/erlang/lib/ssl_verify_fun-1.1.6/ebin:/usr/share/erlang/lib/triq-1.3.0/ebin + DEBUG=1 + rebar3 bare compile --paths /usr/share/erlang/lib/bbmustache-1.12.2/ebin:/usr/share/erlang/lib/certifi-2.13.0/ebin:/usr/share/erlang/lib/cf-0.3.1/ebin:/usr/share/erlang/lib/cth_readable-1.5.1/ebin:/usr/share/erlang/lib/eflame-0/ebin:/usr/share/erlang/lib/erlware_commons-1.6.0/ebin:/usr/share/erlang/lib/erlydtl-0.13.1/ebin:/usr/share/erlang/lib/eunit_formatters-0.5.0/ebin:/usr/share/erlang/lib/getopt-1.0.2/ebin:/usr/share/erlang/lib/goldrush-0.2.0/ebin:/usr/share/erlang/lib/hex_core-0.7.1/ebin:/usr/share/erlang/lib/lager-3.9.2/ebin:/usr/share/erlang/lib/mustache-0.1.1/ebin:/usr/share/erlang/lib/neotoma-1.7.4/ebin:/usr/share/erlang/lib/protobuffs-0.9.2/ebin:/usr/share/erlang/lib/providers-1.9.0/ebin:/usr/share/erlang/lib/relx-4.7.0/ebin:/usr/share/erlang/lib/ssl_verify_fun-1.1.6/ebin:/usr/share/erlang/lib/triq-1.3.0/ebin --separator : Failed to create scheduler thread 18, error = 11 /home/pterjan/rpmbuild/tmp/rpm-tmp.yKA1qU: line 49: 300093 Aborted (core dumped) DEBUG=1 rebar3 bare compile --paths $ebin_paths --separator : error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.yKA1qU (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.yKA1qU (%build) I: [iurt_root_command] ERROR: chroot