From f93ffe4b796b5bcf9f00ea918e5177db2e99027a Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Fri, 29 Mar 2013 19:37:50 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 5 +++++ chapter05/binutils-pass1.xml | 6 ++++++ chapter05/binutils-pass2.xml | 6 ++++++ chapter06/procps.xml | 7 +++---- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index a906b3b48..dd2959e86 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2013-03-29 + + [matthew] - Add texinfo related seds to Binutils pass1 and pass2 + as hosts may have a new enough version of Texinfo to cause + issues. + [matthew] - Use --disable-install-libiberty to prevent GCC from installing libiberty.a (thanks to Armin K. for the pointer). Retain diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index decec8b6f..e30f3962e 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -70,6 +70,12 @@ cd ../binutils-build The approximate build SBU values and required disk space in Chapter 5 does not include test suite data. + Fix a couple of syntax errors that prevent the documentation from + building with Texinfo-&texinfo-version;: + +sed -i -e 's/@colophon/@@colophon/' \ + -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo + Now prepare Binutils for compilation: ../binutils-&binutils-version;/configure \ diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index 1cac61a18..7c99eac5f 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -48,6 +48,12 @@ mkdir -v ../binutils-build cd ../binutils-build + Fix a couple of syntax errors that prevent the documentation from + building with Texinfo-&texinfo-version;: + +sed -i -e 's/@colophon/@@colophon/' \ + -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo + Prepare Binutils for compilation: CC=$LFS_TGT-gcc \ diff --git a/chapter06/procps.xml b/chapter06/procps.xml index 7a63f7755..217722a78 100644 --- a/chapter06/procps.xml +++ b/chapter06/procps.xml @@ -74,10 +74,9 @@ make The test suite needs some custom modifications for LFS. - The which command is not available, the - pmap test does not match a newline character in - two tests, and the slabtop test may return more than - 999,999 objects. To run the test suite, run the following commands: + The which command is not available, and the + slabtop test may return more than 999,999 objects. To run + the test suite, run the following commands: sed -i -e 's|exec which sleep|exec echo /tools/bin/sleep|' \ -e 's|&9|9999999|' testsuite/config/unix.exp