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-rebar.spec'], chrootPath='/var/lib/mock/f29-build-28170-14931/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 80: %{?_isa} BUILDSTDERR: warning: Macro expanded in comment on line 81: %{?_isa} Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/erlang-rebar-2.6.4-7.1.riscv64.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-rebar.spec'], chrootPath='/var/lib/mock/f29-build-28170-14931/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 80: %{?_isa} BUILDSTDERR: warning: Macro expanded in comment on line 81: %{?_isa} Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hx8yfk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rebar-2.6.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rebar-2.6.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rebar-2.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch):' Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .load_templates_from_fs --fuzz=0 patching file src/rebar_templater.erl + echo 'Patch #2 (rebar-0002-Remove-bundled-mustache.patch):' 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 + echo 'Patch #3 (rebar-0003-Remove-bundled-getopt.patch):' Patch #3 (rebar-0003-Remove-bundled-getopt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_bundled_getopt --fuzz=0 patching file ebin/rebar.app patching file src/rebar.erl patching file src/rebar_getopt.erl + echo 'Patch #4 (rebar-0004-Allow-discarding-building-ports.patch):' 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 + echo 'Patch #5 (rebar-0005-Remove-any-traces-of-long-time-obsolete-escript-fold.patch):' Patch #5 (rebar-0005-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 + echo 'Patch #6 (rebar-0006-remove-abnfc.patch):' Patch #6 (rebar-0006-remove-abnfc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_abnfc --fuzz=0 patching file ebin/rebar.app patching file rebar.config patching file src/rebar_abnfc_compiler.erl + echo 'Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch):' Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_gpb --fuzz=0 patching file ebin/rebar.app patching file src/rebar_proto_gpb_compiler.erl + echo 'Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch):' Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_pre_R15B02 --fuzz=0 patching file src/rebar_eunit.erl + echo 'Patch #9 (rebar-0009-No-such-function-erlang-timestamp-0.patch):' Patch #9 (rebar-0009-No-such-function-erlang-timestamp-0.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .erlang_timestamp_0 --fuzz=0 patching file src/rebar_utils.erl + echo 'Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch):' Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .vsn_override --fuzz=0 patching file src/rebar_otp_app.erl + echo 'Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch):' Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .skip_deps_checking --fuzz=0 patching file src/rebar_deps.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.11D8UC + umask 022 *.app file (or *.app.src template) was found. + cd /builddir/build/BUILD + cd rebar-2.6.4 + '[' '!' -f src/rebar.app.src -a '!' -f src/rebar.app -a '!' -f ebin/rebar.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.6.4 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/rebar-2.6.4/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/rebar-2.6.4"}, "2.6.4"}.' + 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: Evaluating config script "/builddir/build/BUILD/rebar-2.6.4/rebar.config.script" DEBUG: Consult config file "/builddir/build/BUILD/rebar-2.6.4/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/rebar-2.6.4: [] DEBUG: Predirs: [] ==> rebar-2.6.4 (compile) DEBUG: Matched required ERTS version: 9.3.3.3 -> .* DEBUG: Matched required OTP release: 20 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,{d,namespaced_types}] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) Compiled src/rebar_lfe_compiler.erl Compiled src/rebar_proto_compiler.erl Compiled src/rebar_shell.erl Compiled src/rebar_subdirs.erl Compiled src/rebar_otp_app.erl Compiled src/rebar_upgrade.erl Compiled src/rebar_neotoma_compiler.erl Compiled src/rebar_escripter.erl Compiled src/rebar_xref.erl Compiled src/rebar_require_vsn.erl Compiled src/rebar_file_utils.erl Compiled src/rmemo.erl Compiled src/rebar_templater.erl Compiled src/rebar_core.erl Compiled src/rebar_dialyzer.erl Compiled src/rebar_edoc.erl Compiled src/rebar_qc.erl Compiled src/rebar_log.erl Compiled src/rebar_port_compiler.erl Compiled src/rebar_metacmds.erl Compiled src/rebar_rand_compat.erl src/rebar_ct.erl:291: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 Compiled src/rebar_ct.erl Compiled src/rebar_erlc_compiler.erl Compiled src/rebar_dia_compiler.erl Compiled src/rebar_erlydtl_compiler.erl Compiled src/rebar_utils.erl Compiled src/rebar_asn1_compiler.erl Compiled src/rebar_app_utils.erl Compiled src/rebar_deps.erl Compiled src/rebar_otp_appup.erl Compiled src/rebar.erl Compiled src/rebar_rel_utils.erl Compiled src/rebar_cleaner.erl Compiled src/rebar_appups.erl Compiled src/rebar_config.erl src/rebar_eunit.erl:280: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 Compiled src/rebar_eunit.erl Compiled src/rebar_protobuffs_compiler.erl Compiled src/rebar_reltool.erl DEBUG: Worker exited cleanly Compiled src/rebar_base_compiler.erl DEBUG: Worker exited cleanly Compiled src/rebar_cover_utils.erl DEBUG: Worker exited cleanly DEBUG: Postdirs: [] + '[' -f doc/overview.edoc ']' No 'doc/overview.edoc' file was found, so docs aren't generated. + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jJ5PoF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64 + cd rebar-2.6.4 + '[' rebar '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/ + '[' -f ebin/rebar.app ']' + /usr/bin/install -m 0644 -p ebin/rebar.app /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/ + /usr/bin/install -m 0644 -p ebin/rebar.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_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_protobuffs_compiler.beam ebin/rebar_qc.beam ebin/rebar_rand_compat.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.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/ + '[' -d include/ ']' BUILDSTDERR: ++ ls include/rebar.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/rebar.hrl /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/include/rebar.hrl + '[' -d priv/ ']' BUILDSTDERR: ++ ls 'priv/*.so' BUILDSTDERR: ls: cannot access 'priv/*.so': No such file or directory + install -D -p -m 0755 /builddir/build/SOURCES/rebar.escript /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/bin/rebar + cp -a priv /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /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.4/priv/templates/simplenode.runner from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib64/erlang/lib/rebar-2.6.4/priv/templates/simplenode.nodetool from /usr/bin/env escript to #!/usr/bin/escript Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tJ6zep Processing files: erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Vw2ei8 + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + DOCDIR=/builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/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.4-7.1.riscv64.fc29.riscv64/usr/share/doc/erlang-rebar + cp -pr README.md /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/share/doc/erlang-rebar + cp -pr THANKS /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/share/doc/erlang-rebar + cp -pr rebar.config.sample /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/share/doc/erlang-rebar + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nK16YU + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/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.4-7.1.riscv64.fc29.riscv64/usr/share/licenses/erlang-rebar + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/share/licenses/erlang-rebar + exit 0 BUILDSTDERR: ERROR: Cant find eflame:apply/5 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/rebar.beam' BUILDSTDERR: ERROR: Cant find rebar_rnd:uniform/0 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/rebar_eunit.beam' BUILDSTDERR: ERROR: Cant find rebar_rnd:seed/1 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/rebar_eunit.beam' Provides: erlang-rebar = 2.6.4-7.1.riscv64.fc29 erlang-rebar(riscv-64) = 2.6.4-7.1.riscv64.fc29 rebar = 2.6.4-7.1.riscv64.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/escript /usr/bin/sh erlang-asn1(riscv-64) erlang-compiler(riscv-64) erlang-crypto(riscv-64) erlang-dialyzer(riscv-64) erlang-diameter(riscv-64) erlang-edoc(riscv-64) erlang-erlydtl(riscv-64) erlang-erts(riscv-64) erlang-eunit(riscv-64) erlang-getopt(riscv-64) erlang-kernel(riscv-64) erlang-lfe(riscv-64) erlang-mustache(riscv-64) erlang-neotoma(riscv-64) erlang-protobuffs(riscv-64) erlang-reltool(riscv-64) erlang-sasl(riscv-64) erlang-snmp(riscv-64) erlang-stdlib(riscv-64) erlang-syntax_tools(riscv-64) erlang-tools(riscv-64) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64 Wrote: /builddir/build/RPMS/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.skMDS6 + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-rebar-2.6.4-7.1.riscv64.fc29.riscv64 + exit 0 Child return code was: 0