Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ncompress.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-287845-27965/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kc_rl8jv:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kc_rl8jv:/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', 'a17214378d4842d08567e9ba4db4f1bb', '-D', '/home/lib/mock/dist-ocs23-base-build-287845-27965/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kc_rl8jv:/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ncompress.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/ncompress-5.0-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ncompress.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-287845-27965/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kc_rl8jv:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kc_rl8jv:/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', 'b51bc91aac0740059ccca32606dd4b5d', '-D', '/home/lib/mock/dist-ocs23-base-build-287845-27965/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kc_rl8jv:/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ncompress.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RtXdnl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ncompress-5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ncompress-5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ncompress-5.0-make.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ncompress-5.0-lfs.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ncompress-5.0-2GB.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ncompress-5.0-endians.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ncompress-5.0-memmove.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AqDYdf + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 ncompress-5.0 + make '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' sed \ -e 's:options= :options= -DUTIME_H -DLSTAT :' \ Makefile.def > Makefile make -f Makefile compress make[1]: Entering directory '/builddir/build/BUILD/ncompress-5.0' gcc -o compress -DUTIME_H -DLSTAT -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=20 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNOFUNCDEF=1 -DOBUFSIZ=1024 -DUTIME_H -DSYSDIR=1 compress.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 make[1]: Leaving directory '/builddir/build/BUILD/ncompress-5.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i0ZLmo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64 + cd ncompress-5.0 + install -p -Dm755 compress /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64//usr/bin/compress + ln -sf compress /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64//usr/bin/uncompress + install -p -Dm644 compress.1 /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64/usr/share/man/man1/compress.1 + ln -sf compress.1 /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64/usr/share/man/man1/uncompress.1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.0-3.ocs23 --unique-debug-suffix -5.0-3.ocs23.loongarch64 --unique-debug-src-base ncompress-5.0-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/ncompress-5.0 extracting debug info from /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64/usr/bin/compress 88 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ErHkfC + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 ncompress-5.0 + ./tests/runtests.sh using compress: /builddir/build/BUILD/ncompress-5.0/compress Setting up test env + : '### Check basic CLI exit status' + compress -V + /builddir/build/BUILD/ncompress-5.0/compress -v -V Compress version: (N)compress 5.0 Compile options: FAST, LSTAT, IBUFSIZ=8192, OBUFSIZ=1024, BITS=16 Author version 5.x (Modernization): Author version 4.2.4.x (Maintenance): Mike Frysinger (vapier@gmail.com) Author version 4.2 (Speed improvement & source cleanup): Peter Jannesen (peter@ncs.nl) Author version 4.1 (Added recursive directory compress): Dave Mack (csu@alembic.acs.com) Authors version 4.0 (World release in 1985): Spencer W. Thomas, Jim McKie, Steve Davies, Ken Turkowski, James A. Woods, Joe Orost + compress -h + /builddir/build/BUILD/ncompress-5.0/compress -v -h ++ compress -h ++ /builddir/build/BUILD/ncompress-5.0/compress -v -h + out='Usage: compress [-dfhvcVr] [-b maxbits] [--] [path ...] -- Halt option processing and treat all remaining args as paths. -d If given, decompression is done instead. -c Write output on stdout, don'\''t remove original. -k Keep input files (do not automatically remove). -b Parameter limits the max number of bits/code. -f Forces output file to be generated, even if one already. exists, and even if no space is saved by compressing. If -f is not used, the user will be prompted if stdin is. a tty, otherwise, the output file will not be overwritten. -h This help output. -v Write compression statistics. -V Output version and compile options. -r Recursive. If a path is a directory, compress everything in it.' + '[' -n 'Usage: compress [-dfhvcVr] [-b maxbits] [--] [path ...] -- Halt option processing and treat all remaining args as paths. -d If given, decompression is done instead. -c Write output on stdout, don'\''t remove original. -k Keep input files (do not automatically remove). -b Parameter limits the max number of bits/code. -f Forces output file to be generated, even if one already. exists, and even if no space is saved by compressing. If -f is not used, the user will be prompted if stdin is. a tty, otherwise, the output file will not be overwritten. -h This help output. -v Write compression statistics. -V Output version and compile options. -r Recursive. If a path is a directory, compress everything in it.' ']' + set +x + compress -X + : '### Check unknown flags spit to stderr only' ++ compress -X + out= + : + '[' -z '' ']' ++ compress -X + out='++ /builddir/build/BUILD/ncompress-5.0/compress -v -X Unknown flag: '\''X'\''; Usage: compress [-dfhvcVr] [-b maxbits] [--] [path ...] -- Halt option processing and treat all remaining args as paths. -d If given, decompression is done instead. -c Write output on stdout, don'\''t remove original. -k Keep input files (do not automatically remove). -b Parameter limits the max number of bits/code. -f Forces output file to be generated, even if one already. exists, and even if no space is saved by compressing. If -f is not used, the user will be prompted if stdin is. a tty, otherwise, the output file will not be overwritten. -h This help output. -v Write compression statistics. -V Output version and compile options. -r Recursive. If a path is a directory, compress everything in it.' + : + '[' -n '++ /builddir/build/BUILD/ncompress-5.0/compress -v -X Unknown flag: '\''X'\''; Usage: compress [-dfhvcVr] [-b maxbits] [--] [path ...] -- Halt option processing and treat all remaining args as paths. -d If given, decompression is done instead. -c Write output on stdout, don'\''t remove original. -k Keep input files (do not automatically remove). -b Parameter limits the max number of bits/code. -f Forces output file to be generated, even if one already. exists, and even if no space is saved by compressing. If -f is not used, the user will be prompted if stdin is. a tty, otherwise, the output file will not be overwritten. -h This help output. -v Write compression statistics. -V Output version and compile options. -r Recursive. If a path is a directory, compress everything in it.' ']' + : '### Check -- handling' + cp input ./-X + compress -- -X + /builddir/build/BUILD/ncompress-5.0/compress -v -- -X -X: -- replaced with -X.Z Compression: 41.06% + '[' -e ./-X.Z ']' + uncompress -- -X + /builddir/build/BUILD/ncompress-5.0/compress -v -d -- -X -X.Z: -- replaced with -X + '[' -e ./-X ']' + rm ./-X + : '### Check compression' + compress input + /builddir/build/BUILD/ncompress-5.0/compress -v input input: -- replaced with input.Z Compression: 41.06% + '[' '!' -e input ']' + '[' -e input.Z ']' + : '### Check compressing .Z file fails' + compress input.Z + /builddir/build/BUILD/ncompress-5.0/compress -v input.Z input.Z: already has .Z suffix -- no change + : '### Check decompression w/explicit .Z' + uncompress input.Z + /builddir/build/BUILD/ncompress-5.0/compress -v -d input.Z input.Z: -- replaced with input + '[' -e input ']' + '[' '!' -e input.Z ']' + : '### Check decompression w/implicit .Z' + compress input + /builddir/build/BUILD/ncompress-5.0/compress -v input input: -- replaced with input.Z Compression: 41.06% + uncompress input.Z + /builddir/build/BUILD/ncompress-5.0/compress -v -d input.Z input.Z: -- replaced with input + '[' -e input ']' + '[' '!' -e input.Z ']' + : '### Check uncompressing non-.Z file fails' + uncompress input + /builddir/build/BUILD/ncompress-5.0/compress -v -d input input - no .Z suffix + : '### Check empty directory compression' + compress emptydir + /builddir/build/BUILD/ncompress-5.0/compress -v emptydir emptydir is a directory -- ignored + compress -r emptydir + /builddir/build/BUILD/ncompress-5.0/compress -v -r emptydir no files processed after recursive search + : '### Check directory compression' + compress -r subdir + /builddir/build/BUILD/ncompress-5.0/compress -v -r subdir subdir/input: -- replaced with subdir/input.Z Compression: 41.06% subdir/i: -- replaced with subdir/i.Z Compression: 41.06% + : '### Check directory compression resume' + uncompress subdir/i + /builddir/build/BUILD/ncompress-5.0/compress -v -d subdir/i subdir/i.Z: -- replaced with subdir/i + compress -r subdir + /builddir/build/BUILD/ncompress-5.0/compress -v -r subdir subdir/i: -- replaced with subdir/i.Z Compression: 41.06% + : '### Check empty directory decompression' + uncompress -r emptydir + /builddir/build/BUILD/ncompress-5.0/compress -v -d -r emptydir no files processed after recursive search + : '### Check directory decompression' + uncompress -r subdir + /builddir/build/BUILD/ncompress-5.0/compress -v -d -r subdir subdir/input.Z: -- replaced with subdir/input subdir/i.Z: -- replaced with subdir/i + : '### Check uncompressed directory decompression' + uncompress -r subdir + /builddir/build/BUILD/ncompress-5.0/compress -v -d -r subdir no files processed after recursive search + : '### Check directory decompression resume' + compress subdir/i + /builddir/build/BUILD/ncompress-5.0/compress -v subdir/i subdir/i: -- replaced with subdir/i.Z Compression: 41.06% + uncompress -r subdir + /builddir/build/BUILD/ncompress-5.0/compress -v -d -r subdir subdir/i.Z: -- replaced with subdir/i + : '### Check various error edge cases' + compress missing + /builddir/build/BUILD/ncompress-5.0/compress -v missing missing: No such file or directory + uncompress missing + /builddir/build/BUILD/ncompress-5.0/compress -v -d missing missing.Z: No such file or directory + : '### Check forced compression' + compress emptyfile + /builddir/build/BUILD/ncompress-5.0/compress -v emptyfile emptyfile: No compression -- emptyfile unchanged + compress + /builddir/build/BUILD/ncompress-5.0/compress -v Compression: 100.00% + compress -f emptyfile + /builddir/build/BUILD/ncompress-5.0/compress -v -f emptyfile emptyfile: -- replaced with emptyfile.Z Compression: 100.00% + uncompress emptyfile + /builddir/build/BUILD/ncompress-5.0/compress -v -d emptyfile emptyfile.Z: -- replaced with emptyfile + : '### Check stdin/stdout handling' + compress -c input + /builddir/build/BUILD/ncompress-5.0/compress -v -c input + '[' -e input ']' + compress + /builddir/build/BUILD/ncompress-5.0/compress -v Compression: 41.06% + uncompress -c input.Z + /builddir/build/BUILD/ncompress-5.0/compress -v -d -c input.Z + cmp input input.new + uncompress + /builddir/build/BUILD/ncompress-5.0/compress -v -d + cmp input input.new + : '### Check existing files' + compress input + /builddir/build/BUILD/ncompress-5.0/compress -v input input.Z already exists. input.Z not overwritten + compress -f input + /builddir/build/BUILD/ncompress-5.0/compress -v -f input input: -- replaced with input.Z Compression: 41.06% + mv input.new input + uncompress input.Z + /builddir/build/BUILD/ncompress-5.0/compress -v -d input.Z input already exists. input not overwritten + uncompress -f input.Z + /builddir/build/BUILD/ncompress-5.0/compress -v -d -f input.Z input.Z: -- replaced with input + : '### Check empty file names' + compress '' + /builddir/build/BUILD/ncompress-5.0/compress -v '' No such file or directory + uncompress '' + /builddir/build/BUILD/ncompress-5.0/compress -v -d '' .Z: No such file or directory + : '### Check .Z dir edge case' + mkdir .Z + uncompress '' + /builddir/build/BUILD/ncompress-5.0/compress -v -d '' .Z: Not a regular file. + rmdir .Z + : '### Check short filenames' + compress i + /builddir/build/BUILD/ncompress-5.0/compress -v i i: -- replaced with i.Z Compression: 41.06% + uncompress i + /builddir/build/BUILD/ncompress-5.0/compress -v -d i i.Z: -- replaced with i + compress i + /builddir/build/BUILD/ncompress-5.0/compress -v i i: -- replaced with i.Z Compression: 41.06% + uncompress i.Z + /builddir/build/BUILD/ncompress-5.0/compress -v -d i.Z i.Z: -- replaced with i + : '### Check keep option' + compress -k i + /builddir/build/BUILD/ncompress-5.0/compress -v -k i i: -- replaced with i.Z Compression: 41.06% + '[' -e i -a -e i.Z ']' + rm i + uncompress -k i + /builddir/build/BUILD/ncompress-5.0/compress -v -d -k i i.Z: -- replaced with i + '[' -e i -a -e i.Z ']' + rm i.Z + : '### All passed!' + cleanup 0 + local ret=0 + set +e + '[' 0 -ne 0 ']' + rm -rf /tmp/tmp.SWQCAMQXTg + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ncompress-5.0-3.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dCA4c3 + umask 022 + cd /builddir/build/BUILD + cd ncompress-5.0 + DOCDIR=/builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64/usr/share/doc/ncompress + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64/usr/share/doc/ncompress + cp -pr LZW.INFO /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64/usr/share/doc/ncompress + cp -pr README.md /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64/usr/share/doc/ncompress + RPM_EC=0 ++ jobs -p + exit 0 Provides: ncompress = 5.0-3.ocs23 ncompress(loongarch-64) = 5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: ncompress-debugsource-5.0-3.ocs23.loongarch64 Provides: ncompress-debugsource = 5.0-3.ocs23 ncompress-debugsource(loongarch-64) = 5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ncompress-debuginfo-5.0-3.ocs23.loongarch64 Provides: debuginfo(build-id) = 9316ae1b229b6f46a0c61d348403985e9206c7dd ncompress-debuginfo = 5.0-3.ocs23 ncompress-debuginfo(loongarch-64) = 5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ncompress-debugsource(loongarch-64) = 5.0-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ncompress-5.0-3.ocs23.loongarch64 Wrote: /builddir/build/RPMS/ncompress-5.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ncompress-debugsource-5.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ncompress-debuginfo-5.0-3.ocs23.loongarch64.rpm Child return code was: 0