Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-420891-72902/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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 warning: Macro expanded in comment on line 59: %{?_isa} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/erlang-rebar-2.1.0-0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-420891-72902/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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 warning: Macro expanded in comment on line 59: %{?_isa} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AgSr0b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf basho-rebar-ebb474b + /usr/bin/gzip -dc /builddir/build/SOURCES/basho-rebar-2.1.0-pre-0-gebb474b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd basho-rebar-ebb474b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #4 (rebar-0004-Be-sure-to-filter-empty-sources-h-t-to-Tuncer-and-Jo.patch):' Patch #4 (rebar-0004-Be-sure-to-filter-empty-sources-h-t-to-Tuncer-and-Jo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dont_try_building_so --fuzz=0 patching file src/rebar_port_compiler.erl + echo 'Patch #5 (rebar-0005-Allow-discarding-building-ports.patch):' Patch #5 (rebar-0005-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 Patch #6 (rebar-0006-Check-system-wide-libdir-in-case-of-source-based-dep.patch): + echo 'Patch #6 (rebar-0006-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 + echo 'Patch #7 (rebar-0007-Remove-any-traces-of-long-time-obsolete-escript-fold.patch):' Patch #7 (rebar-0007-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 Patch #8 (rebar-0008-Remove-abnfc-compiler-support-n-a-in-Fedora-EPEL.patch): + echo 'Patch #8 (rebar-0008-Remove-abnfc-compiler-support-n-a-in-Fedora-EPEL.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_abnfc --fuzz=0 patching file ebin/rebar.app Hunk #2 succeeded at 62 (offset 2 lines). patching file src/rebar_abnfc_compiler.erl Patch #9 (rebar-0009-Adjust-app-version.patch): + echo 'Patch #9 (rebar-0009-Adjust-app-version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .adjust_ver --fuzz=0 patching file ebin/rebar.app Patch #10 (rebar-0010-Fix-default-DTL-compilation-when-no-erlydtl_opts-are.patch): + echo 'Patch #10 (rebar-0010-Fix-default-DTL-compilation-when-no-erlydtl_opts-are.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_dtl --fuzz=0 patching file src/rebar_erlydtl_compiler.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4EBcfh + umask 022 + cd /builddir/build/BUILD + cd basho-rebar-ebb474b + ./bootstrap ./bootstrap:91: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. Recompile: src/getopt Recompile: src/mustache Recompile: src/rebar 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 src/rebar_config.erl:48: type dict() undefined Failed to compile rebar files! error: Bad exit status from /var/tmp/rpm-tmp.4EBcfh (%build) RPM build errors: Macro expanded in comment on line 59: %{?_isa} Bad exit status from /var/tmp/rpm-tmp.4EBcfh (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'