D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/xxhash-0.8.0-1.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jJMjVI + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf xxHash-0.8.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/xxhash-0.8.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.8.0 + /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/iurt/rpmbuild/tmp/rpm-tmp.XzsugM + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xxHash-0.8.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/make -O -j8 V=1 VERBOSE=1 cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o xxhsum.o xxhsum.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC xxhash.c -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname=libxxhash.so.0 -o libxxhash.so.0.8.0 ln -sf libxxhash.so.0.8.0 libxxhash.so.0 ln -sf libxxhash.so.0.8.0 libxxhash.so cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o xxhash.o xxhash.c ar rcs libxxhash.a xxhash.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables xxhash.o xxhsum.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o xxhsum ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum ln -sf xxhsum xxh128sum + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8qDJ3M + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64 + cd xxHash-0.8.0 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBDIR=/usr/lib64 creating pkgconfig Installing libxxhash Installing pkgconfig Installing xxhsum Installing man pages xxhash installation completed + rm /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/lib64/libxxhash.a + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 0.8.0-1.mga8 --unique-debug-suffix -0.8.0-1.mga8.x86_64 --unique-debug-src-base xxhash-0.8.0-1.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/xxHash-0.8.0 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/bin/xxhsum explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/lib64/libxxhash.so.0.8.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/bin/xxhsum extracting debug info from /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/lib64/libxxhash.so.0.8.0 original debug info size: 976kB, size after compression: 956kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 549 blocks + /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/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.n3KDMK + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xxHash-0.8.0 + '[' 1 -eq 1 ']' + make check # stdin ./xxhsum < xxhash.c a9c413a5c9548a52 stdin # multiple files ./xxhsum xxhash.* xxhsum.* a9c413a5c9548a52 xxhash.c 1cee8f1ad5602754 xxhash.h 0fd39794e6847a28 xxhash.o 7d677dac06c0c0e1 xxhsum.1 b642d86c92e2cf73 xxhsum.1.md 5fa189cda4e5528f xxhsum.c 1e9248006e68a6f6 xxhsum.o # internal bench ./xxhsum -bi0 xxhsum 0.8.0 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 10.2.0 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 36273 it/s ( 3542.3 MB/s) 1#XXH32 : 102400 -> 36273 it/s ( 3542.3 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 77509 it/s ( 7569.3 MB/s) 3#XXH64 : 102400 -> 77509 it/s ( 7569.3 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 62698 it/s ( 6122.8 MB/s) 5#XXH3_64b : 102400 -> 62698 it/s ( 6122.8 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 58688 it/s ( 5731.2 MB/s) 11#XXH128 : 102400 -> 58688 it/s ( 5731.2 MB/s) # long bench command ./xxhsum --benchmark-all -i0 xxhsum 0.8.0 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 10.2.0 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 39201 it/s ( 3828.2 MB/s) 1#XXH32 : 102400 -> 39201 it/s ( 3828.2 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 38191 it/s ( 3729.6 MB/s) 2#XXH32 unaligned : 102400 -> 38191 it/s ( 3729.6 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 71632 it/s ( 6995.3 MB/s) 3#XXH64 : 102400 -> 71632 it/s ( 6995.3 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 70983 it/s ( 6931.9 MB/s) 4#XXH64 unaligned : 102400 -> 70983 it/s ( 6931.9 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 53328 it/s ( 5207.8 MB/s) 5#XXH3_64b : 102400 -> 53328 it/s ( 5207.8 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 52965 it/s ( 5172.3 MB/s) 6#XXH3_64b unaligned : 102400 -> 52965 it/s ( 5172.3 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 54610 it/s ( 5333.0 MB/s) 7#XXH3_64b w/seed : 102400 -> 54610 it/s ( 5333.0 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 52661 it/s ( 5142.7 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 52661 it/s ( 5142.7 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 49654 it/s ( 4849.0 MB/s) 9#XXH3_64b w/secret : 102400 -> 49654 it/s ( 4849.0 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 49400 it/s ( 4824.2 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 49400 it/s ( 4824.2 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 54715 it/s ( 5343.3 MB/s) 11#XXH128 : 102400 -> 54715 it/s ( 5343.3 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 56850 it/s ( 5551.8 MB/s) 12#XXH128 unaligned : 102400 -> 56850 it/s ( 5551.8 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 55478 it/s ( 5417.8 MB/s) 13#XXH128 w/seed : 102400 -> 55478 it/s ( 5417.8 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 52477 it/s ( 5124.7 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 52477 it/s ( 5124.7 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 44815 it/s ( 4376.5 MB/s) 15#XXH128 w/secret : 102400 -> 44815 it/s ( 4376.5 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 50163 it/s ( 4898.8 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 50163 it/s ( 4898.8 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 61425 it/s ( 5998.6 MB/s) 17#XXH3_stream : 102400 -> 61425 it/s ( 5998.6 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 61650 it/s ( 6020.5 MB/s) 18#XXH3_stream unaligned : 102400 -> 61650 it/s ( 6020.5 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 78560 it/s ( 7671.8 MB/s) 19#XXH3_stream w/seed : 102400 -> 78560 it/s ( 7671.8 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 55303 it/s ( 5400.6 MB/s) 20#XXH3_stream w/seed unaligned : 102400 -> 55303 it/s ( 5400.6 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 56093 it/s ( 5477.9 MB/s) 21#XXH128_stream : 102400 -> 56093 it/s ( 5477.9 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 53939 it/s ( 5267.5 MB/s) 22#XXH128_stream unaligned : 102400 -> 53939 it/s ( 5267.5 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 54272 it/s ( 5300.0 MB/s) 23#XXH128_stream w/seed : 102400 -> 54272 it/s ( 5300.0 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 54860 it/s ( 5357.4 MB/s) 24#XXH128_stream w/seed unaligne : 102400 -> 54860 it/s ( 5357.4 MB/s) # bench multiple variants ./xxhsum -b1,2,3 -i0 xxhsum 0.8.0 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 10.2.0 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 41237 it/s ( 4027.1 MB/s) 1#XXH32 : 102400 -> 41237 it/s ( 4027.1 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 39561 it/s ( 3863.4 MB/s) 2#XXH32 unaligned : 102400 -> 39561 it/s ( 3863.4 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 62767 it/s ( 6129.6 MB/s) 3#XXH64 : 102400 -> 62767 it/s ( 6129.6 MB/s) # file bench ./xxhsum -bi0 xxhash.c xxhsum 0.8.0 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 10.2.0 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 1850186 it/s ( 3273.1 MB/s) 1#XXH32 : 1855 -> 1850186 it/s ( 3273.1 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 3104099 it/s ( 5491.4 MB/s) 3#XXH64 : 1855 -> 3104099 it/s ( 5491.4 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 2713968 it/s ( 4801.2 MB/s) 5#XXH3_64b : 1855 -> 2713968 it/s ( 4801.2 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 2585541 it/s ( 4574.0 MB/s) 11#XXH128 : 1855 -> 2585541 it/s ( 4574.0 MB/s) # 32-bit ./xxhsum -H0 xxhash.c 0b9f9eb1 xxhash.c # 128-bit ./xxhsum -H2 xxhash.c 75323380c1b81bbbe6b4fc5c377a18ff xxhash.c # request incorrect variant ./xxhsum -H9 xxhash.c ; test $? -eq 1 Wrong parameters xxhsum 0.8.0 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 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 xxh* | ./xxhsum -c - xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK ./xxhsum -H0 xxh* | ./xxhsum -c - xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK # xxhsum -q does not display "Loading" message into stderr (#251) ! ./xxhsum -q xxh* 2>&1 | grep Loading # xxhsum does not display "Loading" message into stderr either ! ./xxhsum xxh* 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 xxh* > .test.xxh64 ./xxhsum --tag xxh* > .test.xxh64_tag ./xxhsum --little-endian xxh* > .test.le_xxh64 ./xxhsum --tag --little-endian xxh* > .test.le_xxh64_tag ./xxhsum -H0 xxh* > .test.xxh32 ./xxhsum -H0 --tag xxh* > .test.xxh32_tag ./xxhsum -H0 --little-endian xxh* > .test.le_xxh32 ./xxhsum -H0 --tag --little-endian xxh* > .test.le_xxh32_tag ./xxhsum -H2 xxh* > .test.xxh128 ./xxhsum -H2 --tag xxh* > .test.xxh128_tag ./xxhsum -H2 --little-endian xxh* > .test.le_xxh128 ./xxhsum -H2 --tag --little-endian xxh* > .test.le_xxh128_tag ./xxhsum -c .test.xxh* xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK ./xxhsum -c --little-endian .test.le_xxh* xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK ./xxhsum -c .test.*_tag xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK # read list of files from stdin ./xxhsum -c < .test.xxh64 xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK ./xxhsum -c < .test.xxh32 xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK cat .test.xxh* | ./xxhsum -c - xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK # check variant with '*' marker as second separator sed 's/ / \*/' .test.xxh32 | ./xxhsum -c xxh128sum: OK xxh3.h: OK xxh32sum: OK xxh64sum: OK xxh_x86dispatch.c: OK xxh_x86dispatch.h: OK xxhash.c: OK xxhash.h: OK xxhash.o: OK xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK # bsd-style output ./xxhsum --tag xxhsum* | grep XXH64 XXH64 (xxhsum) = 145ad971472876d2 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = 1e9248006e68a6f6 ./xxhsum --tag -H0 xxhsum* | grep XXH32 XXH32 (xxhsum) = ae0c6268 XXH32 (xxhsum.1) = 417bb3c7 XXH32 (xxhsum.1.md) = 5c2b36ab XXH32 (xxhsum.c) = f873cdae XXH32 (xxhsum.o) = 27a6b334 ./xxhsum --tag -H1 xxhsum* | grep XXH64 XXH64 (xxhsum) = 145ad971472876d2 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = 1e9248006e68a6f6 ./xxhsum --tag -H2 xxhsum* | grep XXH128 XXH128 (xxhsum) = 4055aaf9630398a71b15892f536e9fb6 XXH128 (xxhsum.1) = d2d409470e1d1e75072897afc15cade8 XXH128 (xxhsum.1.md) = 33f6321839194b4391a967f4a69af658 XXH128 (xxhsum.c) = 61701ec709d51e596095b8f79986d562 XXH128 (xxhsum.o) = 7ea41b42db1e8a173105b3ea0dc4c801 ./xxhsum --tag -H32 xxhsum* | grep XXH32 XXH32 (xxhsum) = ae0c6268 XXH32 (xxhsum.1) = 417bb3c7 XXH32 (xxhsum.1.md) = 5c2b36ab XXH32 (xxhsum.c) = f873cdae XXH32 (xxhsum.o) = 27a6b334 ./xxhsum --tag -H64 xxhsum* | grep XXH64 XXH64 (xxhsum) = 145ad971472876d2 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = 1e9248006e68a6f6 ./xxhsum --tag -H128 xxhsum* | grep XXH128 XXH128 (xxhsum) = 4055aaf9630398a71b15892f536e9fb6 XXH128 (xxhsum.1) = d2d409470e1d1e75072897afc15cade8 XXH128 (xxhsum.1.md) = 33f6321839194b4391a967f4a69af658 XXH128 (xxhsum.c) = 61701ec709d51e596095b8f79986d562 XXH128 (xxhsum.o) = 7ea41b42db1e8a173105b3ea0dc4c801 ./xxhsum --tag -H0 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 68620cae XXH32_LE (xxhsum.1) = c7b37b41 XXH32_LE (xxhsum.1.md) = ab362b5c XXH32_LE (xxhsum.c) = aecd73f8 XXH32_LE (xxhsum.o) = 34b3a627 ./xxhsum --tag -H1 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = d276284771d95a14 XXH64_LE (xxhsum.1) = e1c0c006ac7d677d XXH64_LE (xxhsum.1.md) = 73cfe2926cd842b6 XXH64_LE (xxhsum.c) = 8f52e5a4cd89a15f XXH64_LE (xxhsum.o) = f6a6686e0048921e ./xxhsum --tag -H2 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = b69f6e532f89151ba7980363f9aa5540 XXH128_LE (xxhsum.1) = e8ad5cc1af972807751e1d0e4709d4d2 XXH128_LE (xxhsum.1.md) = 58f69aa6f467a991434b19391832f633 XXH128_LE (xxhsum.c) = 62d58699f7b89560591ed509c71e7061 XXH128_LE (xxhsum.o) = 01c8c40deab30531178a1edb421ba47e ./xxhsum --tag -H32 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 68620cae XXH32_LE (xxhsum.1) = c7b37b41 XXH32_LE (xxhsum.1.md) = ab362b5c XXH32_LE (xxhsum.c) = aecd73f8 XXH32_LE (xxhsum.o) = 34b3a627 ./xxhsum --tag -H64 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = d276284771d95a14 XXH64_LE (xxhsum.1) = e1c0c006ac7d677d XXH64_LE (xxhsum.1.md) = 73cfe2926cd842b6 XXH64_LE (xxhsum.c) = 8f52e5a4cd89a15f XXH64_LE (xxhsum.o) = f6a6686e0048921e ./xxhsum --tag -H128 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = b69f6e532f89151ba7980363f9aa5540 XXH128_LE (xxhsum.1) = e8ad5cc1af972807751e1d0e4709d4d2 XXH128_LE (xxhsum.1.md) = 58f69aa6f467a991434b19391832f633 XXH128_LE (xxhsum.c) = 62d58699f7b89560591ed509c71e7061 XXH128_LE (xxhsum.o) = 01c8c40deab30531178a1edb421ba47e # check bsd-style ./xxhsum --tag xxhsum* | ./xxhsum -c xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: OK ./xxhsum --tag -H32 --little-endian xxhsum* | ./xxhsum -c xxhsum: OK xxhsum.1: OK xxhsum.1.md: OK xxhsum.c: OK xxhsum.o: 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.0-1.mga8.x86_64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZjsmrL + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xxHash-0.8.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/doc/xxhash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/doc/xxhash + cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/doc/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.D5vOvK + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xxHash-0.8.0 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/licenses/xxhash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/licenses/xxhash + cp -pr LICENSE /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/licenses/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Provides: xxhash = 0.8.0-1.mga8 xxhash(x86-64) = 0.8.0-1.mga8 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: lib64xxhash0-0.8.0-1.mga8.x86_64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.exWe8I + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xxHash-0.8.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/doc/lib64xxhash0 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/doc/lib64xxhash0 + cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/doc/lib64xxhash0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YeVE7M + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xxHash-0.8.0 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/licenses/lib64xxhash0 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/licenses/lib64xxhash0 + cp -pr LICENSE /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64/usr/share/licenses/lib64xxhash0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64xxhash0 = 0.8.0-1.mga8 lib64xxhash0(x86-64) = 0.8.0-1.mga8 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.0-1.mga8.x86_64 Provides: devel(libxxhash(64bit)) lib64xxhash-devel = 0.8.0-1.mga8 lib64xxhash-devel(x86-64) = 0.8.0-1.mga8 pkgconfig(libxxhash) xxhash-devel = 0.8.0-1.mga8 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.0-1.mga8.x86_64 Provides: xxhash-debugsource = 0.8.0-1.mga8 xxhash-debugsource(x86-64) = 0.8.0-1.mga8 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.0-1.mga8.x86_64 Provides: debuginfo(build-id) = dd190b06f601bac3da41508bd551dc3f7481f675 xxhash-debuginfo = 0.8.0-1.mga8 xxhash-debuginfo(x86-64) = 0.8.0-1.mga8 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.0-1.mga8 Processing files: lib64xxhash0-debuginfo-0.8.0-1.mga8.x86_64 Provides: debuginfo(build-id) = 970b2a7a33708fc23bc0f8e60f8219c1e3306251 lib64xxhash0-debuginfo = 0.8.0-1.mga8 lib64xxhash0-debuginfo(x86-64) = 0.8.0-1.mga8 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.0-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64xxhash0-0.8.0-1.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/xxhash-0.8.0-1.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64xxhash-devel-0.8.0-1.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/xxhash-debugsource-0.8.0-1.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64xxhash0-debuginfo-0.8.0-1.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/xxhash-debuginfo-0.8.0-1.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UIzwyK + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xxHash-0.8.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/xxhash-0.8.0-1.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.nNQ5SL + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf xxHash-0.8.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!