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-misultin.spec'], chrootPath='/var/lib/mock/f29-build-11302-5128/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-misultin.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 Wrote: /builddir/build/SRPMS/erlang-misultin-0.9-13.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-misultin.spec'], chrootPath='/var/lib/mock/f29-build-11302-5128/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-misultin.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Evz0Zv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf misultin-misultin-0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/misultin-0.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd misultin-misultin-0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (erlang-misultin-0001-Simplify-starting-applications.patch):' Patch #1 (erlang-misultin-0001-Simplify-starting-applications.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/misultin.erl + echo 'Patch #2 (erlang-misultin-0002-No-longer-available-erlang-now-0.patch):' Patch #2 (erlang-misultin-0002-No-longer-available-erlang-now-0.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/misultin_utility.erl + echo 'Patch #3 (erlang-misultin-0003-Remove-obsolete-crypto-sha-2-function.patch):' Patch #3 (erlang-misultin-0003-Remove-obsolete-crypto-sha-2-function.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/misultin_websocket_draft-hybi-10_17.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U7EcPZ + umask 022 + cd /builddir/build/BUILD *.app file (or *.app.src template) was found. + cd misultin-misultin-0.9 + '[' '!' -f src/misultin.app.src -a '!' -f src/misultin.app -a '!' -f ebin/misultin.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.9 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/misultin-misultin-0.9/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/misultin-misultin-0.9"}, "0.9"}.' + 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/misultin-misultin-0.9/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/misultin-misultin-0.9/src/misultin.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/misultin-misultin-0.9: [] DEBUG: Predirs: [] ==> misultin-misultin-0.9 (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: Files to compile first: ["src/misultin_websocket.erl"] Compiled src/misultin_websocket.erl DEBUG: Starting 3 compile worker(s) Compiled src/misultin_acceptors_sup.erl Compiled src/misultin_ws.erl Compiled src/misultin_websocket_draft-hixie-68.erl Compiled src/misultin_websocket_draft-hybi-10_17.erl Compiled src/misultin_websocket_draft-hybi-17.erl src/misultin_sessions.erl:284: Warning: call to crypto:rand_bytes/1 will fail, since it was removed in 20.0; use crypto:strong_rand_bytes/1 Compiled src/misultin_sessions.erl Compiled src/misultin_utility.erl Compiled src/misultin_req.erl Compiled src/misultin_socket.erl Compiled src/misultin_server.erl Compiled src/misultin_websocket_draft-hybi-10.erl Compiled src/misultin.erl Compiled src/misultin_acceptor.erl Compiled src/misultin_websocket_draft-hixie-76.erl DEBUG: Worker exited cleanly Compiled src/misultin_cookies.erl DEBUG: Worker exited cleanly Compiled src/misultin_http.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. + '[' -f doc/overview.edoc ']' + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZlQFZt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64 + cd misultin-misultin-0.9 + '[' misultin '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/ebin/ + '[' -f ebin/misultin.app ']' + /usr/bin/install -m 0644 -p ebin/misultin.app /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/ebin/ + /usr/bin/install -m 0644 -p ebin/misultin.beam ebin/misultin_acceptor.beam ebin/misultin_acceptors_sup.beam ebin/misultin_cookies.beam ebin/misultin_http.beam ebin/misultin_req.beam ebin/misultin_server.beam ebin/misultin_sessions.beam ebin/misultin_socket.beam ebin/misultin_utility.beam ebin/misultin_websocket.beam ebin/misultin_websocket_draft-hixie-68.beam ebin/misultin_websocket_draft-hixie-76.beam ebin/misultin_websocket_draft-hybi-10.beam ebin/misultin_websocket_draft-hybi-10_17.beam ebin/misultin_websocket_draft-hybi-17.beam ebin/misultin_ws.beam /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/ebin/ + '[' -d include/ ']' BUILDSTDERR: ++ ls include/misultin.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/misultin.hrl /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/include/misultin.hrl + '[' -d priv/ ']' BUILDSTDERR: ++ ls 'priv/*.so' BUILDSTDERR: ls: cannot access 'priv/*.so': No such file or directory + cp -arv priv/ /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/ 'priv/' -> '/builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/priv' 'priv/README.txt' -> '/builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/priv/README.txt' 'priv/test_certificate.pem' -> '/builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/priv/test_certificate.pem' 'priv/test_privkey.pem' -> '/builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/priv/test_privkey.pem' + /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.1nWahv Processing files: erlang-misultin-0.9-13.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vOBnLv + umask 022 + cd /builddir/build/BUILD + cd misultin-misultin-0.9 + DOCDIR=/builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/doc/erlang-misultin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/doc/erlang-misultin + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/doc/erlang-misultin + cp -pr EXPORTS.md /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/doc/erlang-misultin + cp -pr README.md /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/doc/erlang-misultin + cp -pr examples/ /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/doc/erlang-misultin + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VAzVWB + umask 022 + cd /builddir/build/BUILD + cd misultin-misultin-0.9 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/licenses/erlang-misultin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/licenses/erlang-misultin + cp -pr LICENSE.txt /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/share/licenses/erlang-misultin + exit 0 BUILDSTDERR: ERROR: Cant find crypto:rand_bytes/1 while processing '/builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64/usr/lib64/erlang/lib/misultin-0.9/ebin/misultin_sessions.beam' Provides: erlang-misultin = 0.9-13.fc29 erlang-misultin(riscv-64) = 0.9-13.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: erlang-crypto(riscv-64) erlang-erts(riscv-64) erlang-inets(riscv-64) erlang-kernel(riscv-64) erlang-ssl(riscv-64) erlang-stdlib(riscv-64) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64 Wrote: /builddir/build/RPMS/erlang-misultin-0.9-13.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XRMzdH + umask 022 + cd /builddir/build/BUILD + cd misultin-misultin-0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-misultin-0.9-13.fc29.riscv64 + exit 0 Child return code was: 0