Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/erlang-esasl.spec'], chrootPath='/var/lib/mock/f33-build-131955-41096/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/erlang-esasl.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/erlang-esasl-0.1-29.20120116git665cc80.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-esasl.spec'], chrootPath='/var/lib/mock/f33-build-131955-41096/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-esasl.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XXXCUw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf esasl-esasl-0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/esasl-0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd esasl-esasl-0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf INSTALL Makefile.am NEWS bootstrap configure.ac esasl/Makefile.am esasl/priv/Makefile.am esasl/src/Makefile.am m4/ rules/ + mv esasl/c_src/ c_src/ + mv esasl/src/ src/ + mv src/esasl.app-in src/esasl.app.src + mkdir -p example/ + mv eldap_gsasl.diff src/eldap_expr.erl example/ + echo 'Patch #1 (erlang-esasl-0001-Adjust-app-file-template.patch):' Patch #1 (erlang-esasl-0001-Adjust-app-file-template.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/esasl.app.src Patch #2 (erlang-esasl-0002-Add-rebar.config.patch): + echo 'Patch #2 (erlang-esasl-0002-Add-rebar.config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rebar.config + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2oTmlx + umask 022 + cd /builddir/build/BUILD + cd esasl-esasl-0.1 + '[' '!' -f src/esasl.app.src -a '!' -f src/esasl.app -a '!' -f ebin/esasl.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 -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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=0.1 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/esasl-esasl-0.1/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/esasl-esasl-0.1"}, "0.1"}.' + 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 escript: exception error: undefined function rebar:main/1 in function erl_eval:local_func/6 (erl_eval.erl, line 567) in call from escript:interpret/4 (escript.erl, line 788) in call from escript:start/1 (escript.erl, line 277) in call from init:start_em/1 in call from init:do_boot/3 =ERROR REPORT==== 27-Mar-2020::21:55:53.085603 === beam/beam_load.c(1871): Error loading module rebar: This BEAM file was compiled for a later version of the run-time system than 21. To fix this, please recompile this module with an 21 compiler. (Use of opcode 164; this emulator supports only up to 163.) error: Bad exit status from /var/tmp/rpm-tmp.2oTmlx (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2oTmlx (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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-esasl.spec