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/sha2.spec'], chrootPath='/var/lib/mock/f29-build-9289-4147/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/sha2.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/sha2-1.0.1-13.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sha2.spec'], chrootPath='/var/lib/mock/f29-build-9289-4147/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/sha2.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1FIdCp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sha2-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sha2-1.0.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sha2-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/sha2-Makefile Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1YPtbv + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + make -j4 'OPTFLAGS=-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' gcc -Wall -fPIC -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 -c -o sha2.o sha2.c gcc -Wall -fPIC -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 -c -o sha2prog.o sha2prog.c gcc -Wall -fPIC -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 -c -o sha2speed.o sha2speed.c BUILDSTDERR: sha2prog.c: In function 'main': BUILDSTDERR: sha2prog.c:71:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] BUILDSTDERR: if (!strcmp(av, "q")) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: sha2prog.c:112:23: warning: pointer targets in passing argument 2 of 'SHA256_End' differ in signedness [-Wpointer-sign] BUILDSTDERR: SHA256_End(&ctx256, buf); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from sha2prog.c:41: BUILDSTDERR: sha2.h:153:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: sha2prog.c:118:23: warning: pointer targets in passing argument 2 of 'SHA384_End' differ in signedness [-Wpointer-sign] BUILDSTDERR: SHA384_End(&ctx384, buf); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from sha2prog.c:41: BUILDSTDERR: sha2.h:159:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: sha2prog.c:124:23: warning: pointer targets in passing argument 2 of 'SHA512_End' differ in signedness [-Wpointer-sign] BUILDSTDERR: SHA512_End(&ctx512, buf); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from sha2prog.c:41: BUILDSTDERR: sha2.h:165:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); BUILDSTDERR: ^~~~~~~~~~ gcc -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 -shared -fPIC -Wl,-soname,libsha2.so.1 -o libsha2.so.1.0.1 sha2.o ln -sf libsha2.so.1.0.1 libsha2.so.1 ln -sf libsha2.so.1 libsha2.so gcc sha2prog.o -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 -o sha2 -L. -lsha2 gcc sha2speed.o -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 -o sha2speed -L. -lsha2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lW5qcu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64 + cd sha2-1.0.1 + make install DESTDIR=/builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64 LIBDIR=/usr/lib64 INCLUDEDIR=/usr/include BINDIR=/usr/bin 'OPTFLAGS=-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' gcc -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 -shared -fPIC -Wl,-soname,libsha2.so.1 -o libsha2.so.1.0.1 sha2.o ln -sf libsha2.so.1.0.1 libsha2.so.1 ln -sf libsha2.so.1 libsha2.so gcc sha2prog.o -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 -o sha2 -L. -lsha2 gcc sha2speed.o -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 -o sha2speed -L. -lsha2 install -d /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/bin install sha2 sha2speed /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/bin install -d /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/include install -pm 644 sha2.h /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/include install -d /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/lib64 install libsha2.so.1.0.1 libsha2.so libsha2.so.1 /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/lib64 ln -sf libsha2.so.1.0.1 /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/lib64/libsha2.so.1 ln -sf libsha2.so.1 /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/lib64/libsha2.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-13.fc29 --unique-debug-suffix -1.0.1-13.fc29.riscv64 --unique-debug-src-base sha2-1.0.1-13.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sha2-1.0.1 extracting debug info from /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/bin/sha2speed extracting debug info from /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/bin/sha2 extracting debug info from /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/lib64/libsha2.so.1.0.1 /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 94 blocks + /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-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.MfyZHz Processing files: sha2-1.0.1-13.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1g8AJ0 + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/share/doc/sha2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/share/doc/sha2 + cp -pr README /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64/usr/share/doc/sha2 + exit 0 Provides: libsha2.so.1()(64bit) sha2 = 1.0.1-13.fc29 sha2(riscv-64) = 1.0.1-13.fc29 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libsha2.so.1()(64bit) rtld(GNU_HASH) Processing files: sha2-devel-1.0.1-13.fc29.riscv64 Provides: sha2-devel = 1.0.1-13.fc29 sha2-devel(riscv-64) = 1.0.1-13.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libsha2.so.1()(64bit) Processing files: sha2-debugsource-1.0.1-13.fc29.riscv64 Provides: sha2-debugsource = 1.0.1-13.fc29 sha2-debugsource(riscv-64) = 1.0.1-13.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sha2-debuginfo-1.0.1-13.fc29.riscv64 Provides: debuginfo(build-id) = 0388a57e55dad10950ea1f787da08cfd4f844397 debuginfo(build-id) = 5b5ae86db0acf180e0fb44164d015d5b4088173d debuginfo(build-id) = 9b524fb53be0d2d78234345075f40b0d1560b8d4 sha2-debuginfo = 1.0.1-13.fc29 sha2-debuginfo(riscv-64) = 1.0.1-13.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sha2-debugsource(riscv-64) = 1.0.1-13.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64 Wrote: /builddir/build/RPMS/sha2-1.0.1-13.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sha2-devel-1.0.1-13.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sha2-debugsource-1.0.1-13.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sha2-debuginfo-1.0.1-13.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QQYoie + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sha2-1.0.1-13.fc29.riscv64 + exit 0 Child return code was: 0