Sfoglia il codice sorgente

Fix Binutils' texinfo file in pass1 and pass2 in case hosts have Texinfo >= 5.1 installed.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10230 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 12 anni fa
parent
commit
f93ffe4b79

+ 5 - 0
chapter01/changelog.xml

@@ -39,6 +39,11 @@
     <listitem>
       <para>2013-03-29</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Add texinfo related seds to Binutils pass1 and pass2
+          as hosts may have a new enough version of Texinfo to cause
+          issues.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Use --disable-install-libiberty to prevent GCC from
           installing libiberty.a (thanks to Armin K. for the pointer).  Retain

+ 6 - 0
chapter05/binutils-pass1.xml

@@ -70,6 +70,12 @@ cd ../binutils-build</userinput></screen>
     <note><para>The approximate build SBU values and required disk space
     in Chapter 5 does not include test suite data.</para></note>
 
+    <para>Fix a couple of syntax errors that prevent the documentation from
+    building with Texinfo-&texinfo-version;:</para>
+
+<screen><userinput remap="pre">sed -i -e 's/@colophon/@@colophon/' \
+       -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo</userinput></screen>
+
     <para>Now prepare Binutils for compilation:</para>
 
 <screen><userinput remap="configure">../binutils-&binutils-version;/configure     \

+ 6 - 0
chapter05/binutils-pass2.xml

@@ -48,6 +48,12 @@
 <screen><userinput remap="pre">mkdir -v ../binutils-build
 cd ../binutils-build</userinput></screen>
 
+    <para>Fix a couple of syntax errors that prevent the documentation from
+    building with Texinfo-&texinfo-version;:</para>
+
+<screen><userinput remap="pre">sed -i -e 's/@colophon/@@colophon/' \
+       -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo</userinput></screen>
+
     <para>Prepare Binutils for compilation:</para>
 
 <screen><userinput remap="configure">CC=$LFS_TGT-gcc            \

+ 3 - 4
chapter06/procps.xml

@@ -74,10 +74,9 @@
 <screen><userinput remap="make">make</userinput></screen>
 
     <para>The test suite needs some custom modifications for LFS.
-    The <command>which</command> command is not available, the
-    <command>pmap</command> test does not match a newline character in
-    two tests, and the <command>slabtop</command> test may return more than 
-    999,999 objects. To run the test suite, run the following commands:</para>
+    The <command>which</command> command is not available, and the
+    <command>slabtop</command> test may return more than 999,999 objects. To run
+    the test suite, run the following commands:</para>
 
 <screen><userinput remap="test">sed -i -e 's|exec which sleep|exec echo /tools/bin/sleep|' \
       -e 's|&amp;9|9999999|' testsuite/config/unix.exp