Author: bdubbs
Date: Thu Aug 15 15:51:06 2013
New Revision: 10316
Log:
Update several pages to fix regression test failures.
Modified:
trunk/BOOK/appendices/dependencies.xml
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter01/whatsnew.xml
trunk/BOOK/chapter03/patches.xml
trunk/BOOK/chapter06/bison.xml
trunk/BOOK/chapter06/chapter06.xml
trunk/BOOK/chapter06/coreutils.xml
trunk/BOOK/chapter06/e2fsprogs.xml
trunk/BOOK/chapter06/flex.xml
trunk/BOOK/chapter06/glibc.xml
trunk/BOOK/chapter06/texinfo.xml
trunk/BOOK/patches.ent
Modified: trunk/BOOK/appendices/dependencies.xml
==============================================================================
--- trunk/BOOK/appendices/dependencies.xml Thu Aug 15 07:34:19 2013
(r10315)
+++ trunk/BOOK/appendices/dependencies.xml Thu Aug 15 15:51:06 2013
(r10316)
@@ -233,7 +233,7 @@
<segtitle>&testsuites;</segtitle>
<seglistitem>
- <seg>Diffutils and Findutils</seg>
+ <seg>Diffutils, Findutils, and Flex</seg>
</seglistitem>
</segmentedlist>
@@ -241,7 +241,7 @@
<segtitle>&before;</segtitle>
<seglistitem>
- <seg>Flex, Kbd, and Tar</seg>
+ <seg>Kbd and Tar</seg>
</seglistitem>
</segmentedlist>
@@ -591,7 +591,7 @@
<segtitle>&testsuites;</segtitle>
<seglistitem>
- <seg>Bison and Gawk</seg>
+ <seg>Bison (suppressed) and Gawk</seg>
</seglistitem>
</segmentedlist>
Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter01/changelog.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -39,6 +39,10 @@
<para>2013-08-15</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Update several pages to fix regression
+ test failures.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Add options when mounting /dev/pts when
creating virtual file systems in Section 6.2.</para>
</listitem>
Modified: trunk/BOOK/chapter01/whatsnew.xml
==============================================================================
--- trunk/BOOK/chapter01/whatsnew.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter01/whatsnew.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -256,6 +256,10 @@
</listitem>
<listitem>
+ <para>flex-2.5.37-bison-2.6.1-1.patch</para>
+ </listitem>
+
+ <listitem>
<para>perl-5.16.2-libc-1.patch</para>
</listitem>
Modified: trunk/BOOK/chapter03/patches.xml
==============================================================================
--- trunk/BOOK/chapter03/patches.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter03/patches.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -41,7 +41,6 @@
<para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para>
</listitem>
</varlistentry>
-
<!--
<varlistentry>
<term>Coreutils Test Fixes Patch -
<token>&coreutils-test-patch-size;</token>:</term>
@@ -50,7 +49,6 @@
<para>MD5 sum: <literal>&coreutils-test-patch-md5;</literal></para>
</listitem>
</varlistentry>
--->
<varlistentry>
<term>Flex Regression Tests Patch -
<token>&flex-bison-patch-size;</token>:</term>
@@ -59,7 +57,7 @@
<para>MD5 sum: <literal>&flex-bison-patch-md5;</literal></para>
</listitem>
</varlistentry>
-
+-->
<varlistentry>
<term>Kbd Backspace/Delete Fix Patch -
<token>&kbd-backspace-patch-size;</token>:</term>
<listitem>
Modified: trunk/BOOK/chapter06/bison.xml
==============================================================================
--- trunk/BOOK/chapter06/bison.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter06/bison.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -43,14 +43,14 @@
<para>Prepare Bison for compilation:</para>
<screen><userinput remap="configure">./configure
--prefix=/usr</userinput></screen>
-
+<!--
<para>The configure system causes Bison to be built without support for
internationalization of error messages if a <command>bison</command>
program is not already in $PATH. The following addition will correct
this:</para>
<screen><userinput remap="configure">echo '#define YYENABLE_NLS 1' >>
lib/config.h</userinput></screen>
-
+-->
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
@@ -59,6 +59,8 @@
<screen><userinput remap="test">make check</userinput></screen>
+ <para>One test will fail due to not having flex available yet.</para>
+
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
Modified: trunk/BOOK/chapter06/chapter06.xml
==============================================================================
--- trunk/BOOK/chapter06/chapter06.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter06/chapter06.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -40,6 +40,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/>
@@ -54,7 +55,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gawk.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="findutils.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="groff.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz.xml"/>
Modified: trunk/BOOK/chapter06/coreutils.xml
==============================================================================
--- trunk/BOOK/chapter06/coreutils.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter06/coreutils.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -60,8 +60,8 @@
<para>Now prepare Coreutils for compilation:</para>
<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
--enable-no-install-program=kill,uptime</userinput></screen>
<variablelist>
Modified: trunk/BOOK/chapter06/e2fsprogs.xml
==============================================================================
--- trunk/BOOK/chapter06/e2fsprogs.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter06/e2fsprogs.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -44,6 +44,10 @@
<sect2 role="installation">
<title>Installation of E2fsprogs</title>
+ <para>First, fix a regression test:</para>
+
+<screen><userinput remap="pre">sed -i -e 's/mke2fs/$MKE2FS/' -e
's/debugfs/$DEBUGFS/' tests/f_extent_oobounds/script</userinput></screen>
+
<para>The E2fsprogs documentation recommends that the package be built in
a subdirectory of the source tree: </para>
Modified: trunk/BOOK/chapter06/flex.xml
==============================================================================
--- trunk/BOOK/chapter06/flex.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter06/flex.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -41,13 +41,13 @@
<sect2 role="installation">
<title>Installation of Flex</title>
- <para>First, fix some regression tests:</para>
+ <para>First, skip running three regression tests that require bison.</para>
-<screen><userinput remap="pre">patch -Np1 -i
../&flex-bison-patch;</userinput></screen>
+<screen><userinput remap="pre">sed -i -e '/test-bison/d'
tests/Makefile.in</userinput></screen>
<para>Prepare Flex for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
+<screen><userinput remap="configure">./configure --prefix=/usr \
--docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
<para>Compile the package:</para>
Modified: trunk/BOOK/chapter06/glibc.xml
==============================================================================
--- trunk/BOOK/chapter06/glibc.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter06/glibc.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -138,6 +138,11 @@
</listitem>
<listitem>
+ <para>posix/tst-getaddrinfo4 will always fail due to not having a
network
+ connection when the test is run.</para>
+ </listitem>
+
+ <listitem>
<para>Other tests known to fail on some architectures are
posix/bug-regex32,
misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and
stdio-common/bug22.</para>
</listitem>
Modified: trunk/BOOK/chapter06/texinfo.xml
==============================================================================
--- trunk/BOOK/chapter06/texinfo.xml Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/chapter06/texinfo.xml Thu Aug 15 15:51:06 2013 (r10316)
@@ -49,7 +49,7 @@
<screen><userinput remap="make">make</userinput></screen>
- <note><para>Two tests in the test suite fail due to out of date
+ <note><para>One test in the test suite fails due to out of date
perl code.</para></note>
<para>To test the results, issue:</para>
Modified: trunk/BOOK/patches.ent
==============================================================================
--- trunk/BOOK/patches.ent Thu Aug 15 07:34:19 2013 (r10315)
+++ trunk/BOOK/patches.ent Thu Aug 15 15:51:06 2013 (r10316)
@@ -14,9 +14,11 @@
<!ENTITY coreutils-i18n-patch-md5 "ada0ea6e1c00c4b7e0d634f49827943e">
<!ENTITY coreutils-i18n-patch-size "132 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">
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page