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/sha2.spec'], chrootPath='/var/lib/mock/f31-build-51915-27559/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/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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/sha2-1.0.1-15.fc31.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/f31-build-51915-27559/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/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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CrnS0W + 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 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QdziHW + 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' BUILDSTDERR: sha2prog.c: In function 'main': BUILDSTDERR: sha2prog.c:71:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] BUILDSTDERR: 71 | 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: 112 | SHA256_End(&ctx256, buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sha2prog.c:41: BUILDSTDERR: sha2.h:153:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 153 | 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: 118 | SHA384_End(&ctx384, buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sha2prog.c:41: BUILDSTDERR: sha2.h:159:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 159 | 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: 124 | SHA512_End(&ctx512, buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from sha2prog.c:41: BUILDSTDERR: sha2.h:165:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 165 | char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); BUILDSTDERR: | ^~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 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 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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mDTXJV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64 + cd sha2-1.0.1 + make install DESTDIR=/builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.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' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-15.fc31 --unique-debug-suffix -1.0.1-15.fc31.riscv64 --unique-debug-src-base sha2-1.0.1-15.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sha2-1.0.1 BUILDSTDERR: 94 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs 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-15.fc31.riscv64/usr/bin install sha2 sha2speed /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/bin install -d /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/include install -pm 644 sha2.h /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/include install -d /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/lib64 install libsha2.so.1.0.1 libsha2.so libsha2.so.1 /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/lib64 ln -sf libsha2.so.1.0.1 /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/lib64/libsha2.so.1 ln -sf libsha2.so.1 /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/lib64/libsha2.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/lib64/libsha2.so.1.0.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/bin/sha2speed explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/bin/sha2 extracting debug info from /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/bin/sha2speed extracting debug info from /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/lib64/libsha2.so.1.0.1 extracting debug info from /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/bin/sha2 original debug info size: 132kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.N4yPST Processing files: sha2-1.0.1-15.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pF7phU + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.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-15.fc31.riscv64/usr/share/doc/sha2 + cp -pr README /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64/usr/share/doc/sha2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libsha2.so.1()(64bit) sha2 = 1.0.1-15.fc31 sha2(riscv-64) = 1.0.1-15.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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-15.fc31.riscv64 Provides: sha2-devel = 1.0.1-15.fc31 sha2-devel(riscv-64) = 1.0.1-15.fc31 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-15.fc31.riscv64 Provides: sha2-debugsource = 1.0.1-15.fc31 sha2-debugsource(riscv-64) = 1.0.1-15.fc31 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-15.fc31.riscv64 Provides: debuginfo(build-id) = 26e72577e370f687d33e330f19abe618e75f849b debuginfo(build-id) = 84893160c4bc164c5954238b91251d44708c42a6 debuginfo(build-id) = 8636aa13ac5a9a829d76374c73e6d87ee610cc73 sha2-debuginfo = 1.0.1-15.fc31 sha2-debuginfo(riscv-64) = 1.0.1-15.fc31 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-15.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64 Wrote: /builddir/build/RPMS/sha2-devel-1.0.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sha2-1.0.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sha2-debugsource-1.0.1-15.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sha2-debuginfo-1.0.1-15.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Nca8mV + umask 022 + cd /builddir/build/BUILD + cd sha2-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sha2-1.0.1-15.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0