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-mochiweb-2.22.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JVpqpI sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sHRqev + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build + rm -rf mochiweb-2.22.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mochiweb-2.22.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mochiweb-2.22.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -f .gitignore ./support/templates/.gitignore + 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.8zaFgD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.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 mochiweb-2.22.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/mochiweb.app.src -a '!' -f src/mochiweb.app -a '!' -f ebin/mochiweb.app ']' + echo '*.app file (or *.app.src template) was found.' *.app file (or *.app.src template) was found. + 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 + 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 + VSN=2.22.0 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build/mochiweb-2.22.0/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build/mochiweb-2.22.0"}, "2.22.0"}.' + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + ERL_LIBS=/usr/share/erlang/lib/ + export ERL_LIBS + /usr/bin/rebar compile skip_deps=true -vv DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build/mochiweb-2.22.0/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build/mochiweb-2.22.0/src/mochiweb.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build/mochiweb-2.22.0: [] DEBUG: Predirs: [] ==> mochiweb-2.22.0 (compile) DEBUG: Matched required ERTS version: 15.2.4 -> .* DEBUG: Matched required OTP release: 27 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,debug_info] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) Compiled src/mochiweb.erl Compiled src/mochiweb_cover.erl Compiled src/mochiweb_clock.erl Compiled src/mochiweb_base64url.erl Compiled src/mochiglobal.erl Compiled src/mochiweb_websocket.erl Compiled src/mochiweb_socket_server.erl Compiled src/mochiweb_acceptor.erl Compiled src/mochiutf8.erl Compiled src/mochiweb_response.erl Compiled src/mochiweb_session.erl Compiled src/mochiweb_echo.erl Compiled src/mochifmt_std.erl Compiled src/mochiweb_request.erl Compiled src/mochiweb_mime.erl Compiled src/mochitemp.erl Compiled src/mochiweb_cookies.erl Compiled src/mochilists.erl Compiled src/mochilogfile2.erl src/mochinum.erl:47:8: Warning: matching on the float 0.0 will no longer also match -0.0 in OTP 27. If you specifically intend to match 0.0 alone, write +0.0 instead. Compiled src/mochinum.erl Compiled src/mochiweb_http.erl Compiled src/mochihex.erl Compiled src/mochiweb_headers.erl Compiled src/mochiweb_util.erl Compiled src/mochiweb_socket.erl Compiled src/mochifmt_records.erl Compiled src/mochifmt.erl Compiled src/mochiweb_html.erl Compiled src/mochijson2.erl src/mochiweb_multipart.erl:278:13: syntax error before: ',' src/mochiweb_multipart.erl:331:9: syntax error before: ',' src/mochiweb_multipart.erl:186:5: function feed_mp/2 undefined src/mochiweb_multipart.erl:191:1: Warning: function parse_headers/1 is unused src/mochiweb_multipart.erl:194:1: Warning: function parse_headers/2 is unused src/mochiweb_multipart.erl:202:1: Warning: function split_header/1 is unused src/mochiweb_multipart.erl:217:1: Warning: function read_more/1 is unused src/mochiweb_multipart.erl:300:1: Warning: function find_in_binary/2 is unused src/mochiweb_multipart.erl:312:1: Warning: function partial_find/4 is unused Compiling src/mochiweb_multipart.erl failed: DEBUG: Worker compilation failed: {{error, {error, [["src/mochiweb_multipart.erl:278:13: syntax error before: ','\n", "src/mochiweb_multipart.erl:331:9: syntax error before: ','\n"], ["src/mochiweb_multipart.erl:186:5: function feed_mp/2 undefined\n"]], [["src/mochiweb_multipart.erl:191:1: Warning: function parse_headers/1 is unused\n", "src/mochiweb_multipart.erl:194:1: Warning: function parse_headers/2 is unused\n", "src/mochiweb_multipart.erl:202:1: Warning: function split_header/1 is unused\n", "src/mochiweb_multipart.erl:217:1: Warning: function read_more/1 is unused\n", "src/mochiweb_multipart.erl:300:1: Warning: function find_in_binary/2 is unused\n", "src/mochiweb_multipart.erl:312:1: Warning: function partial_find/4 is unused\n"]]}}, {source,"src/mochiweb_multipart.erl"}} ERROR: compile failed while processing /home/pterjan/rpmbuild/BUILD/erlang-mochiweb-2.22.0-build/mochiweb-2.22.0: rebar_abort error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8zaFgD (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8zaFgD (%build) I: [iurt_root_command] ERROR: chroot