Browse Source

Add patch to fix binutils test suite

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10087 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 12 years ago
parent
commit
0f344ddfa8
7 changed files with 40 additions and 16 deletions
  1. 12 0
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 5 1
      chapter06/binutils.xml
  5. 5 6
      chapter06/e2fsprogs.xml
  6. 3 3
      general.ent
  7. 3 6
      patches.ent

+ 12 - 0
chapter01/changelog.xml

@@ -36,6 +36,18 @@
     </listitem>
 -->
 
+    <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>

+ 4 - 0
chapter01/whatsnew.xml

@@ -232,6 +232,10 @@
       <para>&bash-fixes-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&binutils-testsuite-fixes-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&kbd-backspace-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -26,6 +26,14 @@
       </listitem>
     </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>

+ 5 - 1
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>
 

+ 5 - 6
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>
 

+ 3 - 3
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}]" -->
 

+ 3 - 6
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">