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 noarch --nodeps /builddir/build/SPECS/erlang-cuttlefish.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-422108-72913/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 noarch --nodeps /builddir/build/SPECS/erlang-cuttlefish.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/erlang-cuttlefish-2.0.11-10.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-cuttlefish.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-422108-72913/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 noarch --nodeps /builddir/build/SPECS/erlang-cuttlefish.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VO1u7q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cuttlefish-2.0.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/cuttlefish-2.0.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cuttlefish-2.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0001-Disable-escript-generation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0002-No-rebar_mustache-available.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0003-Double-quotes-escaping-is-no-longer-necessary.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0004-Do-not-warn-on-export-all.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0005-Erlang-20-compilation-export-all-failure.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0006-Add-recent-otp-versions-to-rebar.config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0007-Add-nowarn_export_all-to-tests-to-suppress-errors-fo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0008-Make-escript-work-on-OTP20.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-cuttlefish-0009-erlang-get_stacktrace-0-deprecated.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -f src/cuttlefish_rebar_plugin.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IzLa9w + umask 022 + cd /builddir/build/BUILD + cd cuttlefish-2.0.11 *.app file (or *.app.src template) was found. + '[' '!' -f src/cuttlefish.app.src -a '!' -f src/cuttlefish.app -a '!' -f ebin/cuttlefish.app ']' + echo '*.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=2.0.11 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/cuttlefish-2.0.11/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/cuttlefish-2.0.11"}, "2.0.11"}.' + 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 "/builddir/build/BUILD/cuttlefish-2.0.11/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/cuttlefish-2.0.11/src/cuttlefish.app.src" DEBUG: is_app_available, looking for App getopt with Path "/builddir/build/BUILD/cuttlefish-2.0.11/deps/getopt" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/cuttlefish-2.0.11/deps/getopt DEBUG: is_app_available, looking for App getopt with Path "/usr/share/erlang/lib/getopt-1.0.2" INFO: Looking for getopt-.* ; found getopt-1.0.2 at /usr/share/erlang/lib/getopt-1.0.2 DEBUG: is_app_available, looking for App lager with Path "/builddir/build/BUILD/cuttlefish-2.0.11/deps/lager" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/cuttlefish-2.0.11/deps/lager DEBUG: is_app_available, looking for App lager with Path "/usr/share/erlang/lib/lager-3.8.0" INFO: Looking for lager-.* ; found lager-3.8.0 at /usr/share/erlang/lib/lager-3.8.0 DEBUG: is_app_available, looking for App neotoma with Path "/builddir/build/BUILD/cuttlefish-2.0.11/deps/neotoma" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/cuttlefish-2.0.11/deps/neotoma DEBUG: Available deps: [{dep,"/usr/share/erlang/lib/getopt-1.0.2",getopt,".*", {git,"https://github.com/basho/getopt.git", {tag,"v0.8.2"}}, false}, {dep,"/usr/share/erlang/lib/lager-3.8.0",lager,".*", {git,"https://github.com/basho/lager.git", {tag,"3.2.4"}}, false}] DEBUG: Missing deps : [{dep,bad_name,neotoma,".*", {git,"https://github.com/basho/neotoma.git", {tag,"1.7.4"}}, false}] DEBUG: is_app_available, looking for App getopt with Path "/usr/share/erlang/lib/getopt-1.0.2" INFO: Looking for getopt-.* ; found getopt-1.0.2 at /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Adding /usr/share/erlang/lib/getopt-1.0.2/ebin to code path DEBUG: is_app_available, looking for App lager with Path "/usr/share/erlang/lib/lager-3.8.0" INFO: Looking for lager-.* ; found lager-3.8.0 at /usr/share/erlang/lib/lager-3.8.0 DEBUG: Adding /usr/share/erlang/lib/lager-3.8.0/ebin to code path DEBUG: Adding skip dir: /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Adding skip dir: /usr/share/erlang/lib/lager-3.8.0 DEBUG: Associate sub_dir /usr/share/erlang/lib/getopt-1.0.2 with /builddir/build/BUILD/cuttlefish-2.0.11 DEBUG: Associate sub_dir /usr/share/erlang/lib/lager-3.8.0 with /builddir/build/BUILD/cuttlefish-2.0.11 DEBUG: Plugins requested while processing /builddir/build/BUILD/cuttlefish-2.0.11: [] DEBUG: Predirs: ["/usr/share/erlang/lib/getopt-1.0.2", "/usr/share/erlang/lib/lager-3.8.0"] DEBUG: Consult config file "/usr/share/erlang/lib/getopt-1.0.2/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/getopt-1.0.2: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Postdirs: [] DEBUG: Consult config file "/usr/share/erlang/lib/lager-3.8.0/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/lager-3.8.0: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/share/erlang/lib/lager-3.8.0 DEBUG: Postdirs: [] ==> cuttlefish-2.0.11 (compile) DEBUG: Matched required ERTS version: 10.4.4 -> .* DEBUG: Matched required OTP release: 22 -> R16|17|18|19|20|21|22 DEBUG: Min OTP version unconfigured DEBUG: is_app_available, looking for App getopt with Path "/builddir/build/BUILD/cuttlefish-2.0.11/deps/getopt" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/cuttlefish-2.0.11/deps/getopt DEBUG: is_app_available, looking for App getopt with Path "/usr/share/erlang/lib/getopt-1.0.2" INFO: Looking for getopt-.* ; found getopt-1.0.2 at /usr/share/erlang/lib/getopt-1.0.2 DEBUG: is_app_available, looking for App lager with Path "/builddir/build/BUILD/cuttlefish-2.0.11/deps/lager" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/cuttlefish-2.0.11/deps/lager DEBUG: is_app_available, looking for App lager with Path "/usr/share/erlang/lib/lager-3.8.0" INFO: Looking for lager-.* ; found lager-3.8.0 at /usr/share/erlang/lib/lager-3.8.0 DEBUG: is_app_available, looking for App neotoma with Path "/builddir/build/BUILD/cuttlefish-2.0.11/deps/neotoma" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/cuttlefish-2.0.11/deps/neotoma Dependency not available: neotoma-.* ({git, "https://github.com/basho/neotoma.git", {tag,"1.7.4"}}) ERROR: compile failed while processing /builddir/build/BUILD/cuttlefish-2.0.11: rebar_abort error: Bad exit status from /var/tmp/rpm-tmp.IzLa9w (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IzLa9w (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-cuttlefish.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 noarch --nodeps /builddir/build/SPECS/erlang-cuttlefish.spec'