Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/bzip2.spec'], chrootPath='/var/lib/mock/dist-el8-build-241-27/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=967gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w11f25gd:/etc/resolv.conf', '--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.w11f25gd:/etc/resolv.conf', '--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', 'b1293fb5dd854d878f1474d3a33e9d59', '-D', '/var/lib/mock/dist-el8-build-241-27/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w11f25gd:/etc/resolv.conf', '--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', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/bzip2-1.0.6-26.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/bzip2.spec'], chrootPath='/var/lib/mock/dist-el8-build-241-27/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=967gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w11f25gd:/etc/resolv.conf', '--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.w11f25gd:/etc/resolv.conf', '--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', 'a0bf09a4df264beea1a7a5fb4255a60f', '-D', '/var/lib/mock/dist-el8-build-241-27/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w11f25gd:/etc/resolv.conf', '--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', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oLSiCF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bzip2-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/bzip2-1.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bzip2-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (bzip2-1.0.4-saneso.patch): + echo 'Patch #0 (bzip2-1.0.4-saneso.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .saneso --fuzz=0 patching file Makefile-libbz2_so Patch #1 (bzip2-1.0.4-cflags.patch): + echo 'Patch #1 (bzip2-1.0.4-cflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cflags --fuzz=0 patching file Makefile-libbz2_so Patch #2 (bzip2-1.0.4-bzip2recover.patch): + echo 'Patch #2 (bzip2-1.0.4-bzip2recover.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bz2recover --fuzz=0 patching file bzip2recover.c Patch #3 (bzip2-ldflags.patch): + echo 'Patch #3 (bzip2-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldflags --fuzz=0 patching file Makefile patching file Makefile-libbz2_so Patch #4 (set-out-file-to-null.patch): + echo 'Patch #4 (set-out-file-to-null.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bzip2recover --fuzz=0 patching file bzip2recover.c + cp -a /builddir/build/SOURCES/bzip2.pc . + sed -i 's|^libdir=|libdir=/usr/lib64|' bzip2.pc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.o3mFzg + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + export O3= + O3= + make -f Makefile-libbz2_so CC=gcc AR=ar RANLIB=ranlib 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j36 all gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c blocksort.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c huffman.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c crctable.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c randtable.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c compress.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c decompress.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c bzlib.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -fpic -fPIC -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bzip2-shared bzip2.c libbz2.so.1.0.6 bzip2.c: In function 'testStream': bzip2.c:557:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable] Int32 bzerr, bzerr_dummy, ret, nread, streamNo, i; ^~~~~ bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:11: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libbz2.so.1.0 ln -s libbz2.so.1.0.6 libbz2.so.1.0 + rm -f blocksort.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o + make CC=gcc AR=ar RANLIB=ranlib 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j36 all gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c huffman.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c blocksort.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c crctable.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c randtable.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c compress.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c decompress.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c bzlib.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c bzip2.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -c bzip2recover.c bzip2.c: In function 'testStream': bzip2.c:557:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable] Int32 bzerr, bzerr_dummy, ret, nread, streamNo, i; ^~~~~ bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:11: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bzip2recover bzip2recover.o 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IfAjAt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64 + cd bzip2-1.0.6 + chmod 644 bzlib.h + mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/lib64/pkgconfig /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/include + cp -p bzlib.h /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/include + install -m 755 libbz2.so.1.0.6 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/lib64 + install -m 644 libbz2.a /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/lib64 + install -m 644 bzip2.pc /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/lib64/pkgconfig/bzip2.pc + install -m 755 bzip2-shared /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzip2 + install -m 755 bzip2recover bzgrep bzdiff bzmore /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/ + cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/ + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bunzip2 + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzcat + ln -s bzdiff /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzcmp + ln -s bzmore /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzless + ln -s bzgrep /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzegrep + ln -s bzgrep /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzfgrep + ln -s libbz2.so.1.0.6 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/lib64/libbz2.so.1 + ln -s libbz2.so.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/lib64/libbz2.so + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/bzip2recover.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/bunzip2.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/bzcat.1 + ln -s bzdiff.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/bzcmp.1 + ln -s bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/bzless.1 + ln -s bzgrep.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/bzegrep.1 + ln -s bzgrep.1 /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/man/man1/bzfgrep.1 + /usr/lib/rpm/find-debuginfo.sh -j36 --strict-build-id -m -i --build-id-seed 1.0.6-26.el8 --unique-debug-suffix -1.0.6-26.el8.aarch64 --unique-debug-src-base bzip2-1.0.6-26.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bzip2-1.0.6 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzip2 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/lib64/libbz2.so.1.0.6 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/bin/bzip2recover /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 444 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: bzip2-1.0.6-26.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.S8hxxg + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2 + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2 + cp -pr CHANGES /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2 + cp -pr README /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.42Va92 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2 + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2 + exit 0 Provides: bzip2 = 1.0.6-26.el8 bzip2(aarch-64) = 1.0.6-26.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: bzip2-devel-1.0.6-26.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.65m6SW + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2-devel + cp -pr manual.html /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2-devel + cp -pr manual.pdf /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/doc/bzip2-devel + exit 0 Provides: bzip2-devel = 1.0.6-26.el8 bzip2-devel(aarch-64) = 1.0.6-26.el8 pkgconfig(bzip2) = 1.0.6 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.6-26.el8.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.s7361S + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2-libs + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2-libs + exit 0 Provides: bzip2-libs = 1.0.6-26.el8 bzip2-libs(aarch-64) = 1.0.6-26.el8 libbz2.so.1()(64bit) 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) Processing files: bzip2-static-1.0.6-26.el8.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yI9ohO + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2-static + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2-static + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64/usr/share/licenses/bzip2-static + exit 0 Provides: bzip2-static = 1.0.6-26.el8 bzip2-static(aarch-64) = 1.0.6-26.el8 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.6-26.el8.aarch64 Provides: bzip2-debugsource = 1.0.6-26.el8 bzip2-debugsource(aarch-64) = 1.0.6-26.el8 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.6-26.el8.aarch64 Provides: bzip2-debuginfo = 1.0.6-26.el8 bzip2-debuginfo(aarch-64) = 1.0.6-26.el8 debuginfo(build-id) = 98ecc076932d8b2d244575ddfbd642d711031613 debuginfo(build-id) = d6cab6c51b31d13eb43ba3c9bfa29752acf7578a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bzip2-debugsource(aarch-64) = 1.0.6-26.el8 Processing files: bzip2-libs-debuginfo-1.0.6-26.el8.aarch64 Provides: bzip2-libs-debuginfo = 1.0.6-26.el8 bzip2-libs-debuginfo(aarch-64) = 1.0.6-26.el8 debuginfo(build-id) = 806a291fb1b90022108e4bc28dd4441f020d3052 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bzip2-debugsource(aarch-64) = 1.0.6-26.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64 Wrote: /builddir/build/RPMS/bzip2-1.0.6-26.el8.aarch64.rpm Wrote: /builddir/build/RPMS/bzip2-devel-1.0.6-26.el8.aarch64.rpm Wrote: /builddir/build/RPMS/bzip2-libs-1.0.6-26.el8.aarch64.rpm Wrote: /builddir/build/RPMS/bzip2-static-1.0.6-26.el8.aarch64.rpm Wrote: /builddir/build/RPMS/bzip2-debugsource-1.0.6-26.el8.aarch64.rpm Wrote: /builddir/build/RPMS/bzip2-debuginfo-1.0.6-26.el8.aarch64.rpm Wrote: /builddir/build/RPMS/bzip2-libs-debuginfo-1.0.6-26.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zKwC7R + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-26.el8.aarch64 + exit 0 Child return code was: 0