aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2016-12-21 21:42:05 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2016-12-21 21:42:05 +0000
commitb2f3f15a09c2558f71a1a873a8204cc3da027368 (patch)
tree5b1c2c4bb61cfee2f7cae1f1967cb6e7b7297ad0 /chapter06
parented3be61026678484edf9e7d6344799388b8ca41a (diff)
Update to gcc-6.3.0.
Update to gmp-6.1.2. Update to iproute2-4.9.0. Update to man-pages-4.09. Update to man-db-2.7.6.1. Update to linux-4.9. Update to eudev-3.2.1. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11157 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/automake.xml2
-rw-r--r--chapter06/coreutils.xml7
-rw-r--r--chapter06/gcc.xml6
-rw-r--r--chapter06/man-db.xml9
4 files changed, 13 insertions, 11 deletions
diff --git a/chapter06/automake.xml b/chapter06/automake.xml
index 115f311bf..f0905fd84 100644
--- a/chapter06/automake.xml
+++ b/chapter06/automake.xml
@@ -62,6 +62,8 @@
<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
make -j4 check</userinput></screen>
+ <para>Three tests are known ot fail.</para>
+
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 18cfe5063..065643edb 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -40,11 +40,6 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
-<!--
- <para>First, fix a segfault in <command>shuf</command> program:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-shuf-segfault-patch;</userinput></screen>
--->
<para>POSIX requires that programs from Coreutils recognize character
boundaries correctly even in multibyte locales. The following patch fixes
@@ -117,7 +112,7 @@
<screen><userinput remap="test">su nobody -s /bin/bash \
-c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
- <para>The stty-pairs test is known to fail on a virtual console, but
+ <para>The test-getlogin test is known to fail on a virtual console, but
passes if run in a X terminal.</para>
<para>Remove the temporary group:</para>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 83cd09b8e..896515328 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -40,11 +40,7 @@
<sect2 role="installation">
<title>Installation of GCC</title>
-<!--
- <para>First fix a problem identified upstream:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../gcc-6.1.0-asan-1.patch</userinput></screen>
--->
<para>If building on x86_64, change the default directory name for 64-bit
libraries to <quote>lib</quote>:</para>
@@ -125,7 +121,7 @@ cd build</userinput></screen>
<para>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, two tests in the libstdc++ test suite are known to fail
+ In particular, five 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.</para>
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index 4e81cc998..c32a99085 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -47,6 +47,7 @@
--docdir=/usr/share/doc/man-db-&man-db-version; \
--sysconfdir=/etc \
--disable-setuid \
+ --enable-cache-owner=bin \
--with-browser=/usr/bin/lynx \
--with-vgrind=/usr/bin/vgrind \
--with-grap=/usr/bin/grap</userinput></screen>
@@ -63,6 +64,14 @@
</varlistentry>
<varlistentry>
+ <term><parameter>--enable-cache-owner=bin</parameter></term>
+ <listitem>
+ <para>This makes the system-wide cache files be owned by user
+ bin.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--with-...</parameter></term>
<listitem>
<para>These three parameters are used to set some default programs.