mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
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:
parent
3f99c28d74
commit
25d78ecbd7
@ -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>
|
||||
<para>2012-08-15</para>
|
||||
<itemizedlist>
|
||||
|
@ -231,6 +231,10 @@
|
||||
<para>&coreutils-i18n-patch;</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>&flex-bison-patch;</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>&kbd-fixes-patch;</para>
|
||||
</listitem>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user