Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/argon2.spec'], chrootPath='/var/lib/mock/f33-build-298328-56116/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/argon2.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=1595808000 Wrote: /builddir/build/SRPMS/argon2-20171227-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/argon2.spec'], chrootPath='/var/lib/mock/f33-build-298328-56116/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/argon2.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=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j9dPnv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + /usr/bin/gzip -dc /builddir/build/SOURCES/phc-winner-argon2-20171227-670229c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (argon2-Use-explicit_bzero-on-recent-glibc-versions.patch):' Patch #0 (argon2-Use-explicit_bzero-on-recent-glibc-versions.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/core.c Patch #1 (argon2-Wait-for-already-running-threads-if-a-thread-creatio.patch): + echo 'Patch #1 (argon2-Wait-for-already-running-threads-if-a-thread-creatio.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/core.c + grep -q 'ABI_VERSION = 1' Makefile + sed -e 's:lib/@HOST_MULTIARCH@:lib64:;s/@UPSTREAM_VER@/20171227/' -i libargon2.pc + sed -e '/^CFLAGS/s:^CFLAGS:LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld\nCFLAGS:' -e 's:-O3 -Wall:-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection:' -e '/^LIBRARY_REL/s:lib:lib64:' -e 's:-march=\$(OPTTARGET) :${CFLAGS} :' -e 's:CFLAGS += -march=\$(OPTTARGET)::' -i Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NzMxkt + umask 022 + cd /builddir/build/BUILD + cd phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + make -j1 Building without optimizations cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld src/argon2.c src/core.c src/blake2/blake2b.c src/thread.c src/encoding.c src/ref.c src/run.c -o argon2 cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -shared -fPIC -fvisibility=hidden -DA2_VISCTL=1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,libargon2.so.1 src/argon2.c src/core.c src/blake2/blake2b.c src/thread.c src/encoding.c src/ref.c -o libargon2.so.1 cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -c -o src/argon2.o src/argon2.c cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -c -o src/core.o src/core.c cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -c -o src/blake2/blake2b.o src/blake2/blake2b.c cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -c -o src/thread.o src/thread.c cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -c -o src/encoding.o src/encoding.c cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -c -o src/ref.o src/ref.c ar rcs libargon2.a src/argon2.o src/core.o src/blake2/blake2b.o src/thread.o src/encoding.o src/ref.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mTaZQv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64 + cd phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + make install DESTDIR=/builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64 Building without optimizations install -d /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/include install -m 0644 include/argon2.h /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/include install -d /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/lib64 install libargon2.so.1 libargon2.a /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/lib64 cd /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/lib64 && ln -s libargon2.so.1 libargon2.so install -d /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/bin install argon2 /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/bin + rm /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/lib64/libargon2.a + install -Dpm 644 libargon2.pc /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/lib64/pkgconfig/libargon2.pc + chmod -x /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/include/argon2.h + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20171227-5.fc33 --unique-debug-suffix -20171227-5.fc33.riscv64 --unique-debug-src-base argon2-20171227-5.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/bin/argon2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/lib64/libargon2.so.1 extracting debug info from /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/bin/argon2 extracting debug info from /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/lib64/libargon2.so.1 original debug info size: 860kB, size after compression: 840kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 238 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uauijt + umask 022 + cd /builddir/build/BUILD + cd phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + make test Building without optimizations cc -std=c89 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Iinclude -Isrc -pthread -Wextra -Wno-type-limits src/argon2.c src/core.c src/blake2/blake2b.c src/thread.c src/encoding.c src/ref.c src/test.c -o testcase Default build argon2i v=16: OK argon2d v=16: OK argon2id v=16: OK argon2i v=19: OK argon2d v=19: OK argon2id v=19: OK Force OPTTEST=1 argon2i v=16: OK argon2d v=16: OK argon2id v=16: OK argon2i v=19: OK argon2d v=19: OK argon2id v=19: OK ./testcase Test Argon2i version number: 10 Hash test: $v=16 t=2, m=16, p=1, pass=password, salt=somesalt: PASS Hash test: $v=16 t=2, m=18, p=1, pass=password, salt=somesalt: PASS Hash test: $v=16 t=2, m=8, p=1, pass=password, salt=somesalt: PASS Hash test: $v=16 t=2, m=8, p=2, pass=password, salt=somesalt: PASS Hash test: $v=16 t=1, m=16, p=1, pass=password, salt=somesalt: PASS Hash test: $v=16 t=4, m=16, p=1, pass=password, salt=somesalt: PASS Hash test: $v=16 t=2, m=16, p=1, pass=differentpassword, salt=somesalt: PASS Hash test: $v=16 t=2, m=16, p=1, pass=password, salt=diffsalt: PASS Recognise an invalid encoding: PASS Recognise an invalid encoding: PASS Recognise an invalid salt in encoding: PASS Verify with mismatched password: PASS Decode an error message: PASS Test Argon2i version number: 13 Hash test: $v=19 t=2, m=16, p=1, pass=password, salt=somesalt: PASS Hash test: $v=19 t=2, m=18, p=1, pass=password, salt=somesalt: PASS Hash test: $v=19 t=2, m=8, p=1, pass=password, salt=somesalt: PASS Hash test: $v=19 t=2, m=8, p=2, pass=password, salt=somesalt: PASS Hash test: $v=19 t=1, m=16, p=1, pass=password, salt=somesalt: PASS Hash test: $v=19 t=4, m=16, p=1, pass=password, salt=somesalt: PASS Hash test: $v=19 t=2, m=16, p=1, pass=differentpassword, salt=somesalt: PASS Hash test: $v=19 t=2, m=16, p=1, pass=password, salt=diffsalt: PASS Recognise an invalid encoding: PASS Recognise an invalid encoding: PASS Recognise an invalid salt in encoding: PASS Verify with mismatched password: PASS Decode an error message: PASS Common error state tests Fail on invalid memory: PASS Fail on invalid null pointer: PASS Fail on salt too short: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: argon2-20171227-5.fc33.riscv64 Provides: argon2 = 20171227-5.fc33 argon2(riscv-64) = 20171227-5.fc33 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libargon2-20171227-5.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.URDwIx + umask 022 + cd /builddir/build/BUILD + cd phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + LICENSEDIR=/builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/share/licenses/libargon2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/share/licenses/libargon2 + cp -pr LICENSE /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/share/licenses/libargon2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libargon2 = 20171227-5.fc33 libargon2(riscv-64) = 20171227-5.fc33 libargon2.so.1()(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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libargon2-devel-20171227-5.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5VdYMt + umask 022 + cd /builddir/build/BUILD + cd phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + DOCDIR=/builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/share/doc/libargon2-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/share/doc/libargon2-devel + cp -pr CHANGELOG.md README.md /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64/usr/share/doc/libargon2-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libargon2-devel = 20171227-5.fc33 libargon2-devel(riscv-64) = 20171227-5.fc33 pkgconfig(libargon2) = 20171227 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libargon2.so.1()(64bit) Processing files: argon2-debugsource-20171227-5.fc33.riscv64 Provides: argon2-debugsource = 20171227-5.fc33 argon2-debugsource(riscv-64) = 20171227-5.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: argon2-debuginfo-20171227-5.fc33.riscv64 Provides: argon2-debuginfo = 20171227-5.fc33 argon2-debuginfo(riscv-64) = 20171227-5.fc33 debuginfo(build-id) = 8defbbe0fac7efe1a0e03944676ebb5f43bef33c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: argon2-debugsource(riscv-64) = 20171227-5.fc33 Processing files: libargon2-debuginfo-20171227-5.fc33.riscv64 Provides: debuginfo(build-id) = 18102fa1b445364f57ea90510ce2f5fdb6294dd9 libargon2-debuginfo = 20171227-5.fc33 libargon2-debuginfo(riscv-64) = 20171227-5.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: argon2-debugsource(riscv-64) = 20171227-5.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64 Wrote: /builddir/build/RPMS/libargon2-20171227-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/argon2-debugsource-20171227-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/argon2-debuginfo-20171227-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libargon2-debuginfo-20171227-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libargon2-devel-20171227-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/argon2-20171227-5.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.koz7vt + umask 022 + cd /builddir/build/BUILD + cd phc-winner-argon2-670229c849b9fe882583688b74eb7dfdc846f9f6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/argon2-20171227-5.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0