Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/xxhash.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-5e2def4062765aa451dcfc8a5ba9cc4b285635ac/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/xxhash-0.8.0-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/xxhash.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-5e2def4062765aa451dcfc8a5ba9cc4b285635ac/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fInONL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xxHash-0.8.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/xxhash-0.8.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (xxhash-pkgconfig-version.patch): + echo 'Patch #0 (xxhash-pkgconfig-version.patch):' + /usr/bin/cat /builddir/build/SOURCES/xxhash-pkgconfig-version.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MMw9Gy + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.0 + /usr/bin/make -j4 'MOREFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro ' DISPATCH=0 cc -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -c -o xxhash.o xxhash.c cc -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -fPIC xxhash.c -shared -Wl,-soname=libxxhash.so.0 -o libxxhash.so.0.8.0 cc -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro -c -o xxhsum.o xxhsum.c ar rcs libxxhash.a xxhash.o cc -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -Wl,-z,relro xxhash.o xxhsum.o -o xxhsum ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum ln -sf xxhsum xxh128sum ln -sf libxxhash.so.0.8.0 libxxhash.so.0 ln -sf libxxhash.so.0.8.0 libxxhash.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.23a3RF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm ++ dirname /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm + cd xxHash-0.8.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm PREFIX=/usr LIBDIR=/usr/lib creating pkgconfig Installing libxxhash Installing pkgconfig Installing xxhsum Installing man pages xxhash installation completed + rm /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm//usr/lib/libxxhash.a + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/xxHash-0.8.0 extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/bin/xxhsum extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/lib/libxxhash.so.0.8.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/bin/xxhsum.debug to /usr/lib/debug/usr/bin/xxh64sum.debug symlinked /usr/lib/debug/usr/bin/xxhsum.debug to /usr/lib/debug/usr/bin/xxh32sum.debug symlinked /usr/lib/debug/usr/bin/xxhsum.debug to /usr/lib/debug/usr/bin/xxh128sum.debug symlinked /usr/lib/debug/usr/lib/libxxhash.so.0.8.0.debug to /usr/lib/debug/usr/lib/libxxhash.so.debug symlinked /usr/lib/debug/usr/lib/libxxhash.so.0.8.0.debug to /usr/lib/debug/usr/lib/libxxhash.so.0.debug 549 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.njY1LN + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.0 + make check # stdin ./xxhsum < xxhash.c a9c413a5c9548a52 stdin # multiple files ./xxhsum xxhash.* xxhsum.* a9c413a5c9548a52 xxhash.c 1cee8f1ad5602754 xxhash.h 94f5add4ee7e06dc xxhash.o 7d677dac06c0c0e1 xxhsum.1 b642d86c92e2cf73 xxhsum.1.md 5fa189cda4e5528f xxhsum.c f5c22a433bd784d5 xxhsum.o # internal bench ./xxhsum -bi0 xxhsum 0.8.0 by Yann Collet compiled as 32-bit ARMv7 + unaligned little endian with GCC 4.8.5 20150623 (Red Hat 4.8.5-44) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 5486 it/s ( 535.7 MB/s) 1#XXH32 : 102400 -> 5486 it/s ( 535.7 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 2793 it/s ( 272.7 MB/s) 3#XXH64 : 102400 -> 2793 it/s ( 272.7 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 3376 it/s ( 329.7 MB/s) 5#XXH3_64b : 102400 -> 3376 it/s ( 329.7 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 3339 it/s ( 326.1 MB/s) 11#XXH128 : 102400 -> 3339 it/s ( 326.1 MB/s) # long bench command ./xxhsum --benchmark-all -i0 xxhsum 0.8.0 by Yann Collet compiled as 32-bit ARMv7 + unaligned little endian with GCC 4.8.5 20150623 (Red Hat 4.8.5-44) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 5389 it/s ( 526.3 MB/s) 1#XXH32 : 102400 -> 5389 it/s ( 526.3 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 4518 it/s ( 441.2 MB/s) 2#XXH32 unaligned : 102400 -> 4518 it/s ( 441.2 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 2793 it/s ( 272.7 MB/s) 3#XXH64 : 102400 -> 2793 it/s ( 272.7 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 2560 it/s ( 250.0 MB/s) 4#XXH64 unaligned : 102400 -> 2560 it/s ( 250.0 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 3376 it/s ( 329.7 MB/s) 5#XXH3_64b : 102400 -> 3376 it/s ( 329.7 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 3042 it/s ( 297.0 MB/s) 6#XXH3_64b unaligned : 102400 -> 3042 it/s ( 297.0 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 3234 it/s ( 315.8 MB/s) 7#XXH3_64b w/seed : 102400 -> 3234 it/s ( 315.8 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 3012 it/s ( 294.1 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 3012 it/s ( 294.1 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 2954 it/s ( 288.5 MB/s) 9#XXH3_64b w/secret : 102400 -> 2954 it/s ( 288.5 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 2898 it/s ( 283.0 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 2898 it/s ( 283.0 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 3376 it/s ( 329.7 MB/s) 11#XXH128 : 102400 -> 3376 it/s ( 329.7 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 3042 it/s ( 297.0 MB/s) 12#XXH128 unaligned : 102400 -> 3042 it/s ( 297.0 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 3234 it/s ( 315.8 MB/s) 13#XXH128 w/seed : 102400 -> 3234 it/s ( 315.8 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 3012 it/s ( 294.1 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 3012 it/s ( 294.1 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 2926 it/s ( 285.7 MB/s) 15#XXH128 w/secret : 102400 -> 2926 it/s ( 285.7 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 2898 it/s ( 283.0 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 2898 it/s ( 283.0 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 2743 it/s ( 267.9 MB/s) 17#XXH3_stream : 102400 -> 2743 it/s ( 267.9 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 2560 it/s ( 250.0 MB/s) 18#XXH3_stream unaligned : 102400 -> 2560 it/s ( 250.0 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 2743 it/s ( 267.9 MB/s) 19#XXH3_stream w/seed : 102400 -> 2743 it/s ( 267.9 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 2560 it/s ( 250.0 MB/s) 20#XXH3_stream w/seed unaligned : 102400 -> 2560 it/s ( 250.0 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 2719 it/s ( 265.5 MB/s) 21#XXH128_stream : 102400 -> 2719 it/s ( 265.5 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 2539 it/s ( 247.9 MB/s) 22#XXH128_stream unaligned : 102400 -> 2539 it/s ( 247.9 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 2743 it/s ( 267.9 MB/s) 23#XXH128_stream w/seed : 102400 -> 2743 it/s ( 267.9 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 2539 it/s ( 247.9 MB/s) 24#XXH128_stream w/seed unaligne : 102400 -> 2539 it/s ( 247.9 MB/s) # bench multiple variants ./xxhsum -b1,2,3 -i0 xxhsum 0.8.0 by Yann Collet compiled as 32-bit ARMv7 + unaligned little endian with GCC 4.8.5 20150623 (Red Hat 4.8.5-44) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 5486 it/s ( 535.7 MB/s) 1#XXH32 : 102400 -> 5486 it/s ( 535.7 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 4327 it/s ( 422.5 MB/s) 2#XXH32 unaligned : 102400 -> 4327 it/s ( 422.5 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 2719 it/s ( 265.5 MB/s) 3#XXH64 : 102400 -> 2719 it/s ( 265.5 MB/s) # file bench ./xxhsum -bi0 xxhash.c xxhsum 0.8.0 by Yann Collet compiled as 32-bit ARMv7 + unaligned little endian with GCC 4.8.5 20150623 (Red Hat 4.8.5-44) 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 677960 it/s ( 1199.4 MB/s) 1#XXH32 : 1855 -> 677960 it/s ( 1199.4 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 192602 it/s ( 340.7 MB/s) 3#XXH64 : 1855 -> 192602 it/s ( 340.7 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 209247 it/s ( 370.2 MB/s) 5#XXH3_64b : 1855 -> 209247 it/s ( 370.2 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 192602 it/s ( 340.7 MB/s) 11#XXH128 : 1855 -> 192602 it/s ( 340.7 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) = 2627e7e37d17b480 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = f5c22a433bd784d5 ./xxhsum --tag -H0 xxhsum* | grep XXH32 XXH32 (xxhsum) = 15847f96 XXH32 (xxhsum.1) = 417bb3c7 XXH32 (xxhsum.1.md) = 5c2b36ab XXH32 (xxhsum.c) = f873cdae XXH32 (xxhsum.o) = de4340d7 ./xxhsum --tag -H1 xxhsum* | grep XXH64 XXH64 (xxhsum) = 2627e7e37d17b480 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = f5c22a433bd784d5 ./xxhsum --tag -H2 xxhsum* | grep XXH128 XXH128 (xxhsum) = cf4ea91cc7f857cfa87f756c8e430e53 XXH128 (xxhsum.1) = d2d409470e1d1e75072897afc15cade8 XXH128 (xxhsum.1.md) = 33f6321839194b4391a967f4a69af658 XXH128 (xxhsum.c) = 61701ec709d51e596095b8f79986d562 XXH128 (xxhsum.o) = 19764e76471c6492433044e9847db69c ./xxhsum --tag -H32 xxhsum* | grep XXH32 XXH32 (xxhsum) = 15847f96 XXH32 (xxhsum.1) = 417bb3c7 XXH32 (xxhsum.1.md) = 5c2b36ab XXH32 (xxhsum.c) = f873cdae XXH32 (xxhsum.o) = de4340d7 ./xxhsum --tag -H64 xxhsum* | grep XXH64 XXH64 (xxhsum) = 2627e7e37d17b480 XXH64 (xxhsum.1) = 7d677dac06c0c0e1 XXH64 (xxhsum.1.md) = b642d86c92e2cf73 XXH64 (xxhsum.c) = 5fa189cda4e5528f XXH64 (xxhsum.o) = f5c22a433bd784d5 ./xxhsum --tag -H128 xxhsum* | grep XXH128 XXH128 (xxhsum) = cf4ea91cc7f857cfa87f756c8e430e53 XXH128 (xxhsum.1) = d2d409470e1d1e75072897afc15cade8 XXH128 (xxhsum.1.md) = 33f6321839194b4391a967f4a69af658 XXH128 (xxhsum.c) = 61701ec709d51e596095b8f79986d562 XXH128 (xxhsum.o) = 19764e76471c6492433044e9847db69c ./xxhsum --tag -H0 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 967f8415 XXH32_LE (xxhsum.1) = c7b37b41 XXH32_LE (xxhsum.1.md) = ab362b5c XXH32_LE (xxhsum.c) = aecd73f8 XXH32_LE (xxhsum.o) = d74043de ./xxhsum --tag -H1 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 80b4177de3e72726 XXH64_LE (xxhsum.1) = e1c0c006ac7d677d XXH64_LE (xxhsum.1.md) = 73cfe2926cd842b6 XXH64_LE (xxhsum.c) = 8f52e5a4cd89a15f XXH64_LE (xxhsum.o) = d584d73b432ac2f5 ./xxhsum --tag -H2 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 530e438e6c757fa8cf57f8c71ca94ecf XXH128_LE (xxhsum.1) = e8ad5cc1af972807751e1d0e4709d4d2 XXH128_LE (xxhsum.1.md) = 58f69aa6f467a991434b19391832f633 XXH128_LE (xxhsum.c) = 62d58699f7b89560591ed509c71e7061 XXH128_LE (xxhsum.o) = 9cb67d84e944304392641c47764e7619 ./xxhsum --tag -H32 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 967f8415 XXH32_LE (xxhsum.1) = c7b37b41 XXH32_LE (xxhsum.1.md) = ab362b5c XXH32_LE (xxhsum.c) = aecd73f8 XXH32_LE (xxhsum.o) = d74043de ./xxhsum --tag -H64 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 80b4177de3e72726 XXH64_LE (xxhsum.1) = e1c0c006ac7d677d XXH64_LE (xxhsum.1.md) = 73cfe2926cd842b6 XXH64_LE (xxhsum.c) = 8f52e5a4cd89a15f XXH64_LE (xxhsum.o) = d584d73b432ac2f5 ./xxhsum --tag -H128 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 530e438e6c757fa8cf57f8c71ca94ecf XXH128_LE (xxhsum.1) = e8ad5cc1af972807751e1d0e4709d4d2 XXH128_LE (xxhsum.1.md) = 58f69aa6f467a991434b19391832f633 XXH128_LE (xxhsum.c) = 62d58699f7b89560591ed509c71e7061 XXH128_LE (xxhsum.o) = 9cb67d84e944304392641c47764e7619 # 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 + exit 0 Processing files: xxhash-0.8.0-3.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uT6v24 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.0 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/doc/xxhash-0.8.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/doc/xxhash-0.8.0 + cp -pr README.md /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/doc/xxhash-0.8.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N1twZn + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.0 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/licenses/xxhash-0.8.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/licenses/xxhash-0.8.0 + cp -pr LICENSE /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/licenses/xxhash-0.8.0 + exit 0 Provides: xxhash = 0.8.0-3.el7 xxhash(armv7hl-32) = 0.8.0-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: xxhash-libs-0.8.0-3.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mIOu9X + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.0 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/doc/xxhash-libs-0.8.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/doc/xxhash-libs-0.8.0 + cp -pr README.md /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/doc/xxhash-libs-0.8.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lAKu2z + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.0 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/licenses/xxhash-libs-0.8.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/licenses/xxhash-libs-0.8.0 + cp -pr LICENSE /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm/usr/share/licenses/xxhash-libs-0.8.0 + exit 0 Provides: libxxhash.so.0 xxhash-libs = 0.8.0-3.el7 xxhash-libs(armv7hl-32) = 0.8.0-3.el7 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: xxhash-devel-0.8.0-3.el7.armv7hl Provides: pkgconfig(libxxhash) = 0.8.0 xxhash-devel = 0.8.0-3.el7 xxhash-devel(armv7hl-32) = 0.8.0-3.el7 xxhash-static = 0.8.0-3.el7 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 Processing files: xxhash-debuginfo-0.8.0-3.el7.armv7hl Provides: xxhash-debuginfo = 0.8.0-3.el7 xxhash-debuginfo(armv7hl-32) = 0.8.0-3.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm Wrote: /builddir/build/RPMS/xxhash-0.8.0-3.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/xxhash-libs-0.8.0-3.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/xxhash-devel-0.8.0-3.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/xxhash-debuginfo-0.8.0-3.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CUePIT + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xxhash-0.8.0-3.el7.arm + exit 0 Child return code was: 0