[lfs-book] r9943 - in trunk/BOOK: . chapter01 chapter03 chapter06

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Aug 20 12:01:30 PDT 2012


Author: bdubbs
Date: 2012-08-20 13:01:25 -0600 (Mon, 20 Aug 2012)
New Revision: 9943

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter06/coreutils.xml
   trunk/BOOK/chapter06/flex.xml
   trunk/BOOK/patches.ent
Log:
Add flex patch to fix regression suite errors.
Add PATH to su invocations to ensure /tools/bin is included


Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-08-17 05:36:14 UTC (rev 9942)
+++ trunk/BOOK/chapter01/changelog.xml	2012-08-20 19:01:25 UTC (rev 9943)
@@ -38,6 +38,16 @@
 -->
 
     <listitem>
+      <para>2012-08-20</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add patch to fix Flex regression test
+          failures.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2012-08-15</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	2012-08-17 05:36:14 UTC (rev 9942)
+++ trunk/BOOK/chapter01/whatsnew.xml	2012-08-20 19:01:25 UTC (rev 9943)
@@ -232,6 +232,10 @@
     </listitem>
 
     <listitem>
+      <para>&flex-bison-patch;</para>
+    </listitem>
+
+    <listitem>
       <para>&kbd-fixes-patch;</para>
     </listitem>
 

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml	2012-08-17 05:36:14 UTC (rev 9942)
+++ trunk/BOOK/chapter03/patches.xml	2012-08-20 19:01:25 UTC (rev 9943)
@@ -50,6 +50,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Flex Regression Tests Patch - <token>&flex-bison-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&flex-bison-patch;"/></para>
+        <para>MD5 sum: <literal>&flex-bison-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
 <!--
     <varlistentry>
       <term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term>

Modified: trunk/BOOK/chapter06/bash.xml
===================================================================
--- trunk/BOOK/chapter06/bash.xml	2012-08-17 05:36:14 UTC (rev 9942)
+++ trunk/BOOK/chapter06/bash.xml	2012-08-20 19:01:25 UTC (rev 9943)
@@ -89,7 +89,7 @@
     <para>Now, run the tests as the <systemitem
     class="username">nobody</systemitem> user:</para>
 
-<screen><userinput remap="test">su nobody -s /bin/bash -c "make tests"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make tests"</userinput></screen>
 
     <para>Install the package:</para>
 

Modified: trunk/BOOK/chapter06/coreutils.xml
===================================================================
--- trunk/BOOK/chapter06/coreutils.xml	2012-08-17 05:36:14 UTC (rev 9942)
+++ trunk/BOOK/chapter06/coreutils.xml	2012-08-20 19:01:25 UTC (rev 9943)
@@ -107,7 +107,7 @@
     fail because the regression test has not been updated for the latest
     time zone data.</para>
 
-<screen><userinput remap="test">su nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
 
     <para>Remove the temporary group:</para>
 

Modified: trunk/BOOK/chapter06/flex.xml
===================================================================
--- trunk/BOOK/chapter06/flex.xml	2012-08-17 05:36:14 UTC (rev 9942)
+++ trunk/BOOK/chapter06/flex.xml	2012-08-20 19:01:25 UTC (rev 9943)
@@ -41,6 +41,10 @@
   <sect2 role="installation">
     <title>Installation of Flex</title>
 
+    <para>First, fix some regression tests:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&flex-bison-patch;</userinput></screen>
+
     <para>Prepare Flex for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen>

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent	2012-08-17 05:36:14 UTC (rev 9942)
+++ trunk/BOOK/patches.ent	2012-08-20 19:01:25 UTC (rev 9943)
@@ -26,6 +26,9 @@
 <!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7">
 <!ENTITY diffutils-i18n-patch-size "18 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 gcc-startfiles-patch "gcc-&gcc-version;-startfiles_fix-1.patch">
 <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">




More information about the lfs-book mailing list