Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ncompress.spec'], chrootPath='/var/lib/mock/f40-build-793050-138688/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/ncompress-5.0-6.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ncompress.spec'], chrootPath='/var/lib/mock/f40-build-793050-138688/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sumfKJ + 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 + rm -rf /builddir/build/BUILD/ncompress-5.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ncompress-5.0-SPECPARTS + /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.7WpRfg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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.fEwG21 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + mkdir -p /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64//usr/bin + mkdir -p /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64//usr/share/man/man1 + install -p -m755 compress /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64//usr/bin + ln -sf compress /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64//usr/bin/uncompress + install -p -m644 compress.1 /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64/usr/share/man/man1 + ln -sf compress.1 /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64/usr/share/man/man1/uncompress.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 5.0-6.fc40 --unique-debug-suffix -5.0-6.fc40.riscv64 --unique-debug-src-base ncompress-5.0-6.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ncompress-5.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ncompress-5.0-6.fc40.riscv64 88 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DMk7yd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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/i.Z: -- replaced with subdir/i subdir/input.Z: -- replaced with subdir/input + : '### 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.uiY7UTs3hR + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ncompress-5.0-6.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ibVy3l + umask 022 + cd /builddir/build/BUILD + cd ncompress-5.0 + DOCDIR=/builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64/usr/share/doc/ncompress + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64/usr/share/doc/ncompress + cp -pr /builddir/build/BUILD/ncompress-5.0/LZW.INFO /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64/usr/share/doc/ncompress + cp -pr /builddir/build/BUILD/ncompress-5.0/README.md /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64/usr/share/doc/ncompress + RPM_EC=0 ++ jobs -p + exit 0 Provides: ncompress = 5.0-6.fc40 ncompress(riscv-64) = 5.0-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: ncompress-debugsource-5.0-6.fc40.riscv64 Provides: ncompress-debugsource = 5.0-6.fc40 ncompress-debugsource(riscv-64) = 5.0-6.fc40 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-6.fc40.riscv64 Provides: debuginfo(build-id) = 5264b365d09a2c88538fe8b68bb84a81a152156d ncompress-debuginfo = 5.0-6.fc40 ncompress-debuginfo(riscv-64) = 5.0-6.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ncompress-debugsource(riscv-64) = 5.0-6.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64 Wrote: /builddir/build/RPMS/ncompress-5.0-6.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ncompress-debugsource-5.0-6.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ncompress-debuginfo-5.0-6.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JP093C + umask 022 + cd /builddir/build/BUILD + cd ncompress-5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ncompress-5.0-6.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.gfTtHr + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/ncompress-5.0-SPECPARTS + rm -rf ncompress-5.0 ncompress-5.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0