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/libscrypt.spec'], chrootPath='/var/lib/mock/f31-build-100261-33239/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libscrypt.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=1564012800 Wrote: /builddir/build/SRPMS/libscrypt-1.21-9.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libscrypt.spec'], chrootPath='/var/lib/mock/f31-build-100261-33239/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libscrypt.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4VLcji + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libscrypt-1.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.21.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libscrypt-1.21 + /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.DGkKTj + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + export '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' + 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' + make -j4 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -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 crypto_scrypt-nosse.o crypto_scrypt-nosse.c cc -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 sha256.o sha256.c cc -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 crypto-mcf.o crypto-mcf.c cc -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 b64.o b64.c cc -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 crypto-scrypt-saltgen.o crypto-scrypt-saltgen.c cc -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 crypto_scrypt-check.o crypto_scrypt-check.c cc -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 crypto_scrypt-hash.o crypto_scrypt-hash.c cc -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 slowequals.o slowequals.c cc -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 main.o main.c cc -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 crypto_scrypt-hexconvert.o crypto_scrypt-hexconvert.c cc -Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version -shared -o libscrypt.so.0 crypto_scrypt-nosse.o sha256.o crypto-mcf.o b64.o crypto-scrypt-saltgen.o crypto_scrypt-check.o crypto_scrypt-hash.o slowequals.o -lm -lc ar rcs libscrypt.a crypto_scrypt-nosse.o sha256.o crypto-mcf.o b64.o crypto-scrypt-saltgen.o crypto_scrypt-check.o crypto_scrypt-hash.o slowequals.o ln -s -f libscrypt.so.0 libscrypt.so cc -Wall -o reference main.o b64.o crypto_scrypt-hexconvert.o -Wl,-rpath=. -L. -lscrypt Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AgEIrg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 + cd libscrypt-1.21 + make install DESTDIR=/builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 PREFIX=/usr LIBDIR=/usr/lib64 + find /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 -name '*.*a' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.21-9.fc31 --unique-debug-suffix -1.21-9.fc31.riscv64 --unique-debug-src-base libscrypt-1.21-9.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libscrypt-1.21 BUILDSTDERR: 91 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install -d /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/lib64 /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/include install -pm 0755 libscrypt.so.0 /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/lib64 cd /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/lib64 && ln -s -f libscrypt.so.0 /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/lib64/libscrypt.so install -pm 0644 libscrypt.h /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/include explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/lib64/libscrypt.so.0 extracting debug info from /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/lib64/libscrypt.so.0 original debug info size: 108kB, size after compression: 104kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WbjMFh + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + make check + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ./reference TEST ONE: Direct call to reference function with password 'password' and salt 'NaCL' TEST ONE: SUCCESSFUL TEST ONE and a half: Review errno on invalid input TEST ONE and a half: Successfully failed on error: Invalid argument TEST TWO: Convert binary output to hex TEST TWO: SUCCESSFUL, Hex output is: fdbabe1c9d3472007856e7190d01e9fe7c6ad7cbc8237830e77376634b3731622eaf30d92e22a3886ff109279d9830dac727afb94a83ee6d8360cbdfa2cc0640 TEST THREE: Compare hex output to reference hash output TEST THREE: SUCCESSUL, Test vector matched! TEST FOUR: Direct call to reference function with pleaseletmein password and SodiumChloride as salt TEST FOUR: SUCCESSFUL TEST FIVE: Convert binary output to hex TEST FIVE: SUCCESSFUL, Hex output is: 7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887 TEST SIX: Compare hex output to reference hash output TEST SIX: SUCCESSUL, Test vector matched! TEST SEVEN: BASE64 encoding the salt and hash output TEST SEVEN: SUCCESSFUL TEST EIGHT: Create an MCF format output TEST EIGHT: SUCCESSFUL, calculated mcf $s1$0e0801$U29kaXVtQ2hsb3JpZGU=$cCO9yzr9c0hGHAbNgf046/2o+7qQT44+qbVD9lRdofLVQylVYT8Pz2LUlwUkKpr55h6F3A1lHkDfzwF7RVdYhw== TEST NINE: Password verify on given MCF TEST NINE: SUCCESSFUL, tested pleaseletmein password TEST TEN: Password verify on same MCF, incorrect password TEST TEN: SUCCESSFUL, refused incorrect password TEST ELEVEN: Testing salt generator TEST ELEVEN: SUCCESSFUL, Generated L0EKUFJ//V1Jgc1GQe4Q/A== TEST TWELVE: Simple hash creation TEST TWELVE: SUCCESSFUL. Received the following from simple hash: $s1$0e0810$ZXpM363LGw8NwCKaaB8hCw==$v66vEyMwTRwdNFqi2rSWlmL0icWULqZnIlFRtti9pCS65CU6y+KY0oxNCQ8QGVs/UqFDTQL50KhbnaBptSMYzg== TEST THIRTEEN: Verify test twelve's hash TEST THIRTEEN: SUCCESSFUL Processing files: libscrypt-1.21-9.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sXVkgg + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + DOCDIR=/builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/share/doc/libscrypt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/share/doc/libscrypt + cp -pr README.md /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/share/doc/libscrypt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TaMOCg + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + LICENSEDIR=/builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/share/licenses/libscrypt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/share/licenses/libscrypt + cp -pr LICENSE /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64/usr/share/licenses/libscrypt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libscrypt = 1.21-9.fc31 libscrypt(riscv-64) = 1.21-9.fc31 libscrypt.so.0()(64bit) libscrypt.so.0(libscrypt)(64bit) 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) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: libscrypt-devel-1.21-9.fc31.riscv64 Provides: libscrypt-devel = 1.21-9.fc31 libscrypt-devel(riscv-64) = 1.21-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libscrypt.so.0()(64bit) Processing files: libscrypt-debugsource-1.21-9.fc31.riscv64 Provides: libscrypt-debugsource = 1.21-9.fc31 libscrypt-debugsource(riscv-64) = 1.21-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libscrypt-debuginfo-1.21-9.fc31.riscv64 Provides: debuginfo(build-id) = 41849b792187a67b7199c9c6c489ba6b73f74e28 libscrypt-debuginfo = 1.21-9.fc31 libscrypt-debuginfo(riscv-64) = 1.21-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libscrypt-debugsource(riscv-64) = 1.21-9.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 Wrote: /builddir/build/RPMS/libscrypt-devel-1.21-9.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libscrypt-1.21-9.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libscrypt-debugsource-1.21-9.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libscrypt-debuginfo-1.21-9.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ckopsi + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libscrypt-1.21-9.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0