diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/autoconf.xml | 3 | ||||
-rw-r--r-- | chapter06/coreutils.xml | 12 | ||||
-rw-r--r-- | chapter06/gcc.xml | 4 | ||||
-rw-r--r-- | chapter06/gmp.xml | 2 | ||||
-rw-r--r-- | chapter06/libtool.xml | 3 | ||||
-rw-r--r-- | chapter06/util-linux.xml | 19 |
6 files changed, 35 insertions, 8 deletions
diff --git a/chapter06/autoconf.xml b/chapter06/autoconf.xml index 97fc0daa6..8f445f4fe 100644 --- a/chapter06/autoconf.xml +++ b/chapter06/autoconf.xml @@ -55,7 +55,8 @@ <para>This takes a long time, about 4.7 SBUs. In addition, 6 tests are skipped that use Automake. For full test coverage, Autoconf can be re-tested - after Automake has been installed.</para> + after Automake has been installed. In addition, one test fails due to + changes in libtool-2.4.3 and later.</para> <para>Install the package:</para> diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index fa4b2ab85..b42ba9adc 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -72,6 +72,15 @@ touch Makefile.in</userinput></screen> <title>The meaning of the configure options:</title> <varlistentry> + <term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term> + <listitem> + <para>This environment variable allows the package to be + built as the root user. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><parameter>--enable-no-install-program=kill,uptime</parameter></term> <listitem> <para>The purpose of this switch is to prevent Coreutils from @@ -112,6 +121,9 @@ touch Makefile.in</userinput></screen> <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 + passes if run in a X terminal.</para> + <para>Remove the temporary group:</para> <screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen> diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 24abde4fa..6c07d8ae0 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -40,7 +40,7 @@ <sect2 role="installation"> <title>Installation of GCC</title> - +<!-- <para>As in Chapter 5, fix a problem identified upstream:</para> <screen><userinput remap="pre">sed -i 's/if \((code.*))\)/if (\1 \&\& \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c</userinput></screen> @@ -50,7 +50,7 @@ programs to fail:</para> <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen> - +--> <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index a16500a28..3e44abfcc 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -67,7 +67,7 @@ </varlistentry> <varlistentry> - <term><parameter>--docdir=/usr/share/doc-gmp&gmp-version;</parameter></term> + <term><parameter>--docdir=/usr/share/doc/gmp&gmp-version;</parameter></term> <listitem> <para>This variable specifies the correct place for the documentation.</para> diff --git a/chapter06/libtool.xml b/chapter06/libtool.xml index 2bbe70945..5271dd5be 100644 --- a/chapter06/libtool.xml +++ b/chapter06/libtool.xml @@ -54,6 +54,9 @@ <screen><userinput remap="test">make check</userinput></screen> + <para>Five tests are known to fail in the LFS build envronment, + but all tests pass if rechecked after Chapter 6 is complete.</para> + <para>Install the package:</para> <screen><userinput remap="install">make install</userinput></screen> diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 2a19a5bbb..de57d712a 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -54,16 +54,27 @@ <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 </E) <=/' -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 \ - --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> +<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --docdir=/usr/share/doc/util-linux-&util-linux-version; \ + --disable-chfn-chsh \ + --disable-login \ + --disable-su \ + --disable-setpriv \ + --disable-runuser \ + --disable-pylibmount \ + --without-python</userinput></screen> + + <para>The --disable and --without options prevent warnings about + building components that require packages not in LFS or are + inconsistent with programs installed by other packages.</para> <para>Compile the package:</para> |