diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index d4082c2fc..921b0c8fb 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -845,7 +845,7 @@ &testsuites; - DejaGNU and Expect + DejaGNU, Expect, and Shadow diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4496b2757..9b5ad5ba2 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,41 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2018-08-12 + + + [bdubbs] - Add LANG to vim test instructions. + + + [bdubbs] - Ensure grep tests run to completion. + + + [bdubbs] - Run gcc tests in Chapter 6 as a non-privileged user. + + + [bdubbs] - Move shadow to before gcc so the gcc tests can + use su to run as a non-privileged user. + + + [bdubbs] - Add perl Configure options in Chapter 5 to ensure + no host system libraries are used. + + + [bdubbs] - Update minimum make version to 4.0 required by + glibc-2.28. + + + [bdubbs] - Update bzip2 url to a new location. Fixes + #4331. + + + [bdubbs] - Update to linux-4.17.14. Fixes + #4330. + + + + 2018-08-08 diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 2dc97f82d..cd7c936e9 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -104,7 +104,7 @@ - Make-3.81 + Make-4.0 diff --git a/chapter03/packages.xml b/chapter03/packages.xml index e6655260c..031634919 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -89,7 +89,7 @@ Bzip2 (&bzip2-version;) - &bzip2-size;: - Home page: + Download: MD5 sum: &bzip2-md5; diff --git a/chapter05/perl.xml b/chapter05/perl.xml index 14858b17b..1e55d830a 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -45,7 +45,33 @@ Prepare Perl for compilation: -sh Configure -des -Dprefix=/tools -Dlibs=-lm +sh Configure -des -Dprefix=/tools -Dlibs=-lm -Uloclibpth -Ulocincpth + + + The meaning of the Configure options: + + + -des + + This is a combination of three options: -d uses defaults for + all items; -e ensures completion of all tasks; -s silences + non-essential output. + + + + + -Uloclibpth amd -Ulocincpth + + These entries undefine variables that cause the configuration + to search for locally installed components that may exist on the + host system. + + + + + + + Build the package: diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 12a7617a5..cd152491d 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -30,6 +30,7 @@ + @@ -38,7 +39,7 @@ - + diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 645b72cfa..c1a074911 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -109,9 +109,14 @@ cd build ulimit -s 32768 - Test the results, but do not stop at errors: + Remove one test known to cause a problem: -make -k check +rm ../gcc/testsuite/g++.dg/pr83239.C + + Test the results as a non-privileged user, but do not stop at errors: + +chown -Rv nobody . +su nobody -s /bin/bash -c "PATH=$PATH make -k check" To receive a summary of the test suite results, run: @@ -126,8 +131,6 @@ cd build A few unexpected failures cannot always be avoided. The GCC developers are usually aware of these issues, but have not resolved them yet. - In particular, six tests in the libstdc++ test suite are known to fail - when running as the root user as we do here. Unless the test results are vastly different from those at the above URL, it is safe to continue. diff --git a/chapter06/grep.xml b/chapter06/grep.xml index 58b0db366..2d46eb7a9 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -50,7 +50,7 @@ To test the results, issue: -make check +make -k check Install the package: diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 084a600f2..04f6d9bd8 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -68,7 +68,7 @@ To test the results, issue: -make -j1 test &> vim-test.log +LANG=en_US.UTF-8 make -j1 test &> vim-test.log The test suite outputs a lot of binary data to the screen. This can cause issues with the settings of the current terminal. The problem can be @@ -76,8 +76,6 @@ successful test will result in the words "ALL DONE" in the log file at completion. - One test, Test_terminal_composing_unicode, is known to fail. - Install the package: make install diff --git a/general.ent b/general.ent index ae5f09af5..d5406eb7f 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/packages.ent b/packages.ent index 2224172b5..021b9e94a 100644 --- a/packages.ent +++ b/packages.ent @@ -82,9 +82,9 @@ - + - + @@ -416,12 +416,12 @@ - + - + - +