D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/erlang-rebar-2.6.4-12.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cT5l0E Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L0vIb1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-rebar-2.6.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/erlang-rebar-2.6.4-build + rm -rf rebar-2.6.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rebar-2.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rebar-2.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch):' Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .load_templates_from_fs --fuzz=0 patching file src/rebar_templater.erl + echo 'Patch #2 (rebar-0002-Remove-bundled-mustache.patch):' Patch #2 (rebar-0002-Remove-bundled-mustache.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_bundled_mustache --fuzz=0 patching file ebin/rebar.app patching file src/rebar_mustache.erl patching file src/rebar_templater.erl + echo 'Patch #3 (rebar-0003-Remove-bundled-getopt.patch):' Patch #3 (rebar-0003-Remove-bundled-getopt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_bundled_getopt --fuzz=0 patching file ebin/rebar.app patching file src/rebar.erl patching file src/rebar_getopt.erl + echo 'Patch #4 (rebar-0004-Allow-discarding-building-ports.patch):' Patch #4 (rebar-0004-Allow-discarding-building-ports.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .allow_discarding_ports --fuzz=0 patching file src/rebar_port_compiler.erl + echo 'Patch #5 (rebar-0005-Remove-any-traces-of-long-time-obsolete-escript-fold.patch):' Patch #5 (rebar-0005-Remove-any-traces-of-long-time-obsolete-escript-fold.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_escript_foldl_3 --fuzz=0 patching file src/rebar_utils.erl + echo 'Patch #6 (rebar-0006-remove-abnfc.patch):' Patch #6 (rebar-0006-remove-abnfc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_abnfc --fuzz=0 patching file ebin/rebar.app patching file rebar.config patching file src/rebar_abnfc_compiler.erl + echo 'Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch):' Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_gpb --fuzz=0 patching file ebin/rebar.app patching file src/rebar_proto_gpb_compiler.erl + echo 'Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch):' Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_pre_R15B02 --fuzz=0 patching file src/rebar_eunit.erl + echo 'Patch #9 (rebar-0009-Use-erlang-timestamp-0-explicitly.patch):' Patch #9 (rebar-0009-Use-erlang-timestamp-0-explicitly.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erlang_timestamp_0 --fuzz=0 patching file src/rebar_utils.erl + echo 'Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch):' Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .vsn_override --fuzz=0 patching file src/rebar_otp_app.erl + echo 'Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch):' Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .skip_deps_checking --fuzz=0 patching file src/rebar_deps.erl + echo 'Patch #12 (rebar-0012-Drop-obsolete-crypto-rand_uniform-2.patch):' Patch #12 (rebar-0012-Drop-obsolete-crypto-rand_uniform-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erl20 --fuzz=0 patching file src/rebar_ct.erl patching file src/rebar_eunit.erl + echo 'Patch #13 (rebar-0013-Remove-compat-random-modules.patch):' Patch #13 (rebar-0013-Remove-compat-random-modules.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erl22_compat --fuzz=0 patching file ebin/rebar.app patching file rebar.config patching file src/rebar.erl patching file src/rebar_eunit.erl patching file src/rebar_rand_compat.erl + echo 'Patch #14 (rebar-0014-erl_interface-was-removed-in-Erlang-23.patch):' Patch #14 (rebar-0014-erl_interface-was-removed-in-Erlang-23.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erl23_compat --fuzz=0 patching file src/rebar_port_compiler.erl + echo 'Patch #15 (rebar-0015-Disable-two-test-suites-in-Erlang-24.patch):' Patch #15 (rebar-0015-Disable-two-test-suites-in-Erlang-24.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erl24 --fuzz=0 patching file test/rebar_eunit_tests.erl patching file test/rebar_xref_eunit.erl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MrLcUN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-rebar-2.6.4-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 rebar-2.6.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/rebar.app.src -a '!' -f src/rebar.app -a '!' -f ebin/rebar.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.6.4 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-rebar-2.6.4-build/rebar-2.6.4/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/pterjan/rpmbuild/BUILD/erlang-rebar-2.6.4-build/rebar-2.6.4"}, "2.6.4"}.' + 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 Uncaught error in rebar_core: {'EXIT', {undef, [{rebar_config,new,[],[]}, {rebar,init_config,1, [{file,"src/rebar.erl"},{line,126}]}, {rebar,run,1, [{file,"src/rebar.erl"},{line,102}]}, {rebar,main,1, [{file,"src/rebar.erl"},{line,58}]}, {escript,run,2, [{file,"escript.erl"},{line,904}]}, {escript,start,1, [{file,"escript.erl"},{line,418}]}, {init,start_it,1,[]}, {init,start_em,1,[]}]}} escript: exception error: undefined function rebar_utils:delayed_halt/1 in function escript:run/2 (escript.erl, line 904) in call from escript:start/1 (escript.erl, line 418) in call from init:start_it/1 in call from init:start_em/1 in call from init:do_boot/3 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MrLcUN (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MrLcUN (%build) I: [iurt_root_command] ERROR: chroot