Forráskód Böngészése

Add a patch to fix an intermittent test failure in Automake.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10323 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 12 éve
szülő
commit
184ff2a768
5 módosított fájl, 31 hozzáadás és 3 törlés
  1. 10 0
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 5 3
      chapter06/automake.xml
  5. 4 0
      patches.ent

+ 10 - 0
chapter01/changelog.xml

@@ -35,6 +35,16 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>2013-08-21</para>
+      <itemizedlist>
+        <listitem>
+          <para>[matthew] - Add a patch to fix an intermittent test failure in
+          Automake.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2013-08-15</para>
       <itemizedlist>

+ 4 - 0
chapter01/whatsnew.xml

@@ -229,6 +229,10 @@
     <title>Added:</title>
     <listitem><para></para></listitem>  <!-- satisfy build -->
 
+    <listitem>
+      <para>&automake-test-patch;</para>
+    </listitem>
+
     <listitem>
       <para>bc &bc-version;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -18,6 +18,14 @@
 
   <variablelist role="materials">
 
+    <varlistentry>
+      <term>Automake Test Fix Patch - <token>&automake-test-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&automake-test-patch;"/></para>
+        <para>MD5 sum: <literal>&automake-test-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
       <listitem>

+ 5 - 3
chapter06/automake.xml

@@ -41,6 +41,10 @@
   <sect2 role="installation">
     <title>Installation of Automake</title>
 
+    <para>Fix an intermittent test failure:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&automake-test-patch;</userinput></screen>
+
     <para>Prepare Automake for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
@@ -49,9 +53,7 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <note><para>The tests take a very long time: over 30 SBUs.  Running
-    the tests is not recommended. At least one test (of over 3000) is
-    known to intermittently fail.</para></note>
+    <note><para>The tests take a very long time: over 30 SBUs.</para></note>
 
     <para>To test the results, issue:</para>
 

+ 4 - 0
patches.ent

@@ -2,6 +2,10 @@
 
 <!-- Start of Common Patches -->
 
+<!ENTITY automake-test-patch "automake-&automake-version;-test-1.patch">
+<!ENTITY automake-test-patch-md5 "1bc501443baee55bca4d6552ed18a757">
+<!ENTITY automake-test-patch-size "2.5 KB">
+
 <!ENTITY bash-fixes-patch "bash-&bash-version;-fixes-12.patch">
 <!ENTITY bash-fixes-patch-md5 "419f95c173596aea47a23d922598977a">
 <!ENTITY bash-fixes-patch-size "56 KB">