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-hamcrest.spec'], chrootPath='/var/lib/mock/f29-build-9565-4289/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-hamcrest.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 17: %{upstream}/%{realname}-erlang/archive/%{version}/%{realname}-%{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/erlang-hamcrest-0.1.0-8.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-hamcrest.spec'], chrootPath='/var/lib/mock/f29-build-9565-4289/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-hamcrest.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 17: %{upstream}/%{realname}-erlang/archive/%{version}/%{realname}-%{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6uTPmh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/hamcrest-0.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (erlang-hamcrest-0001-Remove-the-warnings-cause-by-type-declarations.patch):' Patch #1 (erlang-hamcrest-0001-Remove-the-warnings-cause-by-type-declarations.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_warnings --fuzz=0 patching file include/hamcrest_internal.hrl + echo 'Patch #2 (erlang-hamcrest-0002-Fix-for-typespec-in-OTP-19.patch):' Patch #2 (erlang-hamcrest-0002-Fix-for-typespec-in-OTP-19.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/hamcrest.erl patching file src/hamcrest_matchers.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Eb049u + umask 022 *.app file (or *.app.src template) was found. + cd /builddir/build/BUILD + cd hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 + '[' '!' -f src/hamcrest.app.src -a '!' -f src/hamcrest.app -a '!' -f ebin/hamcrest.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=0.1.0 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6"}, "0.1.0"}.' + 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/hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6: [header_generator, eqc_resolver] DEBUG: Plugin dirs for /builddir/build/BUILD/hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6: ["/builddir/build/BUILD/hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6", "priv/build/plugins"] INFO: Loading plugin eqc_resolver from priv/build/plugins/eqc_resolver.erl INFO: Loading plugin header_generator from priv/build/plugins/header_generator.erl DEBUG: Loaded plugins: [eqc_resolver,header_generator] DEBUG: Predirs: [] ==> hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 (compile) DEBUG: Matched required ERTS version: 9.3.1 -> .* DEBUG: Matched required OTP release: 20 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,debug_info,fail_on_warning,{d,namespaced_types}] DEBUG: Files to compile first: ["src/hamcrest.erl"] Compiled src/hamcrest.erl DEBUG: Starting 3 compile worker(s) DEBUG: Worker exited cleanly Compiled src/hamcrest_term.erl DEBUG: Worker exited cleanly Compiled src/hamcrest_matchers.erl DEBUG: Worker exited cleanly ==> hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 (post_compile) DEBUG: Adding header exports/imports: [{will_fail,0}, {will_fail,2}, {anything,0}, {foreach,1}, {any_of,1}, {all_of,1}, {equal_to,1}, {exactly_equal_to,1}, {is,1}, {is_true,0}, {is_false,0}, {is_not,1}, {greater_than,1}, {greater_than_or_equal_to,1}, {less_than,1}, {less_than_or_equal_to,1}, {contains_string,1}, {starts_with,1}, {ends_with,1}, {matches_regex,1}, {match_mfa,3}, {match_mfa,4}, {reverse_match_mfa,3}, {reverse_match_mfa,4}, {isalive,0}, {isdead,0}, {has_length,1}, {has_same_contents_as,1}, {contains_member,1}, {check_member,2}, {isempty,0}, {check_isempty,1}, {module_info,0}, {module_info,1}] INFO: Header file(s) generated. 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.U3xCMm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64 + cd hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 + '[' hamcrest '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/lib64/erlang/lib/hamcrest-0.1.0/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/lib64/erlang/lib/hamcrest-0.1.0/ebin/ + '[' -f ebin/hamcrest.app ']' + /usr/bin/install -m 0644 -p ebin/hamcrest.app /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/lib64/erlang/lib/hamcrest-0.1.0/ebin/ + /usr/bin/install -m 0644 -p ebin/hamcrest.beam ebin/hamcrest_matchers.beam ebin/hamcrest_term.beam /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/lib64/erlang/lib/hamcrest-0.1.0/ebin/ + '[' -d include/ ']' BUILDSTDERR: ++ ls include/hamcrest.hrl include/hamcrest_internal.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/hamcrest.hrl /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/lib64/erlang/lib/hamcrest-0.1.0/include/hamcrest.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/hamcrest_internal.hrl /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/lib64/erlang/lib/hamcrest-0.1.0/include/hamcrest_internal.hrl + '[' -d priv/ ']' BUILDSTDERR: ++ ls 'priv/*.so' BUILDSTDERR: ls: cannot access 'priv/*.so': No such file or directory + /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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lEU1qz Processing files: erlang-hamcrest-0.1.0-8.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u3hS4O + umask 022 + cd /builddir/build/BUILD + cd hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 + DOCDIR=/builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/share/doc/erlang-hamcrest + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/share/doc/erlang-hamcrest + cp -pr NOTES /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/share/doc/erlang-hamcrest + cp -pr README.markdown /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/share/doc/erlang-hamcrest + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ToBhY3 + umask 022 + cd /builddir/build/BUILD + cd hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/share/licenses/erlang-hamcrest + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/share/licenses/erlang-hamcrest + cp -pr LICENCE /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64/usr/share/licenses/erlang-hamcrest + exit 0 Provides: erlang-hamcrest = 0.1.0-8.fc29 erlang-hamcrest(riscv-64) = 0.1.0-8.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: erlang-erts(riscv-64) erlang-kernel(riscv-64) erlang-stdlib(riscv-64) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64 Wrote: /builddir/build/RPMS/erlang-hamcrest-0.1.0-8.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yfc3Dc + umask 022 + cd /builddir/build/BUILD + cd hamcrest-erlang-908a24fda4a46776a5135db60ca071e3d783f9f6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-hamcrest-0.1.0-8.fc29.riscv64 + exit 0 Child return code was: 0