Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/erlang-cuttlefish.spec'], chrootPath='/var/lib/mock/f29-build-9625-4319/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/erlang-cuttlefish-2.0.11-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-cuttlefish.spec'], chrootPath='/var/lib/mock/f29-build-9625-4319/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rO3XPr + 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 . + echo 'Patch #1 (erlang-cuttlefish-0001-Disable-escript-generation.patch):' Patch #1 (erlang-cuttlefish-0001-Disable-escript-generation.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rebar.config + echo 'Patch #2 (erlang-cuttlefish-0002-No-rebar_mustache-available.patch):' Patch #2 (erlang-cuttlefish-0002-No-rebar_mustache-available.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cuttlefish_unit.erl + echo 'Patch #3 (erlang-cuttlefish-0003-Double-quites-escaping-is-no-longer-necessary.patch):' Patch #3 (erlang-cuttlefish-0003-Double-quites-escaping-is-no-longer-necessary.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cuttlefish_unit.erl + echo 'Patch #4 (erlang-cuttlefish-0004-Add-Erlang-19-as-a-valid-target.patch):' Patch #4 (erlang-cuttlefish-0004-Add-Erlang-19-as-a-valid-target.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rebar.config + rm -f src/cuttlefish_rebar_plugin.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ikd0ZX + umask 022 *.app file (or *.app.src template) was found. + cd /builddir/build/BUILD + cd cuttlefish-2.0.11 + '[' '!' -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64/erlang/lib/getopt-1.0.1" INFO: Looking for getopt-.* ; found getopt-1.0.1 at /usr/lib64/erlang/lib/getopt-1.0.1 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.6.2" INFO: Looking for lager-.* ; found lager-3.6.2 at /usr/share/erlang/lib/lager-3.6.2 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: is_app_available, looking for App neotoma with Path "/usr/lib64/erlang/lib/neotoma-1.7.4" INFO: Looking for neotoma-.* ; found neotoma-1.7.4 at /usr/lib64/erlang/lib/neotoma-1.7.4 DEBUG: Available deps: [{dep,"/usr/lib64/erlang/lib/getopt-1.0.1",getopt,".*", {git,"https://github.com/basho/getopt.git", {tag,"v0.8.2"}}, false}, {dep,"/usr/share/erlang/lib/lager-3.6.2",lager,".*", {git,"https://github.com/basho/lager.git", {tag,"3.2.4"}}, false}, {dep,"/usr/lib64/erlang/lib/neotoma-1.7.4",neotoma, ".*", {git,"https://github.com/basho/neotoma.git", {tag,"1.7.4"}}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App getopt with Path "/usr/lib64/erlang/lib/getopt-1.0.1" INFO: Looking for getopt-.* ; found getopt-1.0.1 at /usr/lib64/erlang/lib/getopt-1.0.1 DEBUG: Adding /usr/lib64/erlang/lib/getopt-1.0.1/ebin to code path DEBUG: is_app_available, looking for App lager with Path "/usr/share/erlang/lib/lager-3.6.2" INFO: Looking for lager-.* ; found lager-3.6.2 at /usr/share/erlang/lib/lager-3.6.2 DEBUG: Adding /usr/share/erlang/lib/lager-3.6.2/ebin to code path DEBUG: is_app_available, looking for App neotoma with Path "/usr/lib64/erlang/lib/neotoma-1.7.4" INFO: Looking for neotoma-.* ; found neotoma-1.7.4 at /usr/lib64/erlang/lib/neotoma-1.7.4 DEBUG: Adding /usr/lib64/erlang/lib/neotoma-1.7.4/ebin to code path DEBUG: Adding skip dir: /usr/lib64/erlang/lib/getopt-1.0.1 DEBUG: Adding skip dir: /usr/share/erlang/lib/lager-3.6.2 DEBUG: Adding skip dir: /usr/lib64/erlang/lib/neotoma-1.7.4 DEBUG: Associate sub_dir /usr/lib64/erlang/lib/getopt-1.0.1 with /builddir/build/BUILD/cuttlefish-2.0.11 DEBUG: Associate sub_dir /usr/share/erlang/lib/lager-3.6.2 with /builddir/build/BUILD/cuttlefish-2.0.11 DEBUG: Associate sub_dir /usr/lib64/erlang/lib/neotoma-1.7.4 with /builddir/build/BUILD/cuttlefish-2.0.11 DEBUG: Plugins requested while processing /builddir/build/BUILD/cuttlefish-2.0.11: [] DEBUG: Predirs: ["/usr/lib64/erlang/lib/getopt-1.0.1", "/usr/share/erlang/lib/lager-3.6.2", "/usr/lib64/erlang/lib/neotoma-1.7.4"] DEBUG: Consult config file "/usr/lib64/erlang/lib/getopt-1.0.1/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/lib64/erlang/lib/getopt-1.0.1: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/lib64/erlang/lib/getopt-1.0.1 DEBUG: Postdirs: [] DEBUG: Consult config file "/usr/share/erlang/lib/lager-3.6.2/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/lager-3.6.2: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/share/erlang/lib/lager-3.6.2 DEBUG: Postdirs: [] DEBUG: Consult config file "/usr/lib64/erlang/lib/neotoma-1.7.4/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/lib64/erlang/lib/neotoma-1.7.4: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/lib64/erlang/lib/neotoma-1.7.4 DEBUG: Postdirs: [] ==> cuttlefish-2.0.11 (compile) DEBUG: Matched required ERTS version: 9.3.1 -> .* BUILDSTDERR: ERROR: OTP release 20 does not match required regex R16|17|18|19 BUILDSTDERR: ERROR: compile failed while processing /builddir/build/BUILD/cuttlefish-2.0.11: rebar_abort BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Ikd0ZX (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Ikd0ZX (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-cuttlefish.spec