Add flex patch to fix regression suite errors.

Add PATH to su invocations to ensure /tools/bin is included


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9943 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2012-08-20 19:01:25 +00:00
parent 3f99c28d74
commit 25d78ecbd7
7 changed files with 31 additions and 2 deletions

View File

@ -37,6 +37,16 @@
--> -->
<listitem>
<para>2012-08-20</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Add patch to fix Flex regression test
failures.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2012-08-15</para> <para>2012-08-15</para>
<itemizedlist> <itemizedlist>

View File

@ -231,6 +231,10 @@
<para>&coreutils-i18n-patch;</para> <para>&coreutils-i18n-patch;</para>
</listitem> </listitem>
<listitem>
<para>&flex-bison-patch;</para>
</listitem>
<listitem> <listitem>
<para>&kbd-fixes-patch;</para> <para>&kbd-fixes-patch;</para>
</listitem> </listitem>

View File

@ -50,6 +50,14 @@
</listitem> </listitem>
</varlistentry> </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> <varlistentry>
<term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term> <term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term>

View File

@ -89,7 +89,7 @@
<para>Now, run the tests as the <systemitem <para>Now, run the tests as the <systemitem
class="username">nobody</systemitem> user:</para> 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> <para>Install the package:</para>

View File

@ -107,7 +107,7 @@
fail because the regression test has not been updated for the latest fail because the regression test has not been updated for the latest
time zone data.</para> 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> <para>Remove the temporary group:</para>

View File

@ -41,6 +41,10 @@
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Flex</title> <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> <para>Prepare Flex for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen> <screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen>

View File

@ -26,6 +26,9 @@
<!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7"> <!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7">
<!ENTITY diffutils-i18n-patch-size "18 KB"> <!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 "gcc-&gcc-version;-startfiles_fix-1.patch">
<!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6"> <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">