aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appendices/dependencies.xml6
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter03/patches.xml4
-rw-r--r--chapter06/bison.xml6
-rw-r--r--chapter06/chapter06.xml2
-rw-r--r--chapter06/coreutils.xml4
-rw-r--r--chapter06/e2fsprogs.xml4
-rw-r--r--chapter06/flex.xml6
-rw-r--r--chapter06/glibc.xml5
-rw-r--r--chapter06/texinfo.xml2
-rw-r--r--patches.ent2
12 files changed, 34 insertions, 15 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index 6a710c125..a8d718246 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -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>
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 2d2cfcc29..dc163e4ad 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -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>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index ca4f976b2..db5324db7 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -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>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index d5cb55391..d65716c85 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -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>
diff --git a/chapter06/bison.xml b/chapter06/bison.xml
index ee890bef1..4f0c6bba1 100644
--- a/chapter06/bison.xml
+++ b/chapter06/bison.xml
@@ -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' &gt;&gt; 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>
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index a155e8308..b984f1a11 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -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"/>
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 390cdbe31..5d7fe3ae4 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -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>
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index cdc47822e..25be981f7 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -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>
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index a331d669c..ab2984ca4 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -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>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 56621ebd3..1eb09582f 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -138,6 +138,11 @@ grep Error glibc-check-log</userinput></screen>
</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>
diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml
index 4d9122552..517062461 100644
--- a/chapter06/texinfo.xml
+++ b/chapter06/texinfo.xml
@@ -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>
diff --git a/patches.ent b/patches.ent
index c8b15aaab..553ebcf54 100644
--- a/patches.ent
+++ b/patches.ent
@@ -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">