Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/dist-circle9-build-119539-84358/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=994gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/xxhash.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': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1694044800 Wrote: /builddir/build/SRPMS/xxhash-0.8.2-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/dist-circle9-build-119539-84358/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=994gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/xxhash.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': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1694044800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6MTtI5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xxHash-0.8.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/xxhash-0.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eJXIoO + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.2 + /usr/bin/make -O -j32 V=1 VERBOSE=1 'MOREFLAGS=-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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' DISPATCH=0 cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -c -o cli/xsum_output.o cli/xsum_output.c cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -c -o cli/xsum_os_specific.o cli/xsum_os_specific.c cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -c -o cli/xsum_bench.o cli/xsum_bench.c cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -c -o cli/xsum_sanity_check.o cli/xsum_sanity_check.c cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -c -o cli/xxhsum.o cli/xxhsum.c cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -c -o xxhash.o xxhash.c ar rcs libxxhash.a xxhash.o cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fPIC xxhash.c -shared -Wl,-soname=libxxhash.so.0 -o libxxhash.so.0.8.2 ln -sf libxxhash.so.0.8.2 libxxhash.so.0 ln -sf libxxhash.so.0.8.2 libxxhash.so cc -O3 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 xxhash.o cli/xxhsum.o cli/xsum_os_specific.o cli/xsum_output.o cli/xsum_sanity_check.o cli/xsum_bench.o -o xxhsum ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum ln -sf xxhsum xxh128sum + doxygen + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lRcmM5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le + cd xxHash-0.8.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBDIR=/usr/lib64 Installing libxxhash.a Installing libxxhash creating pkgconfig Installing pkgconfig Installing xxhsum Installing man pages xxhash installation completed + rm /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le//usr/lib64/libxxhash.a + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.8.2-1.el9 --unique-debug-suffix -0.8.2-1.el9.ppc64le --unique-debug-src-base xxhash-0.8.2-1.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/xxHash-0.8.2 extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/bin/xxhsum extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/lib64/libxxhash.so.0.8.2 original debug info size: 744kB, size after compression: 712kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 740 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.LST4GL + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.2 + make check make -C tests test_sanity make[1]: Entering directory '/builddir/build/BUILD/xxHash-0.8.2/tests' cc -Wall -Wextra -Wundef -g sanity_test.c -o sanity_test ./sanity_test OK. (passes 49948 tests) make[1]: Leaving directory '/builddir/build/BUILD/xxHash-0.8.2/tests' # stdin # If you get "Wrong parameters" on Emscripten+Node.js, recompile with `NODE_JS=1` ./xxhsum < xxhash.c 79d5a8fc0181a409 stdin # multiple files ./xxhsum xxhash.* 79d5a8fc0181a409 xxhash.c 385c3dac4fafc979 xxhash.h 32e0c3dc51e99bf1 xxhash.o # internal bench ./xxhsum -bi0 xxhsum 0.8.2 by Yann Collet compiled as 64-bit ppc64 + POWER9 vector little endian with GCC 11.4.1 20230605 (Red Hat 11.4.1-2) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 47204 it/s ( 4609.8 MB/s) 1#XXH32 : 102400 -> 47204 it/s ( 4609.8 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 94495 it/s ( 9228.1 MB/s) 3#XXH64 : 102400 -> 94495 it/s ( 9228.1 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 62652 it/s ( 6118.4 MB/s) 5#XXH3_64b : 102400 -> 62652 it/s ( 6118.4 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 47862 it/s ( 4674.1 MB/s) 11#XXH128 : 102400 -> 47862 it/s ( 4674.1 MB/s) # long bench command ./xxhsum --benchmark-all -i0 xxhsum 0.8.2 by Yann Collet compiled as 64-bit ppc64 + POWER9 vector little endian with GCC 11.4.1 20230605 (Red Hat 11.4.1-2) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 33215 it/s ( 3243.7 MB/s) 1#XXH32 : 102400 -> 33215 it/s ( 3243.7 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 31137 it/s ( 3040.7 MB/s) 2#XXH32 unaligned : 102400 -> 31137 it/s ( 3040.7 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 64214 it/s ( 6270.9 MB/s) 3#XXH64 : 102400 -> 64214 it/s ( 6270.9 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 64658 it/s ( 6314.2 MB/s) 4#XXH64 unaligned : 102400 -> 64658 it/s ( 6314.2 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 23777 it/s ( 2321.9 MB/s) 5#XXH3_64b : 102400 -> 23777 it/s ( 2321.9 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 23689 it/s ( 2313.4 MB/s) 6#XXH3_64b unaligned : 102400 -> 23689 it/s ( 2313.4 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 23084 it/s ( 2254.3 MB/s) 7#XXH3_64b w/seed : 102400 -> 23084 it/s ( 2254.3 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 22189 it/s ( 2166.9 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 22189 it/s ( 2166.9 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 22583 it/s ( 2205.3 MB/s) 9#XXH3_64b w/secret : 102400 -> 22583 it/s ( 2205.3 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 21892 it/s ( 2137.9 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 21892 it/s ( 2137.9 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 19888 it/s ( 1942.2 MB/s) 11#XXH128 : 102400 -> 19888 it/s ( 1942.2 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 20105 it/s ( 1963.4 MB/s) 12#XXH128 unaligned : 102400 -> 20105 it/s ( 1963.4 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 21038 it/s ( 2054.5 MB/s) 13#XXH128 w/seed : 102400 -> 21038 it/s ( 2054.5 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 19954 it/s ( 1948.6 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 19954 it/s ( 1948.6 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 20961 it/s ( 2046.9 MB/s) 15#XXH128 w/secret : 102400 -> 20961 it/s ( 2046.9 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 22004 it/s ( 2148.8 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 22004 it/s ( 2148.8 MB/s) 1-XXH32_stream : 102400 -> 1-XXH32_stream : 102400 -> 22647 it/s ( 2211.7 MB/s) 17#XXH32_stream : 102400 -> 22647 it/s ( 2211.7 MB/s) 1-XXH32_stream unaligned : 102400 -> 1-XXH32_stream unaligned : 102400 -> 22445 it/s ( 2191.9 MB/s) 18#XXH32_stream unaligned : 102400 -> 22445 it/s ( 2191.9 MB/s) 1-XXH64_stream : 102400 -> 1-XXH64_stream : 102400 -> 45335 it/s ( 4427.2 MB/s) 19#XXH64_stream : 102400 -> 45335 it/s ( 4427.2 MB/s) 1-XXH64_stream unaligned : 102400 -> 1-XXH64_stream unaligned : 102400 -> 41717 it/s ( 4074.0 MB/s) 20#XXH64_stream unaligned : 102400 -> 41717 it/s ( 4074.0 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 23298 it/s ( 2275.2 MB/s) 21#XXH3_stream : 102400 -> 23298 it/s ( 2275.2 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 23452 it/s ( 2290.2 MB/s) 22#XXH3_stream unaligned : 102400 -> 23452 it/s ( 2290.2 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 22919 it/s ( 2238.2 MB/s) 23#XXH3_stream w/seed : 102400 -> 22919 it/s ( 2238.2 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 23586 it/s ( 2303.3 MB/s) 24#XXH3_stream w/seed unaligned : 102400 -> 23586 it/s ( 2303.3 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 23591 it/s ( 2303.8 MB/s) 25#XXH128_stream : 102400 -> 23591 it/s ( 2303.8 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 21845 it/s ( 2133.3 MB/s) 26#XXH128_stream unaligned : 102400 -> 21845 it/s ( 2133.3 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 23079 it/s ( 2253.8 MB/s) 27#XXH128_stream w/seed : 102400 -> 23079 it/s ( 2253.8 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 21929 it/s ( 2141.5 MB/s) 28#XXH128_stream w/seed unaligne : 102400 -> 21929 it/s ( 2141.5 MB/s) # bench multiple variants ./xxhsum -b1,2,3 -i0 xxhsum 0.8.2 by Yann Collet compiled as 64-bit ppc64 + POWER9 vector little endian with GCC 11.4.1 20230605 (Red Hat 11.4.1-2) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 47118 it/s ( 4601.4 MB/s) 1#XXH32 : 102400 -> 47118 it/s ( 4601.4 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 47161 it/s ( 4605.6 MB/s) 2#XXH32 unaligned : 102400 -> 47161 it/s ( 4605.6 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 94150 it/s ( 9194.3 MB/s) 3#XXH64 : 102400 -> 94150 it/s ( 9194.3 MB/s) # file bench ./xxhsum -bi0 xxhash.c xxhsum 0.8.2 by Yann Collet compiled as 64-bit ppc64 + POWER9 vector little endian with GCC 11.4.1 20230605 (Red Hat 11.4.1-2) 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 1842191 it/s ( 3259.0 MB/s) 1#XXH32 : 1855 -> 1842191 it/s ( 3259.0 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 3628773 it/s ( 6419.5 MB/s) 3#XXH64 : 1855 -> 3628773 it/s ( 6419.5 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 1662743 it/s ( 2941.5 MB/s) 5#XXH3_64b : 1855 -> 1662743 it/s ( 2941.5 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 1561205 it/s ( 2761.9 MB/s) 11#XXH128 : 1855 -> 1561205 it/s ( 2761.9 MB/s) # 32-bit ./xxhsum -H0 xxhash.c d332e540 xxhash.c # 128-bit ./xxhsum -H2 xxhash.c 39a1c9495fdf2c49f914210b43a835aa xxhash.c # XXH3 (enforce BSD style) ./xxhsum -H3 xxhash.c | grep "XXH3" XXH3 (xxhash.c) = f914210b43a835aa # request incorrect variant ./xxhsum -H9 xxhash.c ; test $? -eq 1 Wrong parameters xxhsum 0.8.2 by Yann Collet Print or verify checksums using fast non-cryptographic algorithm xxHash Usage: xxhsum [options] [files] When no filename provided or when '-' is provided, uses stdin as input. Options: -H# algorithm selection: 0,1,2,3 or 32,64,128 (default: 1) -c, --check read xxHash checksum from [files] and check them -h, --help display a long help page about advanced options ....... checks completed successfully ....... + make test-xxhsum-c # xxhsum to/from pipe ./xxhsum xxhsum xxhash.c xxhash.h | ./xxhsum -c - xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -H0 xxhsum xxhash.c xxhash.h | ./xxhsum -c - xxhsum: OK xxhash.c: OK xxhash.h: OK # xxhsum -c is unable to verify checksum of file from STDIN (#470) ./xxhsum < README.md > .test.README.md.xxh ./xxhsum -c .test.README.md.xxh < README.md stdin: OK # xxhsum -q does not display "Loading" message into stderr (#251) ! ./xxhsum -q xxhsum xxhash.c xxhash.h 2>&1 | grep Loading # xxhsum does not display "Loading" message into stderr either ! ./xxhsum xxhsum xxhash.c xxhash.h 2>&1 | grep Loading # Check that xxhsum do display filename that it failed to open. LC_ALL=C ./xxhsum nonexistent 2>&1 | grep "Error: Could not open 'nonexistent'" Error: Could not open 'nonexistent': No such file or directory. # xxhsum to/from file, shell redirection ./xxhsum xxhsum xxhash.c xxhash.h > .test.xxh64 ./xxhsum --tag xxhsum xxhash.c xxhash.h > .test.xxh64_tag ./xxhsum --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh64 ./xxhsum --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh64_tag ./xxhsum -H0 xxhsum xxhash.c xxhash.h > .test.xxh32 ./xxhsum -H0 --tag xxhsum xxhash.c xxhash.h > .test.xxh32_tag ./xxhsum -H0 --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh32 ./xxhsum -H0 --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh32_tag ./xxhsum -H2 xxhsum xxhash.c xxhash.h > .test.xxh128 ./xxhsum -H2 --tag xxhsum xxhash.c xxhash.h > .test.xxh128_tag ./xxhsum -H2 --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh128 ./xxhsum -H2 --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh128_tag ./xxhsum -H3 xxhsum xxhash.c xxhash.h > .test.xxh3 ./xxhsum -H3 --tag xxhsum xxhash.c xxhash.h > .test.xxh3_tag ./xxhsum -H3 --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh3 ./xxhsum -H3 --tag --little-endian xxhsum xxhash.c xxhash.h > .test.le_xxh3_tag ./xxhsum -c .test.xxh* xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c --little-endian .test.le_xxh* xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c .test.*_tag xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK # read list of files from stdin ./xxhsum -c < .test.xxh32 xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c < .test.xxh64 xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c < .test.xxh128 xxhsum: OK xxhash.c: OK xxhash.h: OK ./xxhsum -c < .test.xxh3 xxhsum: OK xxhash.c: OK xxhash.h: OK cat .test.xxh* | ./xxhsum -c - xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK xxhsum: OK xxhash.c: OK xxhash.h: OK # check variant with '*' marker as second separator sed 's/ / \*/' .test.xxh32 | ./xxhsum -c xxhsum: OK xxhash.c: OK xxhash.h: OK # bsd-style output ./xxhsum --tag xxhsum* | grep XXH64 XXH64 (xxhsum) = a3e5b44c1f793500 ./xxhsum --tag -H0 xxhsum* | grep XXH32 XXH32 (xxhsum) = 8d3928df ./xxhsum --tag -H1 xxhsum* | grep XXH64 XXH64 (xxhsum) = a3e5b44c1f793500 ./xxhsum --tag -H2 xxhsum* | grep XXH128 XXH128 (xxhsum) = d6c872a9e1f059e489753b00a9e29b6f ./xxhsum --tag -H3 xxhsum* | grep XXH3 XXH3 (xxhsum) = 89753b00a9e29b6f ./xxhsum -H3 xxhsum* | grep XXH3 # --tag is implicit for H3 XXH3 (xxhsum) = 89753b00a9e29b6f ./xxhsum --tag -H32 xxhsum* | grep XXH32 XXH32 (xxhsum) = 8d3928df ./xxhsum --tag -H64 xxhsum* | grep XXH64 XXH64 (xxhsum) = a3e5b44c1f793500 ./xxhsum --tag -H128 xxhsum* | grep XXH128 XXH128 (xxhsum) = d6c872a9e1f059e489753b00a9e29b6f ./xxhsum --tag -H0 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = df28398d ./xxhsum --tag -H1 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 0035791f4cb4e5a3 ./xxhsum --tag -H2 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 6f9be2a9003b7589e459f0e1a972c8d6 ./xxhsum -H3 --little-endian xxhsum* | grep XXH3_LE XXH3_LE (xxhsum) = 6f9be2a9003b7589 ./xxhsum --tag -H32 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = df28398d ./xxhsum --tag -H64 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 0035791f4cb4e5a3 ./xxhsum --tag -H128 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 6f9be2a9003b7589e459f0e1a972c8d6 # check bsd-style ./xxhsum --tag xxhsum* | ./xxhsum -c xxhsum: OK ./xxhsum --tag -H32 --little-endian xxhsum* | ./xxhsum -c xxhsum: OK # xxhsum -c warns improperly format lines. echo '12345678 ' >>.test.xxh32 ./xxhsum -c .test.xxh32 | grep improperly 1 line is improperly formatted echo '123456789 file' >>.test.xxh64 ./xxhsum -c .test.xxh64 | grep improperly 1 line is improperly formatted # Expects "FAILED" echo "0000000000000000 LICENSE" | ./xxhsum -c -; test $? -eq 1 LICENSE: FAILED 1 computed checksum did NOT match echo "00000000 LICENSE" | ./xxhsum -c -; test $? -eq 1 LICENSE: FAILED 1 computed checksum did NOT match # Expects "FAILED open or read" echo "0000000000000000 test-expects-file-not-found" | ./xxhsum -c -; test $? -eq 1 stdin:1: Could not open or read 'test-expects-file-not-found': No such file or directory. 1 listed file could not be read echo "00000000 test-expects-file-not-found" | ./xxhsum -c -; test $? -eq 1 stdin:1: Could not open or read 'test-expects-file-not-found': No such file or directory. 1 listed file could not be read + RPM_EC=0 ++ jobs -p + exit 0 Processing files: xxhash-0.8.2-1.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.L5sakj + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.2 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash + cp -pr cli/README.md /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ugEcv5 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.2 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/licenses/xxhash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/licenses/xxhash + cp -pr cli/COPYING /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/licenses/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Provides: xxhash = 0.8.2-1.el9 xxhash(ppc-64) = 0.8.2-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: xxhash-libs-0.8.2-1.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n3KiR3 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.2 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash-libs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash-libs + cp -pr README.md /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash-libs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Yj8hS9 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.2 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/licenses/xxhash-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/licenses/xxhash-libs + cp -pr LICENSE /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/licenses/xxhash-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libxxhash.so.0()(64bit) xxhash-libs = 0.8.2-1.el9 xxhash-libs(ppc-64) = 0.8.2-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: xxhash-devel-0.8.2-1.el9.ppc64le Provides: pkgconfig(libxxhash) = 0.8.2 xxhash-devel = 0.8.2-1.el9 xxhash-devel(ppc-64) = 0.8.2-1.el9 xxhash-static = 0.8.2-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libxxhash.so.0()(64bit) Processing files: xxhash-doc-0.8.2-1.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MEJMsU + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.2 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash-doc + cp -pr doxygen/html /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le/usr/share/doc/xxhash-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: xxhash-doc = 0.8.2-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xxhash-debugsource-0.8.2-1.el9.ppc64le Provides: xxhash-debugsource = 0.8.2-1.el9 xxhash-debugsource(ppc-64) = 0.8.2-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xxhash-debuginfo-0.8.2-1.el9.ppc64le Provides: debuginfo(build-id) = 600c71638c2b622d5109753f10b505d0721e3b5a xxhash-debuginfo = 0.8.2-1.el9 xxhash-debuginfo(ppc-64) = 0.8.2-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(ppc-64) = 0.8.2-1.el9 Processing files: xxhash-libs-debuginfo-0.8.2-1.el9.ppc64le Provides: debuginfo(build-id) = 1fe28e1550663cb77a070cfd0fefc8c7c7696db1 xxhash-libs-debuginfo = 0.8.2-1.el9 xxhash-libs-debuginfo(ppc-64) = 0.8.2-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(ppc-64) = 0.8.2-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xxhash-0.8.2-1.el9.ppc64le Wrote: /builddir/build/RPMS/xxhash-libs-0.8.2-1.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/xxhash-0.8.2-1.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/xxhash-libs-debuginfo-0.8.2-1.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/xxhash-devel-0.8.2-1.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/xxhash-debuginfo-0.8.2-1.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/xxhash-debugsource-0.8.2-1.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/xxhash-doc-0.8.2-1.el9.noarch.rpm Child return code was: 0