Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/lz4.spec'], chrootPath='/var/lib/mock/dist-an23-build-234244-62695/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/lz4.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674864000 Wrote: /builddir/build/SRPMS/lz4-1.9.4-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/lz4.spec'], chrootPath='/var/lib/mock/dist-an23-build-234244-62695/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/lz4.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674864000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oE6z2I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lz4-1.9.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lz4-1.9.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lz4-1.9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ubsS3K + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lz4-1.9.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled contrib/meson anolis-linux-build -Dprograms=true -Ddefault_library=both The Meson build system Version: 1.0.1 Source dir: /builddir/build/BUILD/lz4-1.9.4/contrib/meson Build dir: /builddir/build/BUILD/lz4-1.9.4/anolis-linux-build Build type: native build Project name: lz4 Project version: DUMMY C compiler for the host machine: gcc (gcc 12.2.1 "gcc (GCC) 12.2.1 20221121 (Anolis OS 12.2.1-1)") C linker for the host machine: gcc ld.bfd 2.39-1 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program GetLz4LibraryVersion.py found: YES (/usr/bin/python3 /builddir/build/BUILD/lz4-1.9.4/contrib/meson/meson/GetLz4LibraryVersion.py) Message: Project version is now: 1.9.4 Build targets in project: 4 lz4 DUMMY User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share default_library: both includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir : /var/lib sysconfdir : /etc wrap_mode : nodownload programs : true Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C anolis-linux-build -j 80 --verbose ninja: Entering directory `/builddir/build/BUILD/lz4-1.9.4/anolis-linux-build' [1/12] gcc -Imeson/programs/lz4.p -Imeson/programs -I../contrib/meson/meson/programs -I../programs -I../lib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ meson/programs/lz4.p/.._.._.._.._programs_datagen.c.o -MF meson/programs/lz4.p/.._.._.._.._programs_datagen.c.o.d -o meson/programs/lz4.p/.._.._.._.._programs_datagen.c.o -c ../programs/datagen.c [2/12] gcc -Imeson/programs/lz4.p -Imeson/programs -I../contrib/meson/meson/programs -I../programs -I../lib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ meson/programs/lz4.p/.._.._.._.._programs_bench.c.o -MF meson/programs/lz4.p/.._.._.._.._programs_bench.c.o.d -o meson/programs/lz4.p/.._.._.._.._programs_bench.c.o -c ../programs/bench.c [3/12] gcc -Imeson/programs/lz4.p -Imeson/programs -I../contrib/meson/meson/programs -I../programs -I../lib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ meson/programs/lz4.p/.._.._.._.._programs_lz4cli.c.o -MF meson/programs/lz4.p/.._.._.._.._programs_lz4cli.c.o.d -o meson/programs/lz4.p/.._.._.._.._programs_lz4cli.c.o -c ../programs/lz4cli.c [4/12] gcc -Imeson/lib/liblz4.so.1.9.4.p -Imeson/lib -I../contrib/meson/meson/lib -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4frame.c.o -MF meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4frame.c.o.d -o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4frame.c.o -c ../lib/lz4frame.c [5/12] gcc -Imeson/programs/lz4.p -Imeson/programs -I../contrib/meson/meson/programs -I../programs -I../lib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -MD -MQ meson/programs/lz4.p/.._.._.._.._programs_lz4io.c.o -MF meson/programs/lz4.p/.._.._.._.._programs_lz4io.c.o.d -o meson/programs/lz4.p/.._.._.._.._programs_lz4io.c.o -c ../programs/lz4io.c [6/12] gcc -Imeson/lib/liblz4.so.1.9.4.p -Imeson/lib -I../contrib/meson/meson/lib -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_xxhash.c.o -MF meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_xxhash.c.o.d -o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_xxhash.c.o -c ../lib/xxhash.c [7/12] gcc -Imeson/lib/liblz4.so.1.9.4.p -Imeson/lib -I../contrib/meson/meson/lib -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4hc.c.o -MF meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4hc.c.o.d -o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4hc.c.o -c ../lib/lz4hc.c [8/12] gcc -Imeson/lib/liblz4.so.1.9.4.p -Imeson/lib -I../contrib/meson/meson/lib -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -DXXH_NAMESPACE=LZ4_ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4.c.o -MF meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4.c.o.d -o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4.c.o -c ../lib/lz4.c [9/12] rm -f meson/lib/liblz4-internal.a && gcc-ar csrDT meson/lib/liblz4-internal.a meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4frame.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4hc.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_xxhash.c.o [10/12] rm -f meson/lib/liblz4.a && gcc-ar csrD meson/lib/liblz4.a meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4frame.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4hc.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_xxhash.c.o [11/12] gcc -o meson/lib/liblz4.so.1.9.4 meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4frame.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_lz4hc.c.o meson/lib/liblz4.so.1.9.4.p/.._.._.._.._lib_xxhash.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,liblz4.so.1 -Wl,--end-group -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection [12/12] gcc -o meson/programs/lz4 meson/programs/lz4.p/.._.._.._.._programs_bench.c.o meson/programs/lz4.p/.._.._.._.._programs_datagen.c.o meson/programs/lz4.p/.._.._.._.._programs_lz4cli.c.o meson/programs/lz4.p/.._.._.._.._programs_lz4io.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--start-group meson/lib/liblz4-internal.a -Wl,--end-group INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/lz4-1.9.4/anolis-linux-build -j 80 -v + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XbzAzE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lz4-1.9.4 + DESTDIR=/builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64 + /usr/bin/meson install -C anolis-linux-build --no-rebuild Installing meson/lib/liblz4.so.1.9.4 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib64 Installing meson/lib/liblz4.a to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib64 Installing meson/programs/lz4 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/bin Installing /builddir/build/BUILD/lz4-1.9.4/contrib/meson/meson/lib/../../../../lib/lz4.h to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/include/ Installing /builddir/build/BUILD/lz4-1.9.4/contrib/meson/meson/lib/../../../../lib/lz4hc.h to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/include/ Installing /builddir/build/BUILD/lz4-1.9.4/contrib/meson/meson/lib/../../../../lib/lz4frame.h to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/include/ Installing /builddir/build/BUILD/lz4-1.9.4/contrib/meson/meson/lib/../../../../lib/lz4frame_static.h to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/include/ Installing /builddir/build/BUILD/lz4-1.9.4/contrib/meson/meson/programs/../../../../programs/lz4.1 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/man/man1 Installing /builddir/build/BUILD/lz4-1.9.4/anolis-linux-build/meson-private/liblz4.pc to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib64/pkgconfig Installing symlink pointing to liblz4.so.1.9.4 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib64/liblz4.so.1 Installing symlink pointing to liblz4.so.1 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib64/liblz4.so Installing symlink pointing to lz4 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/bin/lz4c Installing symlink pointing to lz4.1 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/man/man1/lz4c.1 Installing symlink pointing to lz4 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/bin/lz4cat Installing symlink pointing to lz4.1 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/man/man1/lz4cat.1 Installing symlink pointing to lz4 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/bin/unlz4 Installing symlink pointing to lz4.1 to /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/man/man1/unlz4.1 + /usr/lib/rpm/anolis/generate-compatibility-deps lz4 ~/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib/compatibility/lz4 ~/build/BUILD/lz4-1.9.4 ~/build/BUILD/lz4-1.9.4 ~/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib/compatibility/lz4 ~/build/BUILD/lz4-1.9.4 *** LZ4 command line interface 64-bits v1.9.4, by Yann Collet *** Usage : lz4 [arg] [input] [output] input : a filename with no FILE, or when FILE is - or stdin, read standard input Arguments : -1 : Fast compression (default) -9 : High compression -d : decompression (default for .lz4 extension) -z : force compression -D FILE: use FILE as dictionary -f : overwrite output without prompting -k : preserve source files(s) (default) --rm : remove source file(s) after successful de/compression -h/-H : display help/long help and exit Advanced arguments : -V : display Version number and exit -v : verbose mode -q : suppress warnings; specify twice to suppress errors too -c : force write to standard output, even if it is the console -t : test compressed file integrity -m : multiple input files (implies automatic output filenames) -r : operate recursively on directories (sets also -m) -l : compress using Legacy format (Linux kernel compression) -B# : cut file into blocks of size # bytes [32+] or predefined block size [4-7] (default: 7) -BI : Block Independence (default) -BD : Block dependency (improves compression ratio) -BX : enable block checksum (default:disabled) --no-frame-crc : disable stream checksum (default:enabled) --content-size : compressed frame includes original size (default:not present) --list FILE : lists information about .lz4 files (useful for files compressed with --content-size flag) --[no-]sparse : sparse mode (default:enabled on file, disabled on stdout) --favor-decSpeed: compressed files decompress faster, but are less compressed --fast[=#]: switch to ultra fast compression level (default: 1) --best : same as -12 Benchmark arguments : -b# : benchmark file(s), using # compression level (default : 1) -e# : test all compression levels from -bX to # (default : 1) -i# : minimum evaluation time in seconds (default : 3s) ~/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib/compatibility/lz4 ~/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib/compatibility/lz4 ~/build/BUILD/lz4-1.9.4 ~/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib/compatibility/lz4 ~/build/BUILD/lz4-1.9.4 + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 1.9.4-1.an23 --unique-debug-suffix -1.9.4-1.an23.aarch64 --unique-debug-src-base lz4-1.9.4-1.an23.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lz4-1.9.4 extracting debug info from /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/bin/lz4 extracting debug info from /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/lib64/liblz4.so.1.9.4 Support for debuginfod is not compiled into GDB.Support for debuginfod is not compiled into GDB. original debug info size: 1864kB, size after compression: 1840kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 1152 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZJLM6C + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lz4-1.9.4 + make check make[1]: Entering directory '/builddir/build/BUILD/lz4-1.9.4/tests' make -C ../programs lz4 CFLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -g -DLZ4_DEBUG=1 " make[2]: Entering directory '/builddir/build/BUILD/lz4-1.9.4/programs' make[2]: Leaving directory '/builddir/build/BUILD/lz4-1.9.4/programs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -g -DLZ4_DEBUG=1 -I../lib -I../programs -DXXH_NAMESPACE=LZ4_ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -I../programs ../programs/datagen.c datagencli.c -o datagen ln -sf ../programs/lz4 ../programs/unlz4 ln -sf ../programs/lz4 ../programs/lz4cat \n ---- test lz4 basic compression/decompression ---- ./datagen -g0 | ../programs/lz4 -v | ../programs/lz4 -t *** LZ4 command line interface 64-bits v1.9.4, by Yann Collet *** Compressed 0 bytes into 15 bytes ==> 1500.00% stdin : decoded 0 bytes ./datagen -g16KB | ../programs/lz4 -9 | ../programs/lz4 -t stdin : decoded 16384 bytes ./datagen -g20KB > tmp-tlb-dg20k ../programs/lz4 < tmp-tlb-dg20k | ../programs/lz4 -d > tmp-tlb-dec diff -q tmp-tlb-dg20k tmp-tlb-dec ../programs/lz4 --no-frame-crc < tmp-tlb-dg20k | ../programs/lz4 -d > tmp-tlb-dec diff -q tmp-tlb-dg20k tmp-tlb-dec ./datagen | ../programs/lz4 -BI | ../programs/lz4 -t stdin : decoded 65536 bytes ./datagen | ../programs/lz4 --no-crc | ../programs/lz4 -t stdin : decoded 65536 bytes ./datagen -g6M -P99 | ../programs/lz4 -9BD | ../programs/lz4 -t stdin : decoded 6291456 bytes ./datagen -g17M | ../programs/lz4 -9v | ../programs/lz4 -qt *** LZ4 command line interface 64-bits v1.9.4, by Yann Collet *** Read : 12 MiB ==> 45.42% Compressed 17825792 bytes into 8086251 bytes ==> 45.36% ./datagen -g33M | ../programs/lz4 --no-frame-crc | ../programs/lz4 -t stdin : decoded 34603008 bytes ./datagen -g256MB | ../programs/lz4 -vqB4D | ../programs/lz4 -t --no-crc using blocks of size 64 KB stdin : decoded 268435456 bytes ../programs/lz4 --rm -f tmp-tlb-hw tmp-tlb-hw.lz4 Compressed 12 bytes into 31 bytes ==> 258.33% test ! -f tmp-tlb-hw # must fail (--rm) test -f tmp-tlb-hw.lz4 ../programs/lz4cat tmp-tlb-hw.lz4 | grep "hello world" hello world ../programs/unlz4 --rm tmp-tlb-hw.lz4 tmp-tlb-hw tmp-tlb-hw.lz4 : decoded 12 bytes test -f tmp-tlb-hw test ! -f tmp-tlb-hw.lz4 # must fail (--rm) test ! -f tmp-tlb-hw.lz4.lz4 # must fail (unlz4) ../programs/lz4cat tmp-tlb-hw # pass-through mode hello world test -f tmp-tlb-hw test ! -f tmp-tlb-hw.lz4 # must fail (lz4cat) ../programs/lz4 tmp-tlb-hw tmp-tlb-hw.lz4 # creates tmp-tlb-hw.lz4 Compressed 12 bytes into 31 bytes ==> 258.33% ../programs/lz4cat < tmp-tlb-hw.lz4 > tmp-tlb3 # checks lz4cat works with stdin (#285) diff -q tmp-tlb-hw tmp-tlb3 ../programs/lz4cat < tmp-tlb-hw > tmp-tlb2 # checks lz4cat works in pass-through mode diff -q tmp-tlb-hw tmp-tlb2 cp tmp-tlb-hw ./-d ../programs/lz4 --rm -- -d -d.lz4 # compresses ./d into ./-d.lz4 Compressed 12 bytes into 31 bytes ==> 258.33% test -f ./-d.lz4 test ! -f ./-d mv ./-d.lz4 ./-z ../programs/lz4 -d --rm -- -z tmp-tlb4 # uncompresses ./-z into tmp-tlb4 -z : decoded 12 bytes test ! -f ./-z diff -q tmp-tlb-hw tmp-tlb4 ! ../programs/lz4 tmp-tlb2 tmp-tlb3 tmp-tlb4 # must fail: refuse to handle 3+ file names Error : tmp-tlb4 won't be used ! Do you want multiple input files (-m) ? ../programs/lz4 -f tmp-tlb-hw # create tmp-tlb-hw.lz4, for next tests Warning : using stdout as default output. Do not rely on this behavior: use explicit `-c` instead ! "Md@� �hello world ��R�../programs/lz4 --list tmp-tlb-hw.lz4 # test --list on valid single-frame file Frames Type Block Compressed Uncompressed Ratio Filename 1 LZ4Frame B4I 31.00 - - tmp-tlb-hw.lz4 ../programs/lz4 --list < tmp-tlb-hw.lz4 # test --list from stdin (file only) Frames Type Block Compressed Uncompressed Ratio Filename 1 LZ4Frame B4I 31.00 - - stdin cat tmp-tlb-hw >> tmp-tlb-hw.lz4 ! ../programs/lz4 -f tmp-tlb-hw.lz4 # uncompress valid frame followed by invalid data (must fail now) Warning : using stdout as default output. Do not rely on this behavior: use explicit `-c` instead ! hello world ../programs/lz4 -BX tmp-tlb-hw -c -q | ../programs/lz4 -tv # test block checksum *** LZ4 command line interface 64-bits v1.9.4, by Yann Collet *** stdin : decoded 12 bytes # ./datagen -g20KB generates the same file every single time # cannot save output of ./datagen -g20KB as input file to lz4 because the following shell commands are run before ./datagen -g20KB test "12737" -lt "13979" # -1 vs -9 test "12461" -lt "12737" # 1 vs -1 test "12737" -eq "12737" # checks default fast compression is -1 ! ../programs/lz4 -c --fast=0 tmp-tlb-dg20K # lz4 should fail when fast=0 Incorrect parameters Usage : lz4 [arg] [input] [output] input : a filename with no FILE, or when FILE is - or stdin, read standard input Arguments : -1 : Fast compression (default) -9 : High compression -d : decompression (default for .lz4 extension) -z : force compression -D FILE: use FILE as dictionary -f : overwrite output without prompting -k : preserve source files(s) (default) --rm : remove source file(s) after successful de/compression -h/-H : display help/long help and exit ! ../programs/lz4 -c --fast=-1 tmp-tlb-dg20K # lz4 should fail when fast=-1 Incorrect parameters Usage : lz4 [arg] [input] [output] input : a filename with no FILE, or when FILE is - or stdin, read standard input Arguments : -1 : Fast compression (default) -9 : High compression -d : decompression (default for .lz4 extension) -z : force compression -D FILE: use FILE as dictionary -f : overwrite output without prompting -k : preserve source files(s) (default) --rm : remove source file(s) after successful de/compression -h/-H : display help/long help and exit # High --fast values can result in out-of-bound dereferences #876 ./datagen -g1M | ../programs/lz4 -c --fast=999999999 > /dev/null # Test for #596 ../programs/lz4 -m tmp-tlb-test ../programs/lz4 tmp-tlb-test.lz4 tmp-tlb-test2 tmp-tlb-test.lz4 : decoded 5 bytes diff -q tmp-tlb-test tmp-tlb-test2 \n ---- test multiple files ---- # compress multiple files : one .lz4 per source file ../programs/lz4 -f -m tmp-tml* test -f tmp-tml1.lz4 test -f tmp-tml2.lz4 test -f tmp-tml3.lz4 # decompress multiple files : one output file per .lz4 mv tmp-tml1 tmp-tml1-orig mv tmp-tml2 tmp-tml2-orig mv tmp-tml3 tmp-tml3-orig ../programs/lz4 -d -f -m tmp-tml*.lz4 cmp tmp-tml1 tmp-tml1-orig # must be identical cmp tmp-tml2 tmp-tml2-orig cmp tmp-tml3 tmp-tml3-orig # compress multiple files into stdout cat tmp-tml1.lz4 tmp-tml2.lz4 tmp-tml3.lz4 > tmp-tml-concat1 rm -f tmp-tml*.lz4 ../programs/lz4 -m tmp-tml1 tmp-tml2 tmp-tml3 -c > tmp-tml-concat2 test ! -f tmp-tml1.lz4 # must not create .lz4 artefact cmp tmp-tml-concat1 tmp-tml-concat2 # must be equivalent # decompress multiple files into stdout rm -f tmp-tml-concat1 tmp-tml-concat2 ../programs/lz4 -f -m tmp-tml1 tmp-tml2 tmp-tml3 # generate .lz4 to decompress cat tmp-tml1 tmp-tml2 tmp-tml3 > tmp-tml-concat1 # create concatenated reference rm -f tmp-tml1 tmp-tml2 tmp-tml3 ../programs/lz4 -d -m tmp-tml1.lz4 tmp-tml2.lz4 tmp-tml3.lz4 -c > tmp-tml-concat2 test ! -f tmp-tml1 # must not create file artefact cmp tmp-tml-concat1 tmp-tml-concat2 # must be equivalent # compress multiple files, one of which is absent (must fail) ! ../programs/lz4 -f -m tmp-tml-concat1 notHere tmp-tml-concat2 # must fail : notHere not present notHere: No such file or directory # test lz4-compressed file ../programs/lz4 -tm tmp-tml-concat1.lz4 ../programs/lz4 -tm tmp-tml-concat1.lz4 tmp-tml-concat2.lz4 # test multiple lz4 files, one of which is absent (must fail) ! ../programs/lz4 -tm tmp-tml-concat1.lz4 notHere.lz4 tmp-tml-concat2.lz4 notHere.lz4: No such file or directory \n ---- test multiple files (Legacy format) ---- # compress multiple files using legacy format: one .lz4 per source file ../programs/lz4 -f -l -m tmp-lml* test -f tmp-lml1.lz4 test -f tmp-lml2.lz4 test -f tmp-lml3.lz4 # decompress multiple files compressed using legacy format: one output file per .lz4 mv tmp-lml1 tmp-lml1-orig mv tmp-lml2 tmp-lml2-orig mv tmp-lml3 tmp-lml3-orig ../programs/lz4 -d -f -m tmp-lml*.lz4 ../programs/lz4 -l -d -f -m tmp-lml*.lz4 # -l mustn't impact -d option cmp tmp-lml1 tmp-lml1-orig # must be identical cmp tmp-lml2 tmp-lml2-orig cmp tmp-lml3 tmp-lml3-orig # compress multiple files into stdout using legacy format cat tmp-lml1.lz4 tmp-lml2.lz4 tmp-lml3.lz4 > tmp-lml-concat1 rm -f tmp-lml*.lz4 ../programs/lz4 -l -m tmp-lml1 tmp-lml2 tmp-lml3 -c > tmp-lml-concat2 test ! -f tmp-lml1.lz4 # must not create .lz4 artefact cmp tmp-lml-concat1 tmp-lml-concat2 # must be equivalent # # # decompress multiple files into stdout using legacy format rm -f tmp-lml-concat1 tmp-lml-concat2 ../programs/lz4 -l -f -m tmp-lml1 tmp-lml2 tmp-lml3 # generate .lz4 to decompress cat tmp-lml1 tmp-lml2 tmp-lml3 > tmp-lml-concat1 # create concatenated reference rm -f tmp-lml1 tmp-lml2 tmp-lml3 ../programs/lz4 -d -m tmp-lml1.lz4 tmp-lml2.lz4 tmp-lml3.lz4 -c > tmp-lml-concat2 ../programs/lz4 -d -l -m tmp-lml1.lz4 tmp-lml2.lz4 tmp-lml3.lz4 -c > tmp-lml-concat2 # -l mustn't impact option -d test ! -f tmp-lml1 # must not create file artefact cmp tmp-lml-concat1 tmp-lml-concat2 # must be equivalent # # # compress multiple files, one of which is absent (must fail) ! ../programs/lz4 -f -l -m tmp-lml-concat1 notHere-legacy tmp-lml-concat2 # must fail : notHere-legacy not present notHere-legacy: No such file or directory Error 20 : notHere-legacy : open file error \n ---- test frame concatenation ---- cat tmp-lfc-nonempty tmp-lfc-empty tmp-lfc-nonempty > tmp-lfc-src ../programs/lz4 -zq tmp-lfc-empty -c > tmp-lfc-empty.lz4 ../programs/lz4 -zq tmp-lfc-nonempty -c > tmp-lfc-nonempty.lz4 cat tmp-lfc-nonempty.lz4 tmp-lfc-empty.lz4 tmp-lfc-nonempty.lz4 > tmp-lfc-concat.lz4 ../programs/lz4 -d tmp-lfc-concat.lz4 -c > tmp-lfc-result cmp tmp-lfc-src tmp-lfc-result frame concatenation test completed \n ---- bench mode ---- ../programs/lz4 -bi0 |-Synthetic 50% : 10000000 -> /-Synthetic 50% : 10000000 -> 5859357 (1.707), 640.9 MB/s =-Synthetic 50% : 10000000 -> 5859357 (1.707), 640.9 MB/s ,4985.8 MB/s 1# ./datagen > tmp-ltm ../programs/lz4 -f tmp-ltm -c > tmp-ltm.lz4 ../programs/lz4 -bdi0 tmp-ltm.lz4 # test benchmark decode-only mode Benchmark Decompression of LZ4 Frame + Checksum when present |-tmp-ltm.lz4 : 37015 -> /-tmp-ltm.lz4 : 65536 -> 37015 (1.771), 0.0 MB/s ,1709.8 MB/s 1# ../programs/lz4 -bdi0 --no-crc tmp-ltm.lz4 # test benchmark decode-only mode Benchmark Decompression of LZ4 Frame _without_ checksum even when present |-tmp-ltm.lz4 : 37015 -> /-tmp-ltm.lz4 : 65536 -> 37015 (1.771), 0.0 MB/s ,2244.2 MB/s 1# \n ---- test mode ---- ! ./datagen | ../programs/lz4 -t Error 44 : Unrecognized header : file cannot be decoded ! ./datagen | ../programs/lz4 -tf Error 44 : Unrecognized header : file cannot be decoded \n ---- pass-through mode ---- ! ../programs/lz4 -f tmp-ltm2.lz4 > /dev/null Warning : using stdout as default output. Do not rely on this behavior: use explicit `-c` instead ! Error 44 : Unrecognized header : file cannot be decoded ! ./datagen | ../programs/lz4 -dc > /dev/null Error 44 : Unrecognized header : file cannot be decoded ! ./datagen | ../programs/lz4 -df > /dev/null Error 44 : Unrecognized header : file cannot be decoded ./datagen | ../programs/lz4 -dcf > /dev/null ../programs/lz4 -dcf tmp-ltm1 Hello World ! ../programs/lz4 -dcfm tmp-ltm1 tmp-ltm2 Hello World ! from underground... \n ---- non-existing source (must fail cleanly) ---- ! ../programs/lz4 file-does-not-exist Warning : using stdout as default output. Do not rely on this behavior: use explicit `-c` instead ! file-does-not-exist: No such file or directory ! ../programs/lz4 -f file-does-not-exist Warning : using stdout as default output. Do not rely on this behavior: use explicit `-c` instead ! file-does-not-exist: No such file or directory ! ../programs/lz4 -t file-does-not-exist file-does-not-exist: No such file or directory ! ../programs/lz4 -fm file1-dne file2-dne file1-dne: No such file or directory file2-dne: No such file or directory \n ---- test original size support ---- ./datagen -g15M > tmp-lzc ../programs/lz4 -v tmp-lzc -c | ../programs/lz4 -t *** LZ4 command line interface 64-bits v1.9.4, by Yann Collet *** Compressed 15728640 bytes into 9227754 bytes ==> 58.67% stdin : decoded 15728640 bytes ../programs/lz4 -v --content-size tmp-lzc -c | ../programs/lz4 -d > tmp-lzc-dup *** LZ4 command line interface 64-bits v1.9.4, by Yann Collet *** Compressed 15728640 bytes into 9227762 bytes ==> 58.67% diff tmp-lzc tmp-lzc-dup ../programs/lz4 -f tmp-lzc -c > tmp-lzc.lz4 # compressed with content size ../programs/lz4 --content-size tmp-lzc -c > tmp-lzc-wcz.lz4 ! diff tmp-lzc.lz4 tmp-lzc-wcz.lz4 # must differ, due to content size Binary files tmp-lzc.lz4 and tmp-lzc-wcz.lz4 differ ../programs/lz4 --content-size < tmp-lzc > tmp-lzc-wcz2.lz4 # can determine content size because stdin is just a file diff tmp-lzc-wcz.lz4 tmp-lzc-wcz2.lz4 # both must contain content size cat tmp-lzc | ../programs/lz4 > tmp-lzc-ncz.lz4 diff tmp-lzc.lz4 tmp-lzc-ncz.lz4 # both don't have content size cat tmp-lzc | ../programs/lz4 --content-size > tmp-lzc-ncz2.lz4 # can't determine content size diff tmp-lzc.lz4 tmp-lzc-ncz2.lz4 # both don't have content size \n ---- test lz4 compression/decompression with dictionary ---- ./datagen -g16KB > tmp-dict ./datagen -g32KB > tmp-dict-sample-32k < tmp-dict-sample-32k ../programs/lz4 -D tmp-dict | ../programs/lz4 -dD tmp-dict | diff - tmp-dict-sample-32k ./datagen -g128MB > tmp-dict-sample-128m < tmp-dict-sample-128m ../programs/lz4 -D tmp-dict | ../programs/lz4 -dD tmp-dict | diff - tmp-dict-sample-128m touch tmp-dict-sample-0 < tmp-dict-sample-0 ../programs/lz4 -D tmp-dict | ../programs/lz4 -dD tmp-dict | diff - tmp-dict-sample-0 < tmp-dict-sample-32k ../programs/lz4 -D tmp-dict-sample-0 | ../programs/lz4 -dD tmp-dict-sample-0 | diff - tmp-dict-sample-32k < tmp-dict-sample-0 ../programs/lz4 -D tmp-dict-sample-0 | ../programs/lz4 -dD tmp-dict-sample-0 | diff - tmp-dict-sample-0 \n ---- test lz4 dictionary loading ---- ./datagen -g128KB > tmp-dict-data-128KB set -e; \ for l in 0 1 4 128 32767 32768 32769 65535 65536 65537 98303 98304 98305 131071 131072 131073; do \ ./datagen -g$l > tmp-dict-$l; \ dd if=tmp-dict-$l of=tmp-dict-$l-tail bs=1 count=65536 skip=$((l > 65536 ? l - 65536 : 0)); \ < tmp-dict-$l ../programs/lz4 -D stdin tmp-dict-data-128KB -c | ../programs/lz4 -dD tmp-dict-$l-tail | diff - tmp-dict-data-128KB; \ < tmp-dict-$l-tail ../programs/lz4 -D stdin tmp-dict-data-128KB -c | ../programs/lz4 -dD tmp-dict-$l | diff - tmp-dict-data-128KB; \ done 0+0 records in 0+0 records out 0 bytes copied, 2.176e-05 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 2.996e-05 s, 33.4 kB/s 4+0 records in 4+0 records out 4 bytes copied, 3.316e-05 s, 121 kB/s 128+0 records in 128+0 records out 128 bytes copied, 0.00014548 s, 880 kB/s 32767+0 records in 32767+0 records out 32767 bytes (33 kB, 32 KiB) copied, 0.0291112 s, 1.1 MB/s 32768+0 records in 32768+0 records out 32768 bytes (33 kB, 32 KiB) copied, 0.0288394 s, 1.1 MB/s 32769+0 records in 32769+0 records out 32769 bytes (33 kB, 32 KiB) copied, 0.029201 s, 1.1 MB/s 65535+0 records in 65535+0 records out 65535 bytes (66 kB, 64 KiB) copied, 0.0569824 s, 1.2 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0567693 s, 1.2 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0575685 s, 1.1 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0582097 s, 1.1 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0581585 s, 1.1 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0578831 s, 1.1 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0572315 s, 1.1 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0575768 s, 1.1 MB/s 65536+0 records in 65536+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.0570245 s, 1.1 MB/s make[1]: Leaving directory '/builddir/build/BUILD/lz4-1.9.4/tests' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lz4-1.9.4-1.an23.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1l0sXS + umask 022 + cd /builddir/build/BUILD + cd lz4-1.9.4 + LICENSEDIR=/builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/licenses/lz4 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/licenses/lz4 + cp -pr programs/COPYING /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/licenses/lz4 + RPM_EC=0 ++ jobs -p + exit 0 Provides: api(lz4) = 1.9.4 lz4 = 1.9.4-1.an23 lz4(aarch-64) = 1.9.4-1.an23 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) rtld(GNU_HASH) Obsoletes: lz4 < 1.7.5-3 Processing files: lz4-doc-1.9.4-1.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TidHD2 + umask 022 + cd /builddir/build/BUILD + cd lz4-1.9.4 + DOCDIR=/builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-doc + cp -pr NEWS /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: lz4-doc = 1.9.4-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lz4-libs-1.9.4-1.an23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MDNyi8 + umask 022 + cd /builddir/build/BUILD + cd lz4-1.9.4 + DOCDIR=/builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-libs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-libs + cp -pr lib/LICENSE /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: abi(lz4-libs) = 1.9.4 liblz4.so.1()(64bit) lz4-libs = 1.9.4-1.an23 lz4-libs(aarch-64) = 1.9.4-1.an23 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) rtld(GNU_HASH) Obsoletes: lz4 < 1.7.5-3 Processing files: lz4-devel-1.9.4-1.an23.aarch64 Provides: lz4-devel = 1.9.4-1.an23 lz4-devel(aarch-64) = 1.9.4-1.an23 pkgconfig(liblz4) = 1.9.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config liblz4.so.1()(64bit) Processing files: lz4-static-1.9.4-1.an23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BlazRy + umask 022 + cd /builddir/build/BUILD + cd lz4-1.9.4 + DOCDIR=/builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-static + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-static + cp -pr lib/LICENSE /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64/usr/share/doc/lz4-static + RPM_EC=0 ++ jobs -p + exit 0 Provides: lz4-static = 1.9.4-1.an23 lz4-static(aarch-64) = 1.9.4-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lz4-debugsource-1.9.4-1.an23.aarch64 Provides: lz4-debugsource = 1.9.4-1.an23 lz4-debugsource(aarch-64) = 1.9.4-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lz4-debuginfo-1.9.4-1.an23.aarch64 Provides: debuginfo(build-id) = 67642bbefa8c3420009e0d8b323e91ab606f3cbc lz4-debuginfo = 1.9.4-1.an23 lz4-debuginfo(aarch-64) = 1.9.4-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lz4-debugsource(aarch-64) = 1.9.4-1.an23 Processing files: lz4-libs-debuginfo-1.9.4-1.an23.aarch64 Provides: debuginfo(build-id) = 8b87175f5f7fcf54ea5f232d3fdd993250d6ba5a liblz4.so.1.9.4-1.9.4-1.an23.aarch64.debug()(64bit) lz4-libs-debuginfo = 1.9.4-1.an23 lz4-libs-debuginfo(aarch-64) = 1.9.4-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lz4-debugsource(aarch-64) = 1.9.4-1.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64 Wrote: /builddir/build/RPMS/lz4-doc-1.9.4-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/lz4-devel-1.9.4-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/lz4-1.9.4-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/lz4-static-1.9.4-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/lz4-libs-1.9.4-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/lz4-debugsource-1.9.4-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/lz4-libs-debuginfo-1.9.4-1.an23.aarch64.rpm Wrote: /builddir/build/RPMS/lz4-debuginfo-1.9.4-1.an23.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.98BMm7 + umask 022 + cd /builddir/build/BUILD + cd lz4-1.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lz4-1.9.4-1.an23.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.dvb69C + umask 022 + cd /builddir/build/BUILD + rm -rf lz4-1.9.4 lz4-1.9.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0