Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-421568-72907/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/erlang-rebar-2.6.1-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-421568-72907/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2SZzMB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rebar-365ac649dc818619757f96a699ddb174f004cff9 + /usr/bin/gzip -dc /builddir/build/SOURCES/rebar-365ac649dc818619757f96a699ddb174f004cff9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rebar-0001-Don-t-load-templates-from-the-bundle.patch):' Patch #1 (rebar-0001-Don-t-load-templates-from-the-bundle.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dont_load_templates --fuzz=0 patching file src/rebar_templater.erl Hunk #1 succeeded at 205 (offset 38 lines). Hunk #2 succeeded at 219 (offset 38 lines). Hunk #3 succeeded at 251 (offset 38 lines). Patch #2 (rebar-0002-Remove-bundled-mustache.patch): + echo '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 patching file src/rebar_templater.erl.dont_load_templates Patch #4 (rebar-0004-Allow-discarding-building-ports.patch): + echo '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 Hunk #1 succeeded at 300 (offset 47 lines). Patch #5 (rebar-0005-Check-system-wide-libdir-in-case-of-source-based-dep.patch): + echo 'Patch #5 (rebar-0005-Check-system-wide-libdir-in-case-of-source-based-dep.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .use_locally_installed --fuzz=0 patching file src/rebar_deps.erl Hunk #1 succeeded at 393 (offset 88 lines). Patch #6 (rebar-0006-Remove-any-traces-of-long-time-obsolete-escript-fold.patch): + echo 'Patch #6 (rebar-0006-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 Hunk #1 succeeded at 222 (offset 67 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bZT3ru + umask 022 + cd /builddir/build/BUILD + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + ./bootstrap Recompile: src/rebar Recompile: src/rebar_abnfc_compiler Recompile: src/rebar_app_utils Recompile: src/rebar_appups Recompile: src/rebar_asn1_compiler Recompile: src/rebar_base_compiler Recompile: src/rebar_cleaner Recompile: src/rebar_config Recompile: src/rebar_core Recompile: src/rebar_cover_utils Recompile: src/rebar_ct Recompile: src/rebar_deps Recompile: src/rebar_dia_compiler Recompile: src/rebar_dialyzer Recompile: src/rebar_edoc Recompile: src/rebar_erlc_compiler Recompile: src/rebar_erlydtl_compiler Recompile: src/rebar_escripter Recompile: src/rebar_eunit src/rebar_eunit.erl:281: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 src/rebar_eunit.erl:295: Warning: random:seed/3: the 'random' module is deprecated; use the 'rand' module instead src/rebar_eunit.erl:297: Warning: random:uniform/0: the 'random' module is deprecated; use the 'rand' module instead Recompile: src/rebar_file_utils Recompile: src/rebar_getopt Recompile: src/rebar_lfe_compiler Recompile: src/rebar_log Recompile: src/rebar_metacmds Recompile: src/rebar_neotoma_compiler Recompile: src/rebar_otp_app Recompile: src/rebar_otp_appup Recompile: src/rebar_port_compiler Recompile: src/rebar_proto_compiler Recompile: src/rebar_proto_gpb_compiler Recompile: src/rebar_protobuffs_compiler Recompile: src/rebar_qc Recompile: src/rebar_rel_utils Recompile: src/rebar_reltool Recompile: src/rebar_require_vsn Recompile: src/rebar_shell Recompile: src/rebar_subdirs Recompile: src/rebar_templater Recompile: src/rebar_upgrade Recompile: src/rebar_utils Recompile: src/rebar_xref Recompile: src/rmemo ==> rebar-365ac649dc818619757f96a699ddb174f004cff9 (compile) ==> rebar-365ac649dc818619757f96a699ddb174f004cff9 (escriptize) Congratulations! You now have a self-contained script called "rebar" in your current working directory. Place this script anywhere in your path and you can use rebar to build OTP-compliant apps. + ./rebar compile -v ==> rebar-365ac649dc818619757f96a699ddb174f004cff9 (compile) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EfIJ4d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64 ++ dirname /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64 + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + install -D -p -m 0755 /builddir/build/SOURCES/rebar.escript /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/bin/rebar + mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin + mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/include + install -m 644 ebin/rebar.app /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin + install -m 644 ebin/rebar.beam ebin/rebar_abnfc_compiler.beam ebin/rebar_app_utils.beam ebin/rebar_appups.beam ebin/rebar_asn1_compiler.beam ebin/rebar_base_compiler.beam ebin/rebar_cleaner.beam ebin/rebar_config.beam ebin/rebar_core.beam ebin/rebar_cover_utils.beam ebin/rebar_ct.beam ebin/rebar_deps.beam ebin/rebar_dia_compiler.beam ebin/rebar_dialyzer.beam ebin/rebar_edoc.beam ebin/rebar_erlc_compiler.beam ebin/rebar_erlydtl_compiler.beam ebin/rebar_escripter.beam ebin/rebar_eunit.beam ebin/rebar_file_utils.beam ebin/rebar_getopt.beam ebin/rebar_lfe_compiler.beam ebin/rebar_log.beam ebin/rebar_metacmds.beam ebin/rebar_neotoma_compiler.beam ebin/rebar_otp_app.beam ebin/rebar_otp_appup.beam ebin/rebar_port_compiler.beam ebin/rebar_proto_compiler.beam ebin/rebar_proto_gpb_compiler.beam ebin/rebar_protobuffs_compiler.beam ebin/rebar_qc.beam ebin/rebar_rel_utils.beam ebin/rebar_reltool.beam ebin/rebar_require_vsn.beam ebin/rebar_shell.beam ebin/rebar_subdirs.beam ebin/rebar_templater.beam ebin/rebar_upgrade.beam ebin/rebar_utils.beam ebin/rebar_xref.beam ebin/rmemo.beam /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin + install -m 644 include/rebar.hrl /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/include + cp -a priv /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/rebar from /usr/bin/env escript to #!/usr/bin/escript mangling shebang in /usr/lib64/erlang/lib/rebar-2.6.1/priv/templates/simplenode.nodetool from /usr/bin/env escript to #!/usr/bin/escript Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.e7HPO7 + umask 022 + cd /builddir/build/BUILD + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + exit 0 Processing files: erlang-rebar-2.6.1-1.an8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yC2H9T + umask 022 + cd /builddir/build/BUILD + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + DOCDIR=/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/doc/erlang-rebar + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/doc/erlang-rebar + cp -pr rebar.config.sample /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/doc/erlang-rebar + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.t9PCPU + umask 022 + cd /builddir/build/BUILD + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/licenses/erlang-rebar + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/licenses/erlang-rebar + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/licenses/erlang-rebar + exit 0 ERROR: Cant find eflame:apply/5 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar.beam' ERROR: Cant find abnfc:file/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_abnfc_compiler.beam' ERROR: Cant find erlydtl:compile/3 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_erlydtl_compiler.beam' ERROR: Cant find eunit_test:function_wrapper/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_eunit.beam' ERROR: Cant find lfe_comp:file/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_lfe_compiler.beam' ERROR: Cant find neotoma:file/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_neotoma_compiler.beam' ERROR: Cant find gpb_compile:file/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_proto_gpb_compiler.beam' ERROR: Cant find gpb_compile:format_error/1 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_proto_gpb_compiler.beam' ERROR: Cant find protobuffs_compile:scan_file/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_protobuffs_compiler.beam' ERROR: Cant find eqc:module/1 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_qc.beam' ERROR: Cant find triq:module/1 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_qc.beam' ERROR: Cant find eqc:module/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_qc.beam' ERROR: Cant find error_logger:swap_handler/1 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_shell.beam' ERROR: Cant find mustache:render/2 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/lib64/erlang/lib/rebar-2.6.1/ebin/rebar_templater.beam' Provides: erlang-rebar = 2.6.1-1.an8 erlang-rebar(aarch-64) = 2.6.1-1.an8 rebar = 2.6.1-1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/escript erlang-asn1(aarch-64) erlang-compiler(aarch-64) erlang-crypto(aarch-64) erlang-dialyzer(aarch-64) erlang-diameter(aarch-64) erlang-edoc(aarch-64) erlang-erts(aarch-64) erlang-eunit(aarch-64) erlang-kernel(aarch-64) erlang-reltool(aarch-64) erlang-sasl(aarch-64) erlang-snmp(aarch-64) erlang-stdlib(aarch-64) erlang-syntax_tools(aarch-64) erlang-tools(aarch-64) Processing files: erlang-rebar-doc-2.6.1-1.an8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.544dNY + umask 022 + cd /builddir/build/BUILD + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + DOCDIR=/builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/doc/erlang-rebar-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/doc/erlang-rebar-doc + cp -pr README.md /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/doc/erlang-rebar-doc + cp -pr THANKS /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64/usr/share/doc/erlang-rebar-doc + exit 0 Provides: erlang-rebar-doc = 2.6.1-1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64 Wrote: /builddir/build/RPMS/erlang-rebar-2.6.1-1.an8.aarch64.rpm Wrote: /builddir/build/RPMS/erlang-rebar-doc-2.6.1-1.an8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iX7nlt + umask 022 + cd /builddir/build/BUILD + cd rebar-365ac649dc818619757f96a699ddb174f004cff9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-rebar-2.6.1-1.an8.aarch64 + exit 0 Child return code was: 0