Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bzip2.spec'], chrootPath='/var/lib/mock/dist-an23-build-174574-59039/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bzip2.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1670112000 Wrote: /builddir/build/SRPMS/bzip2-1.0.8-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bzip2.spec'], chrootPath='/var/lib/mock/dist-an23-build-174574-59039/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bzip2.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1670112000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Sjs8XP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bzip2-1.0.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bzip2-1.0.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bzip2-1.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bzip2-saneso.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bzip2-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bzip2-ldflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/man_gzipdiff.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -a /builddir/build/SOURCES/bzip2.pc . + sed -i 's|^libdir=|libdir=/usr/lib64|' bzip2.pc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cb6VUU + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 bzip2-1.0.8 + /usr/bin/make -O -j64 V=1 VERBOSE=1 -f Makefile-libbz2_so CC=gcc AR=ar RANLIB=ranlib '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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC' '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 ' all 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c crctable.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c randtable.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c huffman.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c blocksort.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c bzlib.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c decompress.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c compress.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -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 -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.8 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -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 -o bzip2-shared bzip2.c libbz2.so.1.0.8 rm -f libbz2.so.1.0 ln -s libbz2.so.1.0.8 libbz2.so.1.0 bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:11: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 1073 | (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + rm -f blocksort.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o + /usr/bin/make -O -j64 V=1 VERBOSE=1 CC=gcc AR=ar RANLIB=ranlib '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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64' '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 ' all 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c randtable.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c crctable.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c bzip2recover.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c huffman.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -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 -o bzip2recover bzip2recover.o If compilation produces errors, or a large number of warnings, please read README.COMPILATION.PROBLEMS -- you might be able to adjust the flags in this Makefile to improve matters. Also in README.COMPILATION.PROBLEMS are some hints that may help if your build produces an executable which is unable to correctly handle so-called 'large files' -- files of size 2GB or more. 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c blocksort.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c bzip2.c bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:11: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 1073 | (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c bzlib.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c decompress.c 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -c compress.c rm -f libbz2.a ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ranlib libbz2.a 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -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 -o bzip2 bzip2.o -L. -lbz2 Doing 6 tests (3 compress, 3 uncompress) ... If there's a problem, things might stop at this point. ./bzip2 -1 < sample1.ref > sample1.rb2 ./bzip2 -2 < sample2.ref > sample2.rb2 ./bzip2 -3 < sample3.ref > sample3.rb2 ./bzip2 -d < sample1.bz2 > sample1.tst ./bzip2 -d < sample2.bz2 > sample2.tst ./bzip2 -ds < sample3.bz2 > sample3.tst cmp sample1.bz2 sample1.rb2 cmp sample2.bz2 sample2.rb2 cmp sample3.bz2 sample3.rb2 cmp sample1.tst sample1.ref cmp sample2.tst sample2.ref cmp sample3.tst sample3.ref If you got this far and the 'cmp's didn't complain, it looks like you're in business. To install in /usr/local/bin, /usr/local/lib, /usr/local/man and /usr/local/include, type make install To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type make install PREFIX=/xxx/yyy If you are (justifiably) paranoid and want to see what 'make install' is going to do, you can first do make -n install or make -n install PREFIX=/xxx/yyy respectively. The -n instructs make to show the commands it would execute, but not actually execute them. Instructions for use are in the preformatted manual page, in the file bzip2.txt. For more detailed documentation, read the full manual. It is available in Postscript form (manual.ps), PDF form (manual.pdf), and HTML form (manual.html). You can also do "bzip2 --help" to see some helpful information. "bzip2 -L" displays the software license. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n0ZecM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 bzip2-1.0.8 + chmod 644 bzlib.h + mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib64/pkgconfig /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/include + cp -p bzlib.h /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/include + install -m 755 libbz2.so.1.0.8 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib64 + install -m 644 libbz2.a /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib64 + install -m 644 bzip2.pc /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib64/pkgconfig/bzip2.pc + install -m 755 bzip2-shared /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzip2 + install -m 755 bzip2recover bzgrep bzdiff bzmore /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/ + cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/ + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bunzip2 + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzcat + ln -s bzdiff /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzcmp + ln -s bzmore /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzless + ln -s bzgrep /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzegrep + ln -s bzgrep /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzfgrep + ln -s libbz2.so.1.0.8 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib64/libbz2.so.1 + ln -s libbz2.so.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib64/libbz2.so + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/bzip2recover.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/bunzip2.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/bzcat.1 + ln -s bzdiff.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/bzcmp.1 + ln -s bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/bzless.1 + ln -s bzgrep.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/bzegrep.1 + ln -s bzgrep.1 /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/man/man1/bzfgrep.1 + /usr/lib/rpm/anolis/generate-compatibility-deps bzip2 ~/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib/compatibility/bzip2 ~/build/BUILD/bzip2-1.0.8 ~/build/BUILD/bzip2-1.0.8 ~/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib/compatibility/bzip2 ~/build/BUILD/bzip2-1.0.8 bzip2, a block-sorting file compressor. Version 1.0.8, 13-Jul-2019. usage: bzip2 [flags and input files in any order] -h --help print this message -d --decompress force decompression -z --compress force compression -k --keep keep (don't delete) input files -f --force overwrite existing output files -t --test test compressed file integrity -c --stdout output to standard out -q --quiet suppress noncritical error messages -v --verbose be verbose (a 2nd -v gives more) -L --license display software version & license -V --version display software version & license -s --small use less memory (at most 2500k) -1 .. -9 set block size to 100k .. 900k --fast alias for -1 --best alias for -9 If invoked as `bzip2', default action is to compress. as `bunzip2', default action is to decompress. as `bzcat', default action is to decompress to stdout. If no file names are given, bzip2 compresses or decompresses from standard input to standard output. You can combine short flags, so `-v -4' means the same as -v4 or -4v, &c. bzip2, a block-sorting file compressor. Version 1.0.8, 13-Jul-2019. usage: bzip2 [flags and input files in any order] -h --help print this message -d --decompress force decompression -z --compress force compression -k --keep keep (don't delete) input files -f --force overwrite existing output files -t --test test compressed file integrity -c --stdout output to standard out -q --quiet suppress noncritical error messages -v --verbose be verbose (a 2nd -v gives more) -L --license display software version & license -V --version display software version & license -s --small use less memory (at most 2500k) -1 .. -9 set block size to 100k .. 900k --fast alias for -1 --best alias for -9 If invoked as `bzip2', default action is to compress. as `bunzip2', default action is to decompress. as `bzcat', default action is to decompress to stdout. If no file names are given, bzip2 compresses or decompresses from standard input to standard output. You can combine short flags, so `-v -4' means the same as -v4 or -4v, &c. ~/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib/compatibility/bzip2 ~/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib/compatibility/bzip2 ~/build/BUILD/bzip2-1.0.8 ~/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib/compatibility/bzip2 ~/build/BUILD/bzip2-1.0.8 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 1.0.8-1.an23 --unique-debug-suffix -1.0.8-1.an23.x86_64 --unique-debug-src-base bzip2-1.0.8-1.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bzip2-1.0.8 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzip2 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/bin/bzip2recover extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/lib64/libbz2.so.1.0.8 Support for debuginfod is not compiled into GDB.Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. original debug info size: 316kB, size after compression: 304kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 444 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/brp-mangle-shebangs mangling shebang in /usr/bin/bzgrep from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/bzdiff from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/bzmore from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/relink_symlinks + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: bzip2-1.0.8-1.an23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dRD3Vm + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.8 + LICENSEDIR=/builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2 + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: api(bzip2) = 1.0.8 bzip2 = 1.0.8-1.an23 bzip2(x86-64) = 1.0.8-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: bzip2-doc-1.0.8-1.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.l2xwYC + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.8 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-doc + cp -pr CHANGES /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-doc + cp -pr README /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: bzip2-doc = 1.0.8-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bzip2-devel-1.0.8-1.an23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.55R3ET + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.8 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-devel + cp -pr manual.html /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-devel + cp -pr manual.pdf /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/doc/bzip2-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: bzip2-devel = 1.0.8-1.an23 bzip2-devel(x86-64) = 1.0.8-1.an23 pkgconfig(bzip2) = 1.0.8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libbz2.so.1()(64bit) Processing files: bzip2-libs-1.0.8-1.an23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Jx6l9R + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.8 + LICENSEDIR=/builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2-libs + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: abi(bzip2-libs) = 1.0.8 bzip2-libs = 1.0.8-1.an23 bzip2-libs(x86-64) = 1.0.8-1.an23 libbz2.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: bzip2-static-1.0.8-1.an23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ypBbR3 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.8 + LICENSEDIR=/builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2-static + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2-static + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64/usr/share/licenses/bzip2-static + RPM_EC=0 ++ jobs -p + exit 0 Provides: bzip2-static = 1.0.8-1.an23 bzip2-static(x86-64) = 1.0.8-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bzip2-debugsource-1.0.8-1.an23.x86_64 Provides: bzip2-debugsource = 1.0.8-1.an23 bzip2-debugsource(x86-64) = 1.0.8-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bzip2-debuginfo-1.0.8-1.an23.x86_64 Provides: bzip2-debuginfo = 1.0.8-1.an23 bzip2-debuginfo(x86-64) = 1.0.8-1.an23 debuginfo(build-id) = a641218a28d20168a490588f227e0ede84de6aa0 debuginfo(build-id) = f041a85998e683005c8596f865f5750892b57ce2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bzip2-debugsource(x86-64) = 1.0.8-1.an23 Processing files: bzip2-libs-debuginfo-1.0.8-1.an23.x86_64 Provides: bzip2-libs-debuginfo = 1.0.8-1.an23 bzip2-libs-debuginfo(x86-64) = 1.0.8-1.an23 debuginfo(build-id) = c3f8c9609435a5dc006033f1510e304395bf7a15 libbz2.so.1.0.8-1.0.8-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bzip2-debugsource(x86-64) = 1.0.8-1.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64 Wrote: /builddir/build/RPMS/bzip2-doc-1.0.8-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/bzip2-1.0.8-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-static-1.0.8-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-libs-debuginfo-1.0.8-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-debuginfo-1.0.8-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-libs-1.0.8-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-debugsource-1.0.8-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-devel-1.0.8-1.an23.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h9K1g5 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bzip2-1.0.8-1.an23.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.FykeEZ + umask 022 + cd /builddir/build/BUILD + rm -rf bzip2-1.0.8 bzip2-1.0.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0