diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f0bbe73c2..ff2f5bcd5 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,32 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2017-08-15 + + + [bdubbs] - Update to gcc-7.2.0. Fixes + #4125. + + + [bdubbs] - Update to linux-4.12.7. Fixes + #4124. + + + [bdubbs] - Update to glibc-2.26. Fixes + #4120. + + + [bdubbs] - Update to dbus-1.10.22. Fixes + #4118. + + + [bdubbs] - Update to binutils-2.29. Fixes + #4117. + + + + 2017-08-11 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 00cc1b795..827342a46 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -206,9 +206,9 @@ - + diff --git a/chapter06/automake.xml b/chapter06/automake.xml index 996592f80..5dc6295d6 100644 --- a/chapter06/automake.xml +++ b/chapter06/automake.xml @@ -58,7 +58,8 @@ sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh make -j4 check - Three tests are known to fail in the LFS environment. + Three tests are known to fail in the LFS environment: + check12.sh, subobj.sh, and check12-w.sh. Install the package: diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 64e000287..4055d4857 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -40,11 +40,11 @@ Installation of Flex - + First, fix a problem introduced with glibc-2.26: + +sed -i "/math.h/a #include <malloc.h>" src/flexdef.h + The build procedure assumes the help2man program is available to create a man page from the executable --help option. This is not present, so we use an environment variable to skip this process. diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 5ef90aaeb..e972cb623 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -68,14 +68,19 @@ case $(uname -m) in i?86) GCC_INCDIR=/usr/lib/gcc/$(uname -m)-pc-linux-gnu/&gcc-version;/include - ln -s ld-linux.so.2 /lib/ld-lsb.so.3 + ln -sfv ld-linux.so.2 /lib/ld-lsb.so.3 ;; x86_64) GCC_INCDIR=/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include - ln -s ../lib/ld-linux-x86-64.so.2 /lib64 - ln -s ../lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 + ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64 + ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 ;; esac + Remove a file that may be left over from a previous build attempt: + + +rm -f /usr/include/limits.h + The Glibc documentation recommends building Glibc in a dedicated build directory: @@ -198,6 +203,12 @@ unset GCC_INCDIR touch /etc/ld.so.conf + Fix the generated Makefile to skip an uneeded sanity check + that fails in the LFS partial environment: + + +sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile + Install the package: make install diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml index e7dd7d2b0..09eebbdf7 100644 --- a/chapter06/gzip.xml +++ b/chapter06/gzip.xml @@ -53,6 +53,9 @@ make check + Two tests are known to fail in the LFS environment: + help-version and zmore. + Install the package: make install diff --git a/general.ent b/general.ent index 77ede96e8..e06e600d8 100644 --- a/general.ent +++ b/general.ent @@ -24,7 +24,7 @@ - + diff --git a/packages.ent b/packages.ent index 2b38a1e0d..58184b17d 100644 --- a/packages.ent +++ b/packages.ent @@ -58,10 +58,10 @@ - - + + - + @@ -108,10 +108,10 @@ - + - + @@ -207,10 +207,10 @@ - - - - + + + + @@ -247,11 +247,11 @@ - - + + - + @@ -401,12 +401,12 @@ - + - + - +