From 89c1c43dc35b79f84369a62a9556c7b405962dac Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 4 May 2017 04:22:11 +0000 Subject: [PATCH] Update to gcc-7.1.0. Update to iproute2-4.11.0. Fix some faulty gnulib code in diffutils. Disable a failing test in vim. Document a failing test in binutils. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11242 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 8 ++++++++ chapter01/whatsnew.xml | 4 ++-- chapter05/diffutils.xml | 4 ++++ chapter06/binutils.xml | 2 ++ chapter06/diffutils.xml | 6 ++++-- chapter06/vim.xml | 9 ++++++--- packages.ent | 12 ++++++------ 7 files changed, 32 insertions(+), 13 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4bc0674af..36e197c9c 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -45,6 +45,14 @@ 2017-05-03 + + [bdubbs] - Update to gcc-7.1.0. Fixes + #4082. + + + [bdubbs] - Update to iproute2-4.11.0. Fixes + #4081. + [bdubbs] - Fix a problem with glibc tests and add some explanations to the configure options. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 281ed265f..aaaf4e3d8 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -92,9 +92,9 @@ - + GDBM &gdbm-version; diff --git a/chapter05/diffutils.xml b/chapter05/diffutils.xml index 62ba35874..12e200027 100644 --- a/chapter05/diffutils.xml +++ b/chapter05/diffutils.xml @@ -43,6 +43,10 @@ Installation of Diffutils + First, fix some errors in the included gnulib code: + +sed -i '233,237 s/max)/max) \\/' lib/intprops.h + Prepare Diffutils for compilation: ./configure --prefix=/tools diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 36d303b49..f4f41f314 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -143,6 +143,8 @@ cd build make -k check + One test, debug_msg.sh, is known ot fail. + Install the package: make tooldir=/usr install diff --git a/chapter06/diffutils.xml b/chapter06/diffutils.xml index d98bc500d..ecd7dea51 100644 --- a/chapter06/diffutils.xml +++ b/chapter06/diffutils.xml @@ -41,9 +41,11 @@ Installation of Diffutils - First fix a file so locale files are installed: + First fix a file so locale files are installed and fix the + included gnulib code: -sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in +sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in +sed -i '233,237 s/max)/max) \\/' lib/intprops.h Prepare Diffutils for compilation: diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 94672585a..c19db6334 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -48,6 +48,10 @@ echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h + Disable a test that fails: + +sed -i '/call/{s/split/xsplit/;s/303/492/}' src/testdir/test_recover.vim + Prepare Vim for compilation: ./configure --prefix=/usr @@ -58,13 +62,12 @@ To test the results, issue: -make -j1 test +make -j1 test &> vim-test.log However, this test suite outputs a lot of binary data to the screen, which can cause issues with the settings of the current terminal. This can be resolved by redirecting the output to a log file. A successful test - will result in the words "ALL DONE" at completion. One test, - Test_recover_root_dir() is known to fail, but is harmless. + will result in the words "ALL DONE" at completion. Install the package: diff --git a/packages.ent b/packages.ent index 9448f332e..c310f3a7f 100644 --- a/packages.ent +++ b/packages.ent @@ -207,10 +207,10 @@ - - + + - + @@ -326,10 +326,10 @@ - - + + - +