2021-08-26 11:16:53 exec_hook package_begin chapter08 806-bzip2 START: 2021-08-26 11:16:53 # Begin /home/lfs/build/x86_64/sources/config.inc # Environment for chapter08/806-bzip2 # Make flags export MAKEFLAGS=-j4 # C/C++ flags export CFLAGS="-mtune=generic " export CXXFLAGS="-mtune=generic " # Log output for tests TEST_LOG=${ROOT}sources/806-bzip2-tests.tmp LFS_CHAPTER=chapter08 LFS_SCRIPT=806-bzip2 # Targets for multilib LFS_TGT=x86_64-lfs-linux-gnu LFS_TGT32=i686-lfs-linux-gnu LFS_TGTX32=x86_64-lfs-linux-gnux32 echo "Environment" set echo "File systems" mount || true echo "logname" logname || true # End /home/lfs/build/x86_64/sources/config.inc Environment BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=([0]="1" [1]="0") BASH_ARGV=([0]="/sources/config.inc") BASH_CMDS=() BASH_LINENO=([0]="15" [1]="0") BASH_SOURCE=([0]="/sources/config.inc" [1]="/sources/lfs-commands/chapter08/806-bzip2") BASH_VERSINFO=([0]="5" [1]="1" [2]="8" [3]="1" [4]="release" [5]="x86_64-lfs-linux-gnu") BASH_VERSION='5.1.8(1)-release' CFLAGS='-mtune=generic ' CXXFLAGS='-mtune=generic ' DIRSTACK=() EUID=0 GROUPS=() HOME=/root HOSTNAME=lfs-x86_64 HOSTTYPE=x86_64 IFS=$' \t\n' LFS_CHAPTER=chapter08 LFS_SCRIPT=806-bzip2 LFS_TGT=x86_64-lfs-linux-gnu LFS_TGT32=i686-lfs-linux-gnu LFS_TGTX32=x86_64-lfs-linux-gnux32 MACHTYPE=x86_64-lfs-linux-gnu MAKEFLAGS=-j4 OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/bin:/usr/bin:/sbin:/usr/sbin PIPESTATUS=([0]="0") PPID=31064 PREV_SEC=0 PS4='+ ' PWD=/ ROOT=/ SCRIPT_ROOT=/dev/null SECONDS=0 SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:interactive-comments SHLVL=1 TERM=xterm-256color TEST_LOG=/sources/806-bzip2-tests.tmp UID=0 _=Environment File systems /dev/sdb1 on / type ext4 (rw,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=4072068k,nr_inodes=1018017,mode=755) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) tmpfs on /run type tmpfs (rw,relatime) logname root KB: 1443680 / /sources/autolfs_package_patch PKG_DEST=/sources/806-bzip2 patching file Makefile gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c blocksort.c gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c huffman.c gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c crctable.c gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c randtable.c gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c compress.c gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c decompress.c gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzlib.c blocksort.c: In function 'mainSort': blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:514:18: note: called from here 514 | while ( mainGtU ( | ^~~~~~~~~ 515 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:528:18: note: called from here 528 | while ( mainGtU ( | ^~~~~~~~~ 529 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 530 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:542:18: note: called from here 542 | while ( mainGtU ( | ^~~~~~~~~ 543 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | ) ) { | ~ gcc -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -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 rm -f *.o libbz2.a bzip2 bzip2recover \ sample1.rb2 sample2.rb2 sample3.rb2 \ sample1.tst sample2.tst sample3.tst gcc -Wall -Winline -O2 -g -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 -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c blocksort.c gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c crctable.c gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c randtable.c gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c compress.c gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c decompress.c gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzlib.c blocksort.c: In function 'mainSort': blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:514:18: note: called from here 514 | while ( mainGtU ( | ^~~~~~~~~ 515 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:528:18: note: called from here 528 | while ( mainGtU ( | ^~~~~~~~~ 529 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 530 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:542:18: note: called from here 542 | while ( mainGtU ( | ^~~~~~~~~ 543 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | ) ) { | ~ gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2.c gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2recover.c gcc -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -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 -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -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. if ( test ! -d /usr/bin ) ; then mkdir -p /usr/bin ; fi if ( test ! -d /usr/lib ) ; then mkdir -p /usr/lib ; fi if ( test ! -d /usr/share/man ) ; then mkdir -p /usr/share/man ; fi if ( test ! -d /usr/share/man/man1 ) ; then mkdir -p /usr/share/man/man1 ; fi if ( test ! -d /usr/share/doc/bzip2-1.0.8 ) ; then mkdir -p /usr/share/doc/bzip2-1.0.8; fi if ( test ! -d /usr/include ) ; then mkdir -p /usr/include ; fi cp -f bzip2 /usr/bin/bzip2 cp -f bzip2 /usr/bin/bunzip2 cp -f bzip2 /usr/bin/bzcat cp -f bzip2recover /usr/bin/bzip2recover chmod a+x /usr/bin/bzip2 chmod a+x /usr/bin/bunzip2 chmod a+x /usr/bin/bzcat chmod a+x /usr/bin/bzip2recover cp -f bzip2.1 /usr/share/man/man1 chmod a+r /usr/share/man/man1/bzip2.1 cp -f bzlib.h /usr/include chmod a+r /usr/include/bzlib.h cp -f libbz2.a /usr/lib chmod a+r /usr/lib/libbz2.a cp -f bzgrep /usr/bin/bzgrep ln -s -f bzgrep /usr/bin/bzegrep ln -s -f bzgrep /usr/bin/bzfgrep chmod a+x /usr/bin/bzgrep cp -f bzmore /usr/bin/bzmore ln -s -f bzmore /usr/bin/bzless chmod a+x /usr/bin/bzmore cp -f bzdiff /usr/bin/bzdiff ln -s -f bzdiff /usr/bin/bzcmp chmod a+x /usr/bin/bzdiff cp -f bzgrep.1 bzmore.1 bzdiff.1 /usr/share/man/man1 chmod a+r /usr/share/man/man1/bzgrep.1 chmod a+r /usr/share/man/man1/bzmore.1 chmod a+r /usr/share/man/man1/bzdiff.1 echo ".so man1/bzgrep.1" > /usr/share/man/man1/bzegrep.1 echo ".so man1/bzgrep.1" > /usr/share/man/man1/bzfgrep.1 echo ".so man1/bzmore.1" > /usr/share/man/man1/bzless.1 echo ".so man1/bzdiff.1" > /usr/share/man/man1/bzcmp.1 cp -f manual.html /usr/share/doc/bzip2-1.0.8 cp -f manual.pdf /usr/share/doc/bzip2-1.0.8 cp -f manual.ps /usr/share/doc/bzip2-1.0.8 cp -f bzip2.txt /usr/share/doc/bzip2-1.0.8 chmod a+r /usr/share/doc/bzip2-1.0.8/manual.html chmod a+r /usr/share/doc/bzip2-1.0.8/manual.pdf chmod a+r /usr/share/doc/bzip2-1.0.8/manual.ps chmod a+r /usr/share/doc/bzip2-1.0.8/bzip2.txt 'libbz2.so.1.0' -> '/usr/lib/libbz2.so.1.0' 'libbz2.so.1.0.8' -> '/usr/lib/libbz2.so.1.0.8' '/usr/lib/libbz2.so' -> 'libbz2.so.1.0.8' 'bzip2-shared' -> '/usr/bin/bzip2' '/usr/bin/bzcat' -> 'bzip2' '/usr/bin/bunzip2' -> 'bzip2' removed '/usr/lib/libbz2.a' rm -f *.o libbz2.a bzip2 bzip2recover \ sample1.rb2 sample2.rb2 sample3.rb2 \ sample1.tst sample2.tst sample3.tst gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c blocksort.c gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c huffman.c gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c crctable.c gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c randtable.c gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c compress.c gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c decompress.c gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzlib.c blocksort.c: In function 'mainSort': blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:514:18: note: called from here 514 | while ( mainGtU ( | ^~~~~~~~~ 515 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:528:18: note: called from here 528 | while ( mainGtU ( | ^~~~~~~~~ 529 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 530 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:542:18: note: called from here 542 | while ( mainGtU ( | ^~~~~~~~~ 543 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | ) ) { | ~ gcc -m32 -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o gcc -m32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -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 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 rm -f *.o libbz2.a bzip2 bzip2recover \ sample1.rb2 sample2.rb2 sample3.rb2 \ sample1.tst sample2.tst sample3.tst gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c blocksort.c gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c huffman.c gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c crctable.c gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c randtable.c gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c compress.c gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c decompress.c gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzlib.c blocksort.c: In function 'mainSort': blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:514:18: note: called from here 514 | while ( mainGtU ( | ^~~~~~~~~ 515 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:528:18: note: called from here 528 | while ( mainGtU ( | ^~~~~~~~~ 529 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 530 | ) ) { | ~ blocksort.c:347:6: warning: inlining failed in call to 'mainGtU': --param max-inline-insns-single limit reached [-Winline] 347 | Bool mainGtU ( UInt32 i1, | ^~~~~~~ blocksort.c:542:18: note: called from here 542 | while ( mainGtU ( | ^~~~~~~~~ 543 | ptr[j-h]+d, v+d, block, quadrant, nblock, budget | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | ) ) { | ~ gcc -mx32 -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.8 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o gcc -mx32 -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -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 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 Totalseconds: 26 KB: 1450700 / 2021-08-26 11:17:20 exec_hook package_done chapter08 806-bzip2 END: 2021-08-26 11:17:20