<86>Nov 7 03:36:33 userdel[3142946]: delete user 'rooter' <86>Nov 7 03:36:33 userdel[3142946]: removed group 'rooter' owned by 'rooter' <86>Nov 7 03:36:33 userdel[3142946]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 7 03:36:33 groupadd[3142963]: group added to /etc/group: name=rooter, GID=603 <86>Nov 7 03:36:33 groupadd[3142963]: group added to /etc/gshadow: name=rooter <86>Nov 7 03:36:33 groupadd[3142963]: new group: name=rooter, GID=603 <86>Nov 7 03:36:33 useradd[3142984]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Nov 7 03:36:33 userdel[3143021]: delete user 'builder' <86>Nov 7 03:36:33 userdel[3143021]: removed group 'builder' owned by 'builder' <86>Nov 7 03:36:33 userdel[3143021]: removed shadow group 'builder' owned by 'builder' <86>Nov 7 03:36:33 groupadd[3143047]: group added to /etc/group: name=builder, GID=604 <86>Nov 7 03:36:33 groupadd[3143047]: group added to /etc/gshadow: name=builder <86>Nov 7 03:36:33 groupadd[3143047]: new group: name=builder, GID=604 <86>Nov 7 03:36:33 useradd[3143063]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/xxhash-0.8.0-alt1.nosrc.rpm Installing xxhash-0.8.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.60429 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xxhash-0.8.0-alt1 + echo 'Source #0 (xxhash-0.8.0-alt1.tar):' Source #0 (xxhash-0.8.0-alt1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/xxhash-0.8.0-alt1.tar + cd xxhash-0.8.0-alt1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.60429 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xxhash-0.8.0-alt1 + make -j8 libxxhash xxhsum xxh32sum xxh64sum xxh128sum xxhsum_inlinedXXH 'MOREFLAGS=-pipe -frecord-gcc-switches -Wall -g -O3 ' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' cc -O3 -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wstrict-overflow=2 -pipe -frecord-gcc-switches -Wall -g -O3 -c -o xxhsum.o xxhsum.c make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' cc -O3 -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wstrict-overflow=2 -pipe -frecord-gcc-switches -Wall -g -O3 -c -o xxhash.o xxhash.c make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' cc -O3 -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wstrict-overflow=2 -pipe -frecord-gcc-switches -Wall -g -O3 xxhash.o xxhsum.o -o xxhsum make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' ln -sf xxhsum xxh32sum make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' ln -sf xxhsum xxh64sum make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' ln -sf xxhsum xxh128sum make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' cc -O3 -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wstrict-overflow=2 -pipe -frecord-gcc-switches -Wall -g -O3 -fPIC xxhash.c -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 make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' cc -O3 -Wall -Wextra -Wconversion -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings -Wredundant-decls -Wstrict-overflow=2 -pipe -frecord-gcc-switches -Wall -g -O3 -DXXH_INLINE_ALL xxhsum.c -o xxhsum_inlinedXXH make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' + rm xxhsum + mv xxhsum_inlinedXXH xxhsum + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.52377 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/xxhash-buildroot + : + /bin/rm -rf -- /usr/src/tmp/xxhash-buildroot + cd xxhash-0.8.0-alt1 + export CC=false CXX=false + CC=false + CXX=false + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/xxhash-buildroot PREFIX=/usr LIBDIR=/usr/lib64 make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' ar rcs libxxhash.a xxhash.o creating pkgconfig Installing libxxhash Installing pkgconfig Installing xxhsum Installing man pages xxhash installation completed make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/xxhash-buildroot (auto) mode of './usr/lib64/libxxhash.so.0.8.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/xxhash-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/lib64/pkgconfig/libxxhash.pc: Cflags: '-I${includedir}' --> '' /usr/lib64/pkgconfig/libxxhash.pc: Libs: '-L${libdir} -lxxhash' --> '-lxxhash' Checking contents of files in /usr/src/tmp/xxhash-buildroot/ (default) Compressing files in /usr/src/tmp/xxhash-buildroot (auto) removed '/usr/src/tmp/xxhash-buildroot/usr/share/man/man1/xxh128sum.1' '/usr/src/tmp/xxhash-buildroot/usr/share/man/man1/xxh128sum.1' -> 'xxhsum.1' removed '/usr/src/tmp/xxhash-buildroot/usr/share/man/man1/xxh64sum.1' '/usr/src/tmp/xxhash-buildroot/usr/share/man/man1/xxh64sum.1' -> 'xxhsum.1' removed '/usr/src/tmp/xxhash-buildroot/usr/share/man/man1/xxh32sum.1' '/usr/src/tmp/xxhash-buildroot/usr/share/man/man1/xxh32sum.1' -> 'xxhsum.1' Adjusting library links in /usr/src/tmp/xxhash-buildroot ./usr/lib64: libxxhash.so.0 -> libxxhash.so.0.8.0 Verifying ELF objects in /usr/src/tmp/xxhash-buildroot (arch=strict,fhs=strict,lfs=strict,lint=strict,rpath=strict,stack=strict,textrel=strict,unresolved=strict) Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.52377 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xxhash-0.8.0-alt1 + export CC=false CXX=false + CC=false + CXX=false + make check make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' # stdin ./xxhsum < xxhash.c a9c413a5c9548a52 stdin # multiple files ./xxhsum xxhash.* xxhsum.* a9c413a5c9548a52 xxhash.c 1cee8f1ad5602754 xxhash.h beb8689dcc701d90 xxhash.o 296c11c144b6aa33 xxhash.spec 7d677dac06c0c0e1 xxhsum.1 b642d86c92e2cf73 xxhsum.1.md 5fa189cda4e5528f xxhsum.c b1991f8a38dd0629 xxhsum.o # internal bench ./xxhsum -bi0 xxhsum 0.8.0 by Yann Collet compiled as 64-bit x86_64 + SSE2 little endian with GCC 9.3.1 20200518 (ALT Sisyphus 9.3.1-alt1) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 43130 it/s ( 4211.9 MB/s) 1#XXH32 : 102400 -> 43130 it/s ( 4211.9 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 88502 it/s ( 8642.8 MB/s) 3#XXH64 : 102400 -> 88502 it/s ( 8642.8 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 140898 it/s (13759.6 MB/s) 5#XXH3_64b : 102400 -> 140898 it/s (13759.6 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 141482 it/s (13816.6 MB/s) 11#XXH128 : 102400 -> 141482 it/s (13816.6 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 9.3.1 20200518 (ALT Sisyphus 9.3.1-alt1) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 43354 it/s ( 4233.8 MB/s) 1#XXH32 : 102400 -> 43354 it/s ( 4233.8 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 45176 it/s ( 4411.8 MB/s) 2#XXH32 unaligned : 102400 -> 45176 it/s ( 4411.8 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 99103 it/s ( 9678.0 MB/s) 3#XXH64 : 102400 -> 99103 it/s ( 9678.0 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 99604 it/s ( 9727.0 MB/s) 4#XXH64 unaligned : 102400 -> 99604 it/s ( 9727.0 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 161676 it/s (15788.6 MB/s) 5#XXH3_64b : 102400 -> 161676 it/s (15788.6 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 156352 it/s (15268.7 MB/s) 6#XXH3_64b unaligned : 102400 -> 156352 it/s (15268.7 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 153592 it/s (14999.3 MB/s) 7#XXH3_64b w/seed : 102400 -> 153592 it/s (14999.3 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 139655 it/s (13638.2 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 139655 it/s (13638.2 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 134383 it/s (13123.4 MB/s) 9#XXH3_64b w/secret : 102400 -> 134383 it/s (13123.4 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 128011 it/s (12501.0 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 128011 it/s (12501.0 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 133565 it/s (13043.5 MB/s) 11#XXH128 : 102400 -> 133565 it/s (13043.5 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 133874 it/s (13073.6 MB/s) 12#XXH128 unaligned : 102400 -> 133874 it/s (13073.6 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 143183 it/s (13982.8 MB/s) 13#XXH128 w/seed : 102400 -> 143183 it/s (13982.8 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 139643 it/s (13637.0 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 139643 it/s (13637.0 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 139700 it/s (13642.6 MB/s) 15#XXH128 w/secret : 102400 -> 139700 it/s (13642.6 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 147000 it/s (14355.4 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 147000 it/s (14355.4 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 139491 it/s (13622.1 MB/s) 17#XXH3_stream : 102400 -> 139491 it/s (13622.1 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 146300 it/s (14287.1 MB/s) 18#XXH3_stream unaligned : 102400 -> 146300 it/s (14287.1 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 157482 it/s (15379.1 MB/s) 19#XXH3_stream w/seed : 102400 -> 157482 it/s (15379.1 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 155536 it/s (15189.1 MB/s) 20#XXH3_stream w/seed unaligned : 102400 -> 155536 it/s (15189.1 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 156783 it/s (15310.8 MB/s) 21#XXH128_stream : 102400 -> 156783 it/s (15310.8 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 153615 it/s (15001.5 MB/s) 22#XXH128_stream unaligned : 102400 -> 153615 it/s (15001.5 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 153600 it/s (15000.0 MB/s) 23#XXH128_stream w/seed : 102400 -> 153600 it/s (15000.0 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 154008 it/s (15039.9 MB/s) 24#XXH128_stream w/seed unaligne : 102400 -> 154008 it/s (15039.9 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 9.3.1 20200518 (ALT Sisyphus 9.3.1-alt1) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 56421 it/s ( 5509.8 MB/s) 1#XXH32 : 102400 -> 56421 it/s ( 5509.8 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 56889 it/s ( 5555.6 MB/s) 2#XXH32 unaligned : 102400 -> 56889 it/s ( 5555.6 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 113778 it/s (11111.1 MB/s) 3#XXH64 : 102400 -> 113778 it/s (11111.1 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 9.3.1 20200518 (ALT Sisyphus 9.3.1-alt1) 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 2930224 it/s ( 5183.8 MB/s) 1#XXH32 : 1855 -> 2930224 it/s ( 5183.8 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 5298549 it/s ( 9373.5 MB/s) 3#XXH64 : 1855 -> 5298549 it/s ( 9373.5 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 8920996 it/s (15781.8 MB/s) 5#XXH3_64b : 1855 -> 8920996 it/s (15781.8 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 4438654 it/s ( 7852.3 MB/s) 11#XXH128 : 1855 -> 4438654 it/s ( 7852.3 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: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' + make test-xxhsum-c make: Entering directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' # 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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 xxhash.spec: 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) = 27f5914e4bbe7d74 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = b1991f8a38dd0629 ./xxhsum --tag -H0 xxhsum* | grep XXH32 XXH32 (xxhsum) = b1901b63 XXH32 (xxhsum.1) = 417bb3c7 XXH32 (xxhsum.1.md) = 5c2b36ab XXH32 (xxhsum.c) = f873cdae XXH32 (xxhsum.o) = 50b5adb3 ./xxhsum --tag -H1 xxhsum* | grep XXH64 XXH64 (xxhsum) = 27f5914e4bbe7d74 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = b1991f8a38dd0629 ./xxhsum --tag -H2 xxhsum* | grep XXH128 XXH128 (xxhsum) = 21f09dac08fe8d46d08aa66b0997bc7e XXH128 (xxhsum.1) = d2d409470e1d1e75072897afc15cade8 XXH128 (xxhsum.1.md) = 33f6321839194b4391a967f4a69af658 XXH128 (xxhsum.c) = 61701ec709d51e596095b8f79986d562 XXH128 (xxhsum.o) = dbc89f90a66bb78276dd8a6443128808 ./xxhsum --tag -H32 xxhsum* | grep XXH32 XXH32 (xxhsum) = b1901b63 XXH32 (xxhsum.1) = 417bb3c7 XXH32 (xxhsum.1.md) = 5c2b36ab XXH32 (xxhsum.c) = f873cdae XXH32 (xxhsum.o) = 50b5adb3 ./xxhsum --tag -H64 xxhsum* | grep XXH64 XXH64 (xxhsum) = 27f5914e4bbe7d74 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = b1991f8a38dd0629 ./xxhsum --tag -H128 xxhsum* | grep XXH128 XXH128 (xxhsum) = 21f09dac08fe8d46d08aa66b0997bc7e XXH128 (xxhsum.1) = d2d409470e1d1e75072897afc15cade8 XXH128 (xxhsum.1.md) = 33f6321839194b4391a967f4a69af658 XXH128 (xxhsum.c) = 61701ec709d51e596095b8f79986d562 XXH128 (xxhsum.o) = dbc89f90a66bb78276dd8a6443128808 ./xxhsum --tag -H0 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 631b90b1 XXH32_LE (xxhsum.1) = c7b37b41 XXH32_LE (xxhsum.1.md) = ab362b5c XXH32_LE (xxhsum.c) = aecd73f8 XXH32_LE (xxhsum.o) = b3adb550 ./xxhsum --tag -H1 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 747dbe4b4e91f527 XXH64_LE (xxhsum.1) = e1c0c006ac7d677d XXH64_LE (xxhsum.1.md) = 73cfe2926cd842b6 XXH64_LE (xxhsum.c) = 8f52e5a4cd89a15f XXH64_LE (xxhsum.o) = 2906dd388a1f99b1 ./xxhsum --tag -H2 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 7ebc97096ba68ad0468dfe08ac9df021 XXH128_LE (xxhsum.1) = e8ad5cc1af972807751e1d0e4709d4d2 XXH128_LE (xxhsum.1.md) = 58f69aa6f467a991434b19391832f633 XXH128_LE (xxhsum.c) = 62d58699f7b89560591ed509c71e7061 XXH128_LE (xxhsum.o) = 08881243648add7682b76ba6909fc8db ./xxhsum --tag -H32 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 631b90b1 XXH32_LE (xxhsum.1) = c7b37b41 XXH32_LE (xxhsum.1.md) = ab362b5c XXH32_LE (xxhsum.c) = aecd73f8 XXH32_LE (xxhsum.o) = b3adb550 ./xxhsum --tag -H64 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 747dbe4b4e91f527 XXH64_LE (xxhsum.1) = e1c0c006ac7d677d XXH64_LE (xxhsum.1.md) = 73cfe2926cd842b6 XXH64_LE (xxhsum.c) = 8f52e5a4cd89a15f XXH64_LE (xxhsum.o) = 2906dd388a1f99b1 ./xxhsum --tag -H128 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 7ebc97096ba68ad0468dfe08ac9df021 XXH128_LE (xxhsum.1) = e8ad5cc1af972807751e1d0e4709d4d2 XXH128_LE (xxhsum.1.md) = 58f69aa6f467a991434b19391832f633 XXH128_LE (xxhsum.c) = 62d58699f7b89560591ed509c71e7061 XXH128_LE (xxhsum.o) = 08881243648add7682b76ba6909fc8db # 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 make: Leaving directory '/usr/src/RPM/BUILD/xxhash-0.8.0-alt1' + exit 0 Processing files: xxhash-0.8.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.37471 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xxhash-0.8.0-alt1 + DOCDIR=/usr/src/tmp/xxhash-buildroot/usr/share/doc/xxhash-0.8.0 + export DOCDIR + rm -rf /usr/src/tmp/xxhash-buildroot/usr/share/doc/xxhash-0.8.0 + /bin/mkdir -p /usr/src/tmp/xxhash-buildroot/usr/share/doc/xxhash-0.8.0 + cp -prL CHANGELOG LICENSE README.md /usr/src/tmp/xxhash-buildroot/usr/share/doc/xxhash-0.8.0 + chmod -R go-w /usr/src/tmp/xxhash-buildroot/usr/share/doc/xxhash-0.8.0 + chmod -R a+rX /usr/src/tmp/xxhash-buildroot/usr/share/doc/xxhash-0.8.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LVTGKZ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i4AVFW find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, 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), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XL1XvX Creating xxhash-debuginfo package Processing files: libxxhash-0.8.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.80229 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xxhash-0.8.0-alt1 + DOCDIR=/usr/src/tmp/xxhash-buildroot/usr/share/doc/libxxhash-0.8.0 + export DOCDIR + rm -rf /usr/src/tmp/xxhash-buildroot/usr/share/doc/libxxhash-0.8.0 + /bin/mkdir -p /usr/src/tmp/xxhash-buildroot/usr/share/doc/libxxhash-0.8.0 + cp -prL CHANGELOG LICENSE README.md /usr/src/tmp/xxhash-buildroot/usr/share/doc/libxxhash-0.8.0 + chmod -R go-w /usr/src/tmp/xxhash-buildroot/usr/share/doc/libxxhash-0.8.0 + chmod -R a+rX /usr/src/tmp/xxhash-buildroot/usr/share/doc/libxxhash-0.8.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KvnJcY find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/xxhash-buildroot/usr/lib64/libxxhash.so.0: 44 symbols, 16 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.brwMFX find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libxxhash.so.0()(64bit) = set:jdZBexgLZAwQTP06fACrnwo7S94I4atosAZITiJuToIQRor9VJiUzIvC5FBcZozFTCuRuj6h4E0NUA9rcRoysPqEHl81 Requires: 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), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XC9rJY Creating libxxhash-debuginfo package Processing files: libxxhash-devel-0.8.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mvbjnZ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PD6UXZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(libxxhash) = 0.8.0 Requires: libxxhash = 0.8.0-alt1, /usr/lib64/libxxhash.so.0.8.0, /usr/lib64/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.exD3r0 Processing files: xxhash-debuginfo-0.8.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3njeWY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fbiVT0 find-requires: running scripts (debuginfo) Requires: xxhash = 0.8.0-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Processing files: libxxhash-debuginfo-0.8.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.klEqPZ find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xtkktY find-requires: running scripts (debuginfo) Provides: debug64(libxxhash.so.0) Requires: libxxhash = 0.8.0-alt1, debug64(libc.so.6) Adding to xxhash-debuginfo a strict dependency on xxhash Adding to libxxhash-devel a strict dependency on libxxhash Adding to libxxhash-debuginfo a strict dependency on libxxhash Removing 1 extra deps from libxxhash-devel due to dependency on libxxhash Wrote: /usr/src/RPM/RPMS/x86_64/xxhash-0.8.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libxxhash-0.8.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libxxhash-devel-0.8.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/xxhash-debuginfo-0.8.0-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libxxhash-debuginfo-0.8.0-alt1.x86_64.rpm 15.73user 1.72system 0:30.50elapsed 57%CPU (0avgtext+0avgdata 170312maxresident)k 0inputs+0outputs (0major+735718minor)pagefaults 0swaps 17.15user 4.06system 0:34.47elapsed 61%CPU (0avgtext+0avgdata 170312maxresident)k 0inputs+0outputs (0major+999361minor)pagefaults 0swaps