Index: chapter01/changelog.xml
===================================================================
--- chapter01/changelog.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter01/changelog.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -44,4 +44,35 @@
-->
+ 2020-05-26
+
+
+ [pierre] - Bash: do not use "su -c command" to change user
+ to nobody: it removes the controlling terminal and makes some
+ tests fail. Use "su << EOF" instead.
+
+
+ [pierre] - Mount /dev/pts with "--bind", so that "tty"
+ knows there is a terminal. Fixes a test in coreutils.
+
+
+ [pierre] - Add a patch to fix a failure in gold test suite,
+ which really needs -fcommon in some tests.
+
+
+ [pierre] - Fix a failure in automake test suite.
+
+
+ [pierre] - Update to vim-8.2.0814.
+
+
+ [pierre] - Add a symlink from /tools/share/locale
+ to /usr/share/locale/locale-archive, to allow some programs
+ to find the installed locales. Fixes test failures in bison
+ and man-db;
+
+
+
+
+ 2020-05-21
Index: chapter03/patches.xml
===================================================================
--- chapter03/patches.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter03/patches.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -27,13 +27,13 @@
-
+
Bzip2 Documentation Patch - &bzip2-docs-patch-size;:
Index: chapter06/automake.xml
===================================================================
--- chapter06/automake.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter06/automake.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -41,4 +41,8 @@
Installation of Automake
+
+ Fix a failing test:
+
+sed -i "s/''/etags/" t/tags-lisp-space.shPrepare Automake for compilation:
Index: chapter06/bash.xml
===================================================================
--- chapter06/bash.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter06/bash.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -81,5 +81,12 @@
class="username">nobody user:
-su nobody -s /bin/bash -c "PATH=$PATH HOME=/home make tests"
+su nobody -s /bin/bash << EOF
+PATH=$PATH HOME=/home make tests
+EOF
+
+ The su command above is slightly different from
+ other places in the book. The
+ reason is that the option runs the command without
+ a controlling terminal, while the bash test suite needs one.Install the package and move the main executable to
Index: chapter06/binutils.xml
===================================================================
--- chapter06/binutils.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter06/binutils.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -59,7 +59,9 @@
Now remove one test that prevents the tests from running
- to completion:
-
-sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in
+ to completion, and fix other tests in the gold test suite, which
+ need to be adjusted for GCC 10:
+
+sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in
+patch -Np1 -i ../binutils-&binutils-version;-gcc10_gold_test_fix-1.patchThe Binutils documentation recommends building Binutils
@@ -158,5 +160,5 @@
make -k check
- The ver_test_pr16504.sh test is known to fail.
+
Install the package:
Index: chapter06/coreutils.xml
===================================================================
--- chapter06/coreutils.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter06/coreutils.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -127,12 +127,11 @@
environment includes /tools/bin.
-su nobody -s /bin/bash \
- -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"
-
+su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"
+
Remove the temporary group:
Index: chapter06/createfiles.xml
===================================================================
--- chapter06/createfiles.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter06/createfiles.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -57,5 +57,8 @@
do
ln -svf /tools/include/$incdir /usr/include
-done
+done
+
+mkdir -pv /tools/lib/locale
+ln -sv /usr/lib/locale/locale-archive /tools/lib/locale
@@ -198,4 +201,19 @@
wrong references to /tools. The uuid library is also needed for
building a python module.
+
+
+
+
+
+
+ /tools/lib/locale/locale-archive
+
+
+
+ Some programs built in chapter 5 look for installed
+ locale descriptions in this file. The locale descriptions will be
+ installed in /usr/lib/locale/locale-archive
+ after building the final glibc. The symlink allows those programs
+ to use the installed locales.
Index: chapter06/kernfs.xml
===================================================================
--- chapter06/kernfs.xml (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ chapter06/kernfs.xml (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -69,5 +69,5 @@
Now mount the remaining virtual kernel filesystems:
-mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
+mount -v --bind /dev/pts $LFS/dev/pts
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys
Index: general.ent
===================================================================
--- general.ent (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ general.ent (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -1,12 +1,12 @@
-
+
-
+
-
+
Index: packages.ent
===================================================================
--- packages.ent (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ packages.ent (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -701,5 +701,5 @@
-
+
@@ -707,5 +707,5 @@
-
+
Index: patches.ent
===================================================================
--- patches.ent (revision da99f961a5959cf5a6c01660377df41b5168046c)
+++ patches.ent (revision 59b66d792f68908b95b7d91d45d5573722d9ec82)
@@ -6,4 +6,8 @@
+
+
+
+