Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/centos-stream-9-aarch64-1672972915.593163/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4w1brz3v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4w1brz3v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e7caa848f0ba4212af668e07bf4243bb', '-D', '/var/lib/mock/centos-stream-9-aarch64-1672972915.593163/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4w1brz3v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658102400 Wrote: /builddir/build/SRPMS/xxhash-0.8.1-3.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/centos-stream-9-aarch64-1672972915.593163/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4w1brz3v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4w1brz3v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b5cf52c27dda4bb6abf15e874ab12942', '-D', '/var/lib/mock/centos-stream-9-aarch64-1672972915.593163/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4w1brz3v:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658102400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZsGmoG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xxHash-0.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/xxhash-0.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (1-fix-man-page-installation.patch):' Patch #0 (1-fix-man-page-installation.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file cli/xxhsum.1 patching file cli/xxhsum.1.md + '[' -e /usr/lib/rpm/clang/xxhash-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q4LYPk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd xxHash-0.8.1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 'MOREFLAGS=-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' DISPATCH=0 clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -c -o cli/xsum_os_specific.o cli/xsum_os_specific.c clang-15: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -c -o cli/xsum_output.o cli/xsum_output.c clang-15: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -c -o cli/xxhsum.o cli/xxhsum.c clang-15: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -c -o cli/xsum_sanity_check.o cli/xsum_sanity_check.c clang-15: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -c -o cli/xsum_bench.o cli/xsum_bench.c clang-15: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -c -o xxhash.o xxhash.c clang-15: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,--as-needed: 'linker' input unused [-Wunused-command-line-argument] clang-15: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument] ar rcs libxxhash.a xxhash.o clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fPIC xxhash.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -shared -Wl,-soname=libxxhash.so.0 -o libxxhash.so.0.8.1 ln -sf libxxhash.so.0.8.1 libxxhash.so.0 ln -sf libxxhash.so.0.8.1 libxxhash.so clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto xxhash.o cli/xxhsum.o cli/xsum_os_specific.o cli/xsum_output.o cli/xsum_sanity_check.o cli/xsum_bench.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o xxhsum ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum ln -sf xxhsum xxh128sum + doxygen /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:591: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:637: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:567: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:612: warning: unable to resolve reference to 'XXH3_128bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:567: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:591: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:612: warning: unable to resolve reference to 'XXH3_128bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:637: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:97: warning: explicit link request to 'define' could not be resolved /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:98: warning: explicit link request to 'include' could not be resolved /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:567: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:591: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:612: warning: unable to resolve reference to 'XXH3_128bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:637: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:319: warning: Found unknown command '@ret' /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:567: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:591: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:612: warning: unable to resolve reference to 'XXH3_128bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxh_x86dispatch.c:637: warning: unable to resolve reference to 'XXH3_64bits()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:511: warning: unable to resolve reference to 'XXH_OK' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:511: warning: unable to resolve reference to 'XXH_ERROR' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:531: warning: unable to resolve reference to 'XXH_OK' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:531: warning: unable to resolve reference to 'XXH_ERROR' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1316: warning: End of list marker found without any preceding list items /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:2821: warning: unable to resolve reference to 'XXH_X86DISPATCH' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:967: warning: unable to resolve reference to 'XXH_STATIC_LINKING_ONLY' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:968: warning: unable to resolve reference to 'XXH_INLINE_ALL' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:968: warning: unable to resolve reference to 'XXH_IMPLEMENTATION' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1053: warning: unable to resolve reference to 'XXH_STATIC_LINKING_ONLY' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1054: warning: unable to resolve reference to 'XXH_INLINE_ALL' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1054: warning: unable to resolve reference to 'XXH_IMPLEMENTATION' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1062: warning: unable to resolve reference to 'XXH3_createState()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1062: warning: unable to resolve reference to 'XXH3_freeState()' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:1073: warning: unable to resolve reference to 'XXH32_state_s::v1' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:991: warning: unable to resolve reference to 'XXH_STATIC_LINKING_ONLY' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:992: warning: unable to resolve reference to 'XXH_INLINE_ALL' for \ref command /builddir/build/BUILD/xxHash-0.8.1/xxhash.h:992: warning: unable to resolve reference to 'XXH_IMPLEMENTATION' for \ref command + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.376gfF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64 ++ dirname /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd xxHash-0.8.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64 '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 /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64//usr/lib64/libxxhash.a + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/bin/xxhsum [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/bin/xxhsum built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib64/libxxhash.so.0.8.1 [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib64/libxxhash.so.0.8.1 built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8.1-3.eln_clang_unknown --unique-debug-suffix -0.8.1-3.eln_clang_unknown.aarch64 --unique-debug-src-base xxhash-0.8.1-3.eln_clang_unknown.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/xxHash-0.8.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/bin/xxhsum explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib64/libxxhash.so.0.8.1 extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/bin/xxhsum extracting debug info from /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib64/libxxhash.so.0.8.1 original debug info size: 1016kB, size after compression: 996kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 621 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib/debug/usr/bin/xxhsum-0.8.1-3.eln_clang_unknown.aarch64.debug error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib/debug/usr/bin/xxhsum-0.8.1-3.eln_clang_unknown.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib/debug/usr/lib64/libxxhash.so.0.8.1-0.8.1-3.eln_clang_unknown.aarch64.debug error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib/debug/usr/lib64/libxxhash.so.0.8.1-0.8.1-3.eln_clang_unknown.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/bin/xxhsum [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib/debug/usr/bin/xxhsum-0.8.1-3.eln_clang_unknown.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib64/libxxhash.so.0.8.1 error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/lib/debug/usr/lib64/libxxhash.so.0.8.1-0.8.1-3.eln_clang_unknown.aarch64.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PH6Z67 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd xxHash-0.8.1 + make check # stdin ./xxhsum < xxhash.c a9c413a5c9548a52 stdin # multiple files ./xxhsum xxhash.* a9c413a5c9548a52 xxhash.c 11a167c25cb049b1 xxhash.h c5fa1b725bc8bd76 xxhash.o # internal bench ./xxhsum -bi0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with Clang 15.0.1 (Red Hat 15.0.1-2.el9) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 80949 it/s ( 7905.1 MB/s) 1#XXH32 : 102400 -> 80949 it/s ( 7905.1 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 134932 it/s (13177.0 MB/s) 3#XXH64 : 102400 -> 134932 it/s (13177.0 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 179986 it/s (17576.8 MB/s) 5#XXH3_64b : 102400 -> 179986 it/s (17576.8 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 179702 it/s (17549.0 MB/s) 11#XXH128 : 102400 -> 179702 it/s (17549.0 MB/s) # long bench command ./xxhsum --benchmark-all -i0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with Clang 15.0.1 (Red Hat 15.0.1-2.el9) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 81205 it/s ( 7930.2 MB/s) 1#XXH32 : 102400 -> 81205 it/s ( 7930.2 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 81201 it/s ( 7929.8 MB/s) 2#XXH32 unaligned : 102400 -> 81201 it/s ( 7929.8 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 135122 it/s (13195.5 MB/s) 3#XXH64 : 102400 -> 135122 it/s (13195.5 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 134926 it/s (13176.4 MB/s) 4#XXH64 unaligned : 102400 -> 134926 it/s (13176.4 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 180324 it/s (17609.8 MB/s) 5#XXH3_64b : 102400 -> 180324 it/s (17609.8 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 177624 it/s (17346.1 MB/s) 6#XXH3_64b unaligned : 102400 -> 177624 it/s (17346.1 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 179681 it/s (17546.9 MB/s) 7#XXH3_64b w/seed : 102400 -> 179681 it/s (17546.9 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 177152 it/s (17300.0 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 177152 it/s (17300.0 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 163552 it/s (15971.9 MB/s) 9#XXH3_64b w/secret : 102400 -> 163552 it/s (15971.9 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 159742 it/s (15599.8 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 159742 it/s (15599.8 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 179492 it/s (17528.5 MB/s) 11#XXH128 : 102400 -> 179492 it/s (17528.5 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 177122 it/s (17297.0 MB/s) 12#XXH128 unaligned : 102400 -> 177122 it/s (17297.0 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 179345 it/s (17514.2 MB/s) 13#XXH128 w/seed : 102400 -> 179345 it/s (17514.2 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 176938 it/s (17279.1 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 176938 it/s (17279.1 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 163135 it/s (15931.2 MB/s) 15#XXH128 w/secret : 102400 -> 163135 it/s (15931.2 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 159411 it/s (15567.4 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 159411 it/s (15567.4 MB/s) 1-XXH32_stream : 102400 -> 1-XXH32_stream : 102400 -> 45062 it/s ( 4400.6 MB/s) 17#XXH32_stream : 102400 -> 45062 it/s ( 4400.6 MB/s) 1-XXH32_stream unaligned : 102400 -> 1-XXH32_stream unaligned : 102400 -> 44954 it/s ( 4390.0 MB/s) 18#XXH32_stream unaligned : 102400 -> 44954 it/s ( 4390.0 MB/s) 1-XXH64_stream : 102400 -> 1-XXH64_stream : 102400 -> 201866 it/s (19713.5 MB/s) 19#XXH64_stream : 102400 -> 201866 it/s (19713.5 MB/s) 1-XXH64_stream unaligned : 102400 -> 1-XXH64_stream unaligned : 102400 -> 201707 it/s (19698.0 MB/s) 20#XXH64_stream unaligned : 102400 -> 201707 it/s (19698.0 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 173726 it/s (16965.4 MB/s) 21#XXH3_stream : 102400 -> 173726 it/s (16965.4 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 171352 it/s (16733.6 MB/s) 22#XXH3_stream unaligned : 102400 -> 171352 it/s (16733.6 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 173432 it/s (16936.7 MB/s) 23#XXH3_stream w/seed : 102400 -> 173432 it/s (16936.7 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 171133 it/s (16712.2 MB/s) 24#XXH3_stream w/seed unaligned : 102400 -> 171133 it/s (16712.2 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 173442 it/s (16937.7 MB/s) 25#XXH128_stream : 102400 -> 173442 it/s (16937.7 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 171171 it/s (16715.9 MB/s) 26#XXH128_stream unaligned : 102400 -> 171171 it/s (16715.9 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 173305 it/s (16924.3 MB/s) 27#XXH128_stream w/seed : 102400 -> 173305 it/s (16924.3 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 170876 it/s (16687.1 MB/s) 28#XXH128_stream w/seed unaligne : 102400 -> 170876 it/s (16687.1 MB/s) # bench multiple variants ./xxhsum -b1,2,3 -i0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with Clang 15.0.1 (Red Hat 15.0.1-2.el9) Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 81205 it/s ( 7930.2 MB/s) 1#XXH32 : 102400 -> 81205 it/s ( 7930.2 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 81173 it/s ( 7927.1 MB/s) 2#XXH32 unaligned : 102400 -> 81173 it/s ( 7927.1 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 135092 it/s (13192.6 MB/s) 3#XXH64 : 102400 -> 135092 it/s (13192.6 MB/s) # file bench ./xxhsum -bi0 xxhash.c xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with Clang 15.0.1 (Red Hat 15.0.1-2.el9) 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 4354719 it/s ( 7703.8 MB/s) 1#XXH32 : 1855 -> 4354719 it/s ( 7703.8 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 6863333 it/s (12141.7 MB/s) 3#XXH64 : 1855 -> 6863333 it/s (12141.7 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 9605554 it/s (16992.9 MB/s) 5#XXH3_64b : 1855 -> 9605554 it/s (16992.9 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 8987698 it/s (15899.8 MB/s) 11#XXH128 : 1855 -> 8987698 it/s (15899.8 MB/s) # 32-bit ./xxhsum -H0 xxhash.c 0b9f9eb1 xxhash.c # 128-bit ./xxhsum -H2 xxhash.c 75323380c1b81bbbe6b4fc5c377a18ff xxhash.c # XXH3 (enforce BSD style) ./xxhsum -H3 xxhash.c | grep "XXH3" XXH3 (xxhash.c) = e6b4fc5c377a18ff # request incorrect variant ./xxhsum -H9 xxhash.c ; test $? -eq 1 Wrong parameters xxhsum 0.8.1 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) = 999b3307a7302639 ./xxhsum --tag -H0 xxhsum* | grep XXH32 XXH32 (xxhsum) = c7ae6227 ./xxhsum --tag -H1 xxhsum* | grep XXH64 XXH64 (xxhsum) = 999b3307a7302639 ./xxhsum --tag -H2 xxhsum* | grep XXH128 XXH128 (xxhsum) = 75c2396cd9fdaa3bfac89f2a4de6707e ./xxhsum --tag -H3 xxhsum* | grep XXH3 XXH3 (xxhsum) = fac89f2a4de6707e ./xxhsum -H3 xxhsum* | grep XXH3 # --tag is implicit for H3 XXH3 (xxhsum) = fac89f2a4de6707e ./xxhsum --tag -H32 xxhsum* | grep XXH32 XXH32 (xxhsum) = c7ae6227 ./xxhsum --tag -H64 xxhsum* | grep XXH64 XXH64 (xxhsum) = 999b3307a7302639 ./xxhsum --tag -H128 xxhsum* | grep XXH128 XXH128 (xxhsum) = 75c2396cd9fdaa3bfac89f2a4de6707e ./xxhsum --tag -H0 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 2762aec7 ./xxhsum --tag -H1 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 392630a707339b99 ./xxhsum --tag -H2 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 7e70e64d2a9fc8fa3baafdd96c39c275 ./xxhsum -H3 --little-endian xxhsum* | grep XXH3_LE XXH3_LE (xxhsum) = 7e70e64d2a9fc8fa ./xxhsum --tag -H32 --little-endian xxhsum* | grep XXH32_LE XXH32_LE (xxhsum) = 2762aec7 ./xxhsum --tag -H64 --little-endian xxhsum* | grep XXH64_LE XXH64_LE (xxhsum) = 392630a707339b99 ./xxhsum --tag -H128 --little-endian xxhsum* | grep XXH128_LE XXH128_LE (xxhsum) = 7e70e64d2a9fc8fa3baafdd96c39c275 # 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.1-3.eln_clang_unknown.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4g9UKC + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash + cp -pr cli/README.md /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dC6cyl + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/licenses/xxhash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/licenses/xxhash + cp -pr cli/COPYING /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/licenses/xxhash + RPM_EC=0 ++ jobs -p + exit 0 Provides: xxhash = 0.8.1-3.eln_clang_unknown xxhash(aarch-64) = 0.8.1-3.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) Processing files: xxhash-libs-0.8.1-3.eln_clang_unknown.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hPZnO6 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash-libs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash-libs + cp -pr README.md /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash-libs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.I8omqp + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/licenses/xxhash-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/licenses/xxhash-libs + cp -pr LICENSE /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/licenses/xxhash-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libxxhash.so.0()(64bit) xxhash-libs = 0.8.1-3.eln_clang_unknown xxhash-libs(aarch-64) = 0.8.1-3.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Processing files: xxhash-devel-0.8.1-3.eln_clang_unknown.aarch64 Provides: pkgconfig(libxxhash) = 0.8.1 xxhash-devel = 0.8.1-3.eln_clang_unknown xxhash-devel(aarch-64) = 0.8.1-3.eln_clang_unknown xxhash-static = 0.8.1-3.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libxxhash.so.0()(64bit) Processing files: xxhash-doc-0.8.1-3.eln_clang_unknown.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.d9NTPZ + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash-doc + cp -pr doxygen/html /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64/usr/share/doc/xxhash-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: xxhash-doc = 0.8.1-3.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xxhash-debugsource-0.8.1-3.eln_clang_unknown.aarch64 Provides: xxhash-debugsource = 0.8.1-3.eln_clang_unknown xxhash-debugsource(aarch-64) = 0.8.1-3.eln_clang_unknown 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.1-3.eln_clang_unknown.aarch64 Provides: debuginfo(build-id) = df987d59f8e83ec63faa25b6da9ac9a5b6ae693b xxhash-debuginfo = 0.8.1-3.eln_clang_unknown xxhash-debuginfo(aarch-64) = 0.8.1-3.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(aarch-64) = 0.8.1-3.eln_clang_unknown Processing files: xxhash-libs-debuginfo-0.8.1-3.eln_clang_unknown.aarch64 Provides: debuginfo(build-id) = 41f4622fcaa89082679e3124476c1ef95cb59ae4 xxhash-libs-debuginfo = 0.8.1-3.eln_clang_unknown xxhash-libs-debuginfo(aarch-64) = 0.8.1-3.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xxhash-debugsource(aarch-64) = 0.8.1-3.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64 Wrote: /builddir/build/RPMS/xxhash-debugsource-0.8.1-3.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/xxhash-libs-debuginfo-0.8.1-3.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/xxhash-debuginfo-0.8.1-3.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/xxhash-0.8.1-3.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/xxhash-devel-0.8.1-3.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/xxhash-libs-0.8.1-3.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/xxhash-doc-0.8.1-3.eln_clang_unknown.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7jCFSh + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xxhash-0.8.1-3.eln_clang_unknown.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0