D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/xxhash-0.8.2-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Nn39bT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf xxHash-0.8.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xxhash-0.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.8.2 + rm -rf /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hK7C4M + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xxHash-0.8.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cli/xsum_os_specific.o cli/xsum_os_specific.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cli/xsum_output.o cli/xsum_output.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cli/xsum_bench.o cli/xsum_bench.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cli/xsum_sanity_check.o cli/xsum_sanity_check.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cli/xxhsum.o cli/xxhsum.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xxhash.o xxhash.c ar rcs libxxhash.a xxhash.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full xxhash.o cli/xxhsum.o cli/xsum_os_specific.o cli/xsum_output.o cli/xsum_sanity_check.o cli/xsum_bench.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xxhsum ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum ln -sf xxhsum xxh128sum gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC xxhash.c -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iiwGZy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64 + cd xxHash-0.8.2 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64 '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 /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/lib64/libxxhash.a + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.8.2-2.mga10 --unique-debug-suffix -0.8.2-2.mga10.x86_64 --unique-debug-src-base xxhash-0.8.2-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xxhash-0.8.2-2.mga10.x86_64 740 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rklpVs + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xxHash-0.8.2 + '[' 1 -eq 1 ']' + make check make -C tests test_sanity make[1]: Entering directory '/home/pterjan/rpmbuild/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 '/home/pterjan/rpmbuild/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 9fb56f6c0303c20d xxhash.o # internal bench ./xxhsum -bi0 xxhsum 0.8.2 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 14.1.0 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 63229 it/s ( 6174.7 MB/s) 1#XXH32 : 102400 -> 63229 it/s ( 6174.7 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 91882 it/s ( 8972.9 MB/s) 3#XXH64 : 102400 -> 91882 it/s ( 8972.9 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 133075 it/s (12995.6 MB/s) 5#XXH3_64b : 102400 -> 133075 it/s (12995.6 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 155354 it/s (15171.3 MB/s) 11#XXH128 : 102400 -> 155354 it/s (15171.3 MB/s) # long bench command ./xxhsum --benchmark-all -i0 xxhsum 0.8.2 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 14.1.0 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 63151 it/s ( 6167.1 MB/s) 1#XXH32 : 102400 -> 63151 it/s ( 6167.1 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 62805 it/s ( 6133.3 MB/s) 2#XXH32 unaligned : 102400 -> 62805 it/s ( 6133.3 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 91964 it/s ( 8980.9 MB/s) 3#XXH64 : 102400 -> 91964 it/s ( 8980.9 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 89799 it/s ( 8769.5 MB/s) 4#XXH64 unaligned : 102400 -> 89799 it/s ( 8769.5 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 132561 it/s (12945.4 MB/s) 5#XXH3_64b : 102400 -> 132561 it/s (12945.4 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 141873 it/s (13854.8 MB/s) 6#XXH3_64b unaligned : 102400 -> 141873 it/s (13854.8 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 176068 it/s (17194.2 MB/s) 7#XXH3_64b w/seed : 102400 -> 176068 it/s (17194.2 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 175170 it/s (17106.5 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 175170 it/s (17106.5 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 163233 it/s (15940.7 MB/s) 9#XXH3_64b w/secret : 102400 -> 163233 it/s (15940.7 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 154192 it/s (15057.8 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 154192 it/s (15057.8 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 175468 it/s (17135.6 MB/s) 11#XXH128 : 102400 -> 175468 it/s (17135.6 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 175768 it/s (17164.8 MB/s) 12#XXH128 unaligned : 102400 -> 175768 it/s (17164.8 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 175170 it/s (17106.5 MB/s) 13#XXH128 w/seed : 102400 -> 175170 it/s (17106.5 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 174873 it/s (17077.4 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 174873 it/s (17077.4 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 164013 it/s (16016.9 MB/s) 15#XXH128 w/secret : 102400 -> 164013 it/s (16016.9 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 162205 it/s (15840.3 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 162205 it/s (15840.3 MB/s) 1-XXH32_stream : 102400 -> 1-XXH32_stream : 102400 -> 63190 it/s ( 6170.9 MB/s) 17#XXH32_stream : 102400 -> 63190 it/s ( 6170.9 MB/s) 1-XXH32_stream unaligned : 102400 -> 1-XXH32_stream unaligned : 102400 -> 63307 it/s ( 6182.3 MB/s) 18#XXH32_stream unaligned : 102400 -> 63307 it/s ( 6182.3 MB/s) 1-XXH64_stream : 102400 -> 1-XXH64_stream : 102400 -> 125917 it/s (12296.6 MB/s) 19#XXH64_stream : 102400 -> 125917 it/s (12296.6 MB/s) 1-XXH64_stream unaligned : 102400 -> 1-XXH64_stream unaligned : 102400 -> 124697 it/s (12177.5 MB/s) 20#XXH64_stream unaligned : 102400 -> 124697 it/s (12177.5 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 177281 it/s (17312.6 MB/s) 21#XXH3_stream : 102400 -> 177281 it/s (17312.6 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 138627 it/s (13537.8 MB/s) 22#XXH3_stream unaligned : 102400 -> 138627 it/s (13537.8 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 143454 it/s (14009.2 MB/s) 23#XXH3_stream w/seed : 102400 -> 143454 it/s (14009.2 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 158462 it/s (15474.8 MB/s) 24#XXH3_stream w/seed unaligned : 102400 -> 158462 it/s (15474.8 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 174281 it/s (17019.6 MB/s) 25#XXH128_stream : 102400 -> 174281 it/s (17019.6 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 172819 it/s (16876.8 MB/s) 26#XXH128_stream unaligned : 102400 -> 172819 it/s (16876.8 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 176370 it/s (17223.6 MB/s) 27#XXH128_stream w/seed : 102400 -> 176370 it/s (17223.6 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 172529 it/s (16848.6 MB/s) 28#XXH128_stream w/seed unaligne : 102400 -> 172529 it/s (16848.6 MB/s) # bench multiple variants ./xxhsum -b1,2,3 -i0 xxhsum 0.8.2 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 14.1.0 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 62767 it/s ( 6129.6 MB/s) 1#XXH32 : 102400 -> 62767 it/s ( 6129.6 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 63074 it/s ( 6159.6 MB/s) 2#XXH32 unaligned : 102400 -> 63074 it/s ( 6159.6 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 89332 it/s ( 8723.8 MB/s) 3#XXH64 : 102400 -> 89332 it/s ( 8723.8 MB/s) # file bench ./xxhsum -bi0 xxhash.c xxhsum 0.8.2 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 14.1.0 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 3142380 it/s ( 5559.1 MB/s) 1#XXH32 : 1855 -> 3142380 it/s ( 5559.1 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 4780034 it/s ( 8456.2 MB/s) 3#XXH64 : 1855 -> 4780034 it/s ( 8456.2 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 7170051 it/s (12684.3 MB/s) 5#XXH3_64b : 1855 -> 7170051 it/s (12684.3 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 7814661 it/s (13824.7 MB/s) 11#XXH128 : 1855 -> 7814661 it/s (13824.7 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) = 6c56f6cf3e42da9a ./xxhsum --tag -H0 xxhsum* | grep XXH32 XXH32 (xxhsum) = ea184c47 ./xxhsum --tag -H1 xxhsum* | grep XXH64 XXH64 (xxhsum) = 6c56f6cf3e42da9a ./xxhsum --tag -H2 xxhsum* | grep XXH128 XXH128 (xxhsum) = 60b400caef71905ed95e943ee786a76d ./xxhsum --tag -H3 xxhsum* | grep XXH3 XXH3 (xxhsum) = d95e943ee786a76d ./xxhsum -H3 xxhsum* | grep XXH3 # --tag is implicit for H3 XXH3 (xxhsum) = d95e943ee786a76d ./xxhsum --tag -H32 xxhsum* | grep XXH32 XXH32 (xxhsum) = ea184c47 ./xxhsum --tag -H64 xxhsum* | grep XXH64 XXH64 (xxhsum) = 6c56f6cf3e42da9a ./xxhsum --tag -H128 xxhsum* | grep XXH128 XXH128 (xxhsum) = 60b400caef71905ed95e943ee786a76d ./xxhsum --tag -H0 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 474c18ea ./xxhsum --tag -H1 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 9ada423ecff6566c ./xxhsum --tag -H2 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 6da786e73e945ed95e9071efca00b460 ./xxhsum -H3 --little-endian xxhsum* | grep XXH3_LE XXH3_LE (xxhsum) = 6da786e73e945ed9 ./xxhsum --tag -H32 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 474c18ea ./xxhsum --tag -H64 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 9ada423ecff6566c ./xxhsum --tag -H128 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 6da786e73e945ed95e9071efca00b460 # 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-2.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mUqVyF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xxHash-0.8.2 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/doc/xxhash + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/doc/xxhash + cp -pr /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2/README.md /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/doc/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ITv136 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xxHash-0.8.2 + LICENSEDIR=/home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/licenses/xxhash + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/licenses/xxhash + cp -pr /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2/LICENSE /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/licenses/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Provides: xxhash = 0.8.2-2.mga10 xxhash(x86-64) = 0.8.2-2.mga10 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) Processing files: lib64xxhash0-0.8.2-2.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5ZBDeu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xxHash-0.8.2 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/doc/lib64xxhash0 + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/doc/lib64xxhash0 + cp -pr /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2/README.md /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/doc/lib64xxhash0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5EXRQi + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xxHash-0.8.2 + LICENSEDIR=/home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/licenses/lib64xxhash0 + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/licenses/lib64xxhash0 + cp -pr /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2/LICENSE /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64/usr/share/licenses/lib64xxhash0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64xxhash0 = 0.8.2-2.mga10 lib64xxhash0(x86-64) = 0.8.2-2.mga10 libxxhash.so.0()(64bit) 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) Processing files: lib64xxhash-devel-0.8.2-2.mga10.x86_64 Provides: devel(libxxhash(64bit)) lib64xxhash-devel = 0.8.2-2.mga10 lib64xxhash-devel(x86-64) = 0.8.2-2.mga10 pkgconfig(libxxhash) = 0.8.2 xxhash-devel = 0.8.2-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: pkgconfig Processing files: xxhash-debugsource-0.8.2-2.mga10.x86_64 Provides: xxhash-debugsource = 0.8.2-2.mga10 xxhash-debugsource(x86-64) = 0.8.2-2.mga10 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-2.mga10.x86_64 Provides: debuginfo(build-id) = 9e704e2051bb737eb183b4093d8e037a0ee3ee38 xxhash-debuginfo = 0.8.2-2.mga10 xxhash-debuginfo(x86-64) = 0.8.2-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(x86-64) = 0.8.2-2.mga10 Processing files: lib64xxhash0-debuginfo-0.8.2-2.mga10.x86_64 Provides: debuginfo(build-id) = 85c8f3592fce31470f4b69c57335fcbc327d71dd lib64xxhash0-debuginfo = 0.8.2-2.mga10 lib64xxhash0-debuginfo(x86-64) = 0.8.2-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(x86-64) = 0.8.2-2.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64xxhash0-0.8.2-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xxhash-0.8.2-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64xxhash-devel-0.8.2-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xxhash-debuginfo-0.8.2-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xxhash-debugsource-0.8.2-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64xxhash0-debuginfo-0.8.2-2.mga10.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FtIuGG + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xxHash-0.8.2 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/xxhash-0.8.2-2.mga10.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bwvtTH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf /home/pterjan/rpmbuild/BUILD/xxHash-0.8.2-SPECPARTS + rm -rf xxHash-0.8.2 xxHash-0.8.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!