aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorKrejzi <krejzi@linuxfromscratch.org>2014-09-09 13:17:24 +0000
committerKrejzi <krejzi@linuxfromscratch.org>2014-09-09 13:17:24 +0000
commit46ded2ba10bd4b1dc2a8d80c744637135f52f146 (patch)
tree07110eb00c007cebea0bbadd73e91964945ac817 /chapter06
parent5fe3e2ff93ba2e7d4dce301ffe626e60189a2d31 (diff)
Import trunk.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10750 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/acl.xml2
-rw-r--r--chapter06/attr.xml7
-rw-r--r--chapter06/binutils.xml3
-rw-r--r--chapter06/createfiles.xml4
-rw-r--r--chapter06/e2fsprogs.xml4
-rw-r--r--chapter06/gcc.xml4
-rw-r--r--chapter06/glibc.xml18
-rw-r--r--chapter06/inetutils.xml2
-rw-r--r--chapter06/ncurses.xml2
-rw-r--r--chapter06/util-linux.xml5
-rw-r--r--chapter06/vim.xml2
11 files changed, 29 insertions, 24 deletions
diff --git a/chapter06/acl.xml b/chapter06/acl.xml
index e89bee48b..ac8ba4ee0 100644
--- a/chapter06/acl.xml
+++ b/chapter06/acl.xml
@@ -67,7 +67,7 @@
<para>The Acl tests need to be run on a filesystem that supports access
controls after <application>Coreutils</application> has been built with the
- Acl libraries. If desired, return to this package and run <command>make
+ Acl libraries. If desired, return to this package and run <command>make -j1
tests</command> after <application>Coreutils</application> has been built
later in this chapter.</para>
diff --git a/chapter06/attr.xml b/chapter06/attr.xml
index 69ac3ee81..9f5472f9f 100644
--- a/chapter06/attr.xml
+++ b/chapter06/attr.xml
@@ -60,10 +60,11 @@
<screen><userinput remap="make">make</userinput></screen>
<para>The tests need to be run on a filesystem that supports extended
- attributes such as the ext2, ext3, or ext4 filesystems. To test the
- results, issue:</para>
+ attributes such as the ext2, ext3, or ext4 filesystems. The tests are also
+ known to fail if running multiple simultaneous tests (-j option greater than
+ 1). To test the results, issue:</para>
-<screen><userinput remap="test">make tests root-tests</userinput></screen>
+<screen><userinput remap="test">make -j1 tests root-tests</userinput></screen>
<para>Install the package:</para>
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 6d81aef04..4d99cefcb 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -120,9 +120,6 @@ cd ../binutils-build</userinput></screen>
<screen><userinput remap="test">make -k check</userinput></screen>
- <para>Six tests in the lto.exp testsuite are known to fail due
- to changes in the most recent version of GCC.</para>
-
<para>Install the package:</para>
<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
index 306a60121..4517d9571 100644
--- a/chapter06/createfiles.xml
+++ b/chapter06/createfiles.xml
@@ -19,6 +19,10 @@
</indexterm>
<indexterm zone="ch-system-createfiles">
+ <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
+ </indexterm>
+
+ <indexterm zone="ch-system-createfiles">
<primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
</indexterm>
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index b1fed57f9..0f29b7271 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -105,8 +105,8 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
<systemitem class="library">libuuid</systemitem> and
<systemitem class="library">libblkid</systemitem> libraries, the
<systemitem class="daemon">uuidd</systemitem> daemon, and the
- <command>fsck</command> wrapper, as Util-Linux installed all of
- them earlier.</para>
+ <command>fsck</command> wrapper, as Util-Linux installs more
+ recent versions.</para>
</listitem>
</varlistentry>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 5ea4d8832..bc9810109 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -45,12 +45,12 @@
<screen><userinput remap="pre">sed -i 's/if \((code.*))\)/if (\1 \&amp;\&amp; \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen>
-<!--
+
<para>First fix a problem identified upstream that causes some
programs to fail:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen>
--->
+
<!--
<para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
<command>sed</command> to force the build to use the
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index cb676fd4b..a881ffa57 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -108,16 +108,14 @@ cd ../glibc-build</userinput></screen>
<para>Generally a few tests do not pass, but you can generally ignore
any of the test failures listed below. Now test the build results:</para>
-<screen><userinput remap="test">make -k check</userinput></screen>
+<screen><userinput remap="test">make check</userinput></screen>
- <para><!--You will probably see an expected (ignored) failure in the
- <emphasis>posix/annexc</emphasis> and
- <emphasis>conform/run-conformtest</emphasis> tests. In addition t-->The Glibc
- test suite is somewhat dependent on the host system. This is a list of the
- most common issues:</para>
+ <para>You will probably see some test failures. The Glibc test suite is
+ somewhat dependent on the host system. This is a list of the most common
+ issues seen for this version of LFS:</para>
<itemizedlist>
-
+<!--
<listitem>
<para>The <emphasis>nptl/tst-clock2</emphasis>,
<emphasis>nptl/tst-attr3</emphasis>,
@@ -141,12 +139,12 @@ cd ../glibc-build</userinput></screen>
help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
make -k check</command>).</para>
</listitem>
-
+-->
<listitem>
<para>posix/tst-getaddrinfo4 will always fail due to not having a network
connection when the test is run.</para>
</listitem>
-
+<!--
<listitem>
<para>libio/tst-ftell-partial-wide.out fails because it needs a locale
that has not yet been generated.</para>
@@ -157,7 +155,7 @@ cd ../glibc-build</userinput></screen>
misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, nptl/tst-robust8,
and stdio-common/bug22.</para>
</listitem>
-
+-->
</itemizedlist>
<para>Though it is a harmless message, the install stage of Glibc will
diff --git a/chapter06/inetutils.xml b/chapter06/inetutils.xml
index b3a9b0aec..d739aee0b 100644
--- a/chapter06/inetutils.xml
+++ b/chapter06/inetutils.xml
@@ -62,7 +62,7 @@
<para>This option prevents Inetutils from installing the
<command>logger</command> program, which is used by scripts to
pass messages to the System Log Daemon. Do not install it because
- Util-linux installed a version earlier.</para>
+ Util-linux installs a more recent version.</para>
</listitem>
</varlistentry>
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index df362d4bd..35be33550 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -61,7 +61,7 @@
--enable-widec</userinput></screen>
<variablelist>
- <title>The meaning of the configure option:</title>
+ <title>The meaning of the new configure options:</title>
<varlistentry>
<term><parameter>--enable-widec</parameter></term>
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 3646b2e95..d67cad8ba 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -55,6 +55,11 @@
<sect2 role="installation">
<title>Installation of Util-linux</title>
+ <para>First, fix one of the regression tests:</para>
+
+<screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E &lt;/E) &lt;=/' -e 's/ne /eq /' \
+ -i tests/ts/ipcs/limits2</userinput></screen>
+
<para>Prepare Util-linux for compilation:</para>
<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index c0df3dcb3..fd2360e3c 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -58,7 +58,7 @@
<para>To test the results, issue:</para>
-<screen><userinput remap="test">make test</userinput></screen>
+<screen><userinput remap="test">make -j1 test</userinput></screen>
<para>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