Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/erlang-cf.spec'], chrootPath='/var/lib/mock/f31-build-63075-29269/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/erlang-cf.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=1563926400 Wrote: /builddir/build/SRPMS/erlang-cf-0.3.1-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-cf.spec'], chrootPath='/var/lib/mock/f31-build-63075-29269/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-cf.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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xteKrN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cf-0.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/cf-0.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cf-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YfjgiJ + umask 022 + cd /builddir/build/BUILD + cd cf-0.3.1 + '[' '!' -f src/cf.app.src -a '!' -f src/cf.app -a '!' -f ebin/cf.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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=0.3.1 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/cf-0.3.1/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/cf-0.3.1"}, "0.3.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 + '[' -f doc/overview.edoc ']' + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 *.app file (or *.app.src template) was found. DEBUG: Consult config file "/builddir/build/BUILD/cf-0.3.1/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/cf-0.3.1/src/cf.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/cf-0.3.1: [] DEBUG: Predirs: [] ==> cf-0.3.1 (compile) DEBUG: Matched required ERTS version: 10.3.5.4 -> .* DEBUG: Matched required OTP release: 21 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,debug_info] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) DEBUG: Worker exited cleanly Compiled src/cf.erl DEBUG: Worker exited cleanly Compiled src/cf_term.erl DEBUG: Worker exited cleanly INFO: No app_vars_file defined. DEBUG: Postdirs: [] No 'doc/overview.edoc' file was found, so docs aren't generated. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VHD4qJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64 + cd cf-0.3.1 + '[' cf '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/lib64/erlang/lib/cf-0.3.1/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/lib64/erlang/lib/cf-0.3.1/ebin/ + '[' -f ebin/cf.app ']' + /usr/bin/install -m 0644 -p ebin/cf.app /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/lib64/erlang/lib/cf-0.3.1/ebin/ + /usr/bin/install -m 0644 -p ebin/cf.beam ebin/cf_term.beam /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/lib64/erlang/lib/cf-0.3.1/ebin/ + '[' -d include/ ']' + '[' -d priv/ ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.z7OZfJ Processing files: erlang-cf-0.3.1-3.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Y6jsxK + umask 022 + cd /builddir/build/BUILD + cd cf-0.3.1 + DOCDIR=/builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/share/doc/erlang-cf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/share/doc/erlang-cf + cp -pr README.md /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/share/doc/erlang-cf + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z27YgK + umask 022 + cd /builddir/build/BUILD + cd cf-0.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/share/licenses/erlang-cf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/share/licenses/erlang-cf + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64/usr/share/licenses/erlang-cf + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 288, in BUILDSTDERR: Ret = inspect_beam_file(ISA, filename) BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 241, in inspect_beam_file BUILDSTDERR: BeamModRequires BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 239, in BUILDSTDERR: RPMRequires = [item for sublist in map( BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 240, in BUILDSTDERR: lambda x: [(h[rpm.RPMTAG_NAME].decode("utf-8"), h[rpm.RPMTAG_ARCH].decode("utf-8")) for h in ts.dbMatch('basenames', x)], BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 240, in BUILDSTDERR: lambda x: [(h[rpm.RPMTAG_NAME].decode("utf-8"), h[rpm.RPMTAG_ARCH].decode("utf-8")) for h in ts.dbMatch('basenames', x)], BUILDSTDERR: AttributeError: 'str' object has no attribute 'decode' BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 288, in BUILDSTDERR: Ret = inspect_beam_file(ISA, filename) BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 241, in inspect_beam_file BUILDSTDERR: BeamModRequires BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 239, in BUILDSTDERR: RPMRequires = [item for sublist in map( BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 240, in BUILDSTDERR: lambda x: [(h[rpm.RPMTAG_NAME].decode("utf-8"), h[rpm.RPMTAG_ARCH].decode("utf-8")) for h in ts.dbMatch('basenames', x)], BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 240, in BUILDSTDERR: lambda x: [(h[rpm.RPMTAG_NAME].decode("utf-8"), h[rpm.RPMTAG_ARCH].decode("utf-8")) for h in ts.dbMatch('basenames', x)], BUILDSTDERR: AttributeError: 'str' object has no attribute 'decode' Provides: erlang-cf = 0.3.1-3.fc31 erlang-cf(riscv-64) = 0.3.1-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64 Wrote: /builddir/build/RPMS/erlang-cf-0.3.1-3.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hQQnsK + umask 022 + cd /builddir/build/BUILD + cd cf-0.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-cf-0.3.1-3.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0