+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/erlang-rebar.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 80: %{?_isa} warning: Macro expanded in comment on line 81: %{?_isa} Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Av85qz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rebar-2.6.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rebar-2.6.4.tar.gz + /usr/bin/tar -xof - + 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 -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 -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 -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 -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 -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 -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 -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 -p1 -b --suffix .remove_pre_R15B02 --fuzz=0 patching file src/rebar_eunit.erl + echo 'Patch #9 (rebar-0009-No-such-function-erlang-timestamp-0.patch):' Patch #9 (rebar-0009-No-such-function-erlang-timestamp-0.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -p1 -b --suffix .skip_deps_checking --fuzz=0 patching file src/rebar_deps.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vawCXv + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + '[' '!' -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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=2.6.4 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/rebar-2.6.4/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/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 + /usr/bin/rebar compile skip_deps=true -vv DEBUG: Evaluating config script "/builddir/build/BUILD/rebar-2.6.4/rebar.config.script" DEBUG: Consult config file "/builddir/build/BUILD/rebar-2.6.4/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/rebar-2.6.4: [] DEBUG: Predirs: [] ==> rebar-2.6.4 (compile) DEBUG: Matched required ERTS version: 9.3 -> .* DEBUG: Matched required OTP release: 20 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,{d,namespaced_types}] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) Compiled src/rebar_protobuffs_compiler.erl Compiled src/rebar_qc.erl Compiled src/rebar_otp_app.erl Compiled src/rebar_neotoma_compiler.erl Compiled src/rebar_lfe_compiler.erl Compiled src/rebar.erl Compiled src/rebar_dia_compiler.erl Compiled src/rebar_dialyzer.erl Compiled src/rebar_require_vsn.erl Compiled src/rebar_cleaner.erl Compiled src/rebar_cover_utils.erl Compiled src/rebar_erlc_compiler.erl Compiled src/rebar_utils.erl Compiled src/rebar_deps.erl Compiled src/rmemo.erl Compiled src/rebar_xref.erl Compiled src/rebar_shell.erl Compiled src/rebar_app_utils.erl Compiled src/rebar_metacmds.erl Compiled src/rebar_upgrade.erl Compiled src/rebar_log.erl src/rebar_eunit.erl:75: function pre15b02_eunit_primitive/3 undefined src/rebar_eunit.erl:282: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 Compiling src/rebar_eunit.erl failed: DEBUG: Worker compilation failed: {{error, {error, [["src/rebar_eunit.erl:75: function pre15b02_eunit_primitive/3 undefined\n"]], [["src/rebar_eunit.erl:282: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1\n"]]}}, {source,"src/rebar_eunit.erl"}} ERROR: compile failed while processing /builddir/build/BUILD/rebar-2.6.4: rebar_abort error: Bad exit status from /var/tmp/rpm-tmp.vawCXv (%build) RPM build errors: Macro expanded in comment on line 80: %{?_isa} Macro expanded in comment on line 81: %{?_isa} Bad exit status from /var/tmp/rpm-tmp.vawCXv (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff