aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-12-31 19:36:41 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-12-31 19:36:41 +0000
commit0f344ddfa8541a3bad3f771188501494b8848079 (patch)
tree5d925edd7fffa634b7a709ce1eb58cf7d75dfc64
parent43886b744b9b598ade9b93288738299dbbaee061 (diff)
Add patch to fix binutils test suite
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10087 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml12
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/binutils.xml6
-rw-r--r--chapter06/e2fsprogs.xml11
-rw-r--r--general.ent6
-rw-r--r--patches.ent9
7 files changed, 40 insertions, 16 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 6e6bfbda7..fb04074e7 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -37,6 +37,18 @@
-->
<listitem>
+ <para>2012-12-31</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Add patch to fix binutils test suite.
+ All binutils tests now pass, so remove the "-k" flag
+ from test invocation.
+ Thanks to Pierre Labastie for the patch.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2012-12-30</para>
<itemizedlist>
<listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 4073f7017..d5fa816de 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -233,6 +233,10 @@
</listitem>
<listitem>
+ <para>&binutils-testsuite-fixes-patch;</para>
+ </listitem>
+
+ <listitem>
<para>&kbd-backspace-patch;</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 9afbcec14..a43018f97 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -27,6 +27,14 @@
</varlistentry>
<varlistentry>
+ <term>Binutils Test Suite Patch - <token>&binutils-testsuite-fixes-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&binutils-testsuite-fixes-patch;"/></para>
+ <para>MD5 sum: <literal>&binutils-testsuite-fixes-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&bzip2-docs-patch;"/></para>
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 44e8e4cba..0cca873ef 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -64,6 +64,10 @@ Ask your system administrator to create more.</computeroutput></screen>
<screen><userinput remap="pre">rm -fv etc/standards.info
sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen>
+ <para>Fix some test suite scripts so all tests pass:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&binutils-testsuite-fixes-patch;</userinput></screen>
+
<para>The Binutils documentation recommends building Binutils outside of the
source directory in a dedicated build directory:</para>
@@ -114,7 +118,7 @@ cd ../binutils-build</userinput></screen>
<para>Test the results:</para>
-<screen><userinput remap="test">make -k check</userinput></screen>
+<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package:</para>
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 1ebbe6a55..59a98e83b 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -115,12 +115,11 @@ cd build</userinput></screen>
<screen><userinput remap="test">make check</userinput></screen>
- <para>One of the E2fsprogs tests will attempt to allocate 256 MB
- of memory. If you do not have significantly more RAM than this, it
- is recommended to enable sufficient swap space for the test. See
- <xref linkend="space-creatingfilesystem"/> and
- <xref linkend="space-mounting"/> for details on creating and enabling
- swap space.</para>
+ <para>One of the E2fsprogs tests will attempt to allocate 256 MB of memory.
+ If you do not have significantly more RAM than this, be sure to enable
+ sufficient swap space for the test. See <xref
+ linkend="space-creatingfilesystem"/> and <xref linkend="space-mounting"/>
+ for details on creating and enabling swap space.</para>
<para>Install the binaries, documentation, and shared libraries:</para>
diff --git a/general.ent b/general.ent
index c0450ca4a..44c412cdf 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
-<!ENTITY version "SVN-20121230">
-<!ENTITY releasedate "December 30, 2012">
-<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; -->
+<!ENTITY version "SVN-20130101">
+<!ENTITY releasedate "January 1, 2013">
+<!ENTITY copyrightdate "1999-2013"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.3">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
diff --git a/patches.ent b/patches.ent
index 93395f110..569113b84 100644
--- a/patches.ent
+++ b/patches.ent
@@ -6,22 +6,22 @@
<!ENTITY bash-fixes-patch-md5 "739056302cfbb5675ceb87b29cd898e5">
<!ENTITY bash-fixes-patch-size "54 KB">
+<!ENTITY binutils-testsuite-fixes-patch "binutils-&binutils-version;-testsuite_fix-1.patch">
+<!ENTITY binutils-testsuite-fixes-patch-md5 "cb47fae1bc572d45f4b0cff8ae8ecba8">
+<!ENTITY binutils-testsuite-fixes-patch-size "2.0 KB">
<!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">
<!ENTITY bzip2-docs-patch-md5 "6a5ac7e89b791aae556de0f745916f7f">
<!ENTITY bzip2-docs-patch-size "1.6 KB">
-
<!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch">
<!ENTITY coreutils-i18n-patch-md5 "befbf82628d019ef08d522c95cba331d">
<!ENTITY coreutils-i18n-patch-size "272 KB">
-
<!ENTITY flex-bison-patch "flex-&flex-version;-bison-2.6.1-1.patch">
<!ENTITY flex-bison-patch-md5 "d5b001ef9bdbbe32e2f27576d97d8ff0">
<!ENTITY flex-bison-patch-size "2.8 KB">
-
<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">
<!ENTITY kbd-backspace-patch-size "12 KB">
@@ -30,12 +30,10 @@
<!ENTITY make-fixes-patch-md5 "95027ab5b53d01699845d9b7e1dc878d">
<!ENTITY make-fixes-patch-size "10 KB">
-
<!ENTITY perl-libc-patch "perl-&perl-version;-libc-1.patch">
<!ENTITY perl-libc-patch-md5 "daf5c64fd7311e924966842680535f8f">
<!ENTITY perl-libc-patch-size "1.6 KB">
-
<!ENTITY procps-hz_fixes-patch "procps-&procps-version;-fix_HZ_errors-1.patch">
<!ENTITY procps-hz_fixes-patch-md5 "2ea4c8e9a2c2a5a291ec63c92d7c6e3b">
<!ENTITY procps-hz_fixes-patch-size "2.3 KB">
@@ -44,7 +42,6 @@
<!ENTITY procps-watch-patch-md5 "cd1a757e532d93662a7ed71da80e6b58">
<!ENTITY procps-watch-patch-size "3.5 KB">
-
<!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-1.patch">
<!ENTITY readline-fixes-patch-md5 "3c185f7b76001d3d0af614f6f2cd5dfa">
<!ENTITY readline-fixes-patch-size "1.3 KB">