aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-07-19 21:18:29 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-07-19 21:18:29 +0000
commit523725cbd4b6bfce4b9ebf8cd4396004b915dfdb (patch)
tree34c47c35b5a4b1e563eb677e16f45b334ba6742d /chapter06/coreutils.xml
parentd25dfa8cb41efdea5b648a662cc876dc4325d955 (diff)
Update to coreutils-8.23.
Add binutils patch to fix lto test suite. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10637 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r--chapter06/coreutils.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 8ea10f912..b54061eba 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -40,16 +40,21 @@
<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 this non-compliance and other internationalization-related bugs:</para>
+ boundaries correctly even in multibyte locales. The following patch fixes
+ this non-compliance and other internationalization-related bugs.
+ Afterwards make sure the timestamp for <filename>Makefile.in</filename> is
+ later than all other files to prevent a <command>make</command>
+ error:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch; &amp;&amp;
+touch Makefile.in</userinput></screen>
<note>
<para>In the past, many bugs were found in this patch. When reporting new
@@ -102,9 +107,7 @@
<screen><userinput remap="test">chown -Rv nobody . </userinput></screen>
<para>Now run the tests. Make sure the PATH in the <userinput>su</userinput>
- environment includes /tools/bin. Note that one test (nohup.sh) will fail if the
- tests are not run from a normal terminal and one test (p-acl.sh) will indicate
- an error if the lfs partition is not mounted with the acl option.</para>
+ environment includes /tools/bin.</para>
<screen><userinput remap="test">su nobody -s /bin/bash \
-c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>