From bdde021dcc0aa7bebdb5370d28002c382b531149 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 15 Aug 2013 22:51:06 +0000 Subject: [PATCH] Update several pages to fix regression test failures. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10316 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendices/dependencies.xml | 6 +++--- chapter01/changelog.xml | 4 ++++ chapter01/whatsnew.xml | 4 ++++ chapter03/patches.xml | 4 +--- chapter06/bison.xml | 6 ++++-- chapter06/chapter06.xml | 2 +- chapter06/coreutils.xml | 4 ++-- chapter06/e2fsprogs.xml | 4 ++++ chapter06/flex.xml | 6 +++--- chapter06/glibc.xml | 5 +++++ chapter06/texinfo.xml | 2 +- patches.ent | 2 ++ 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 @@ &testsuites; - Diffutils and Findutils + Diffutils, Findutils, and Flex @@ -241,7 +241,7 @@ &before; - Flex, Kbd, and Tar + Kbd and Tar @@ -591,7 +591,7 @@ &testsuites; - Bison and Gawk + Bison (suppressed) and Gawk diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2d2cfcc29..dc163e4ad 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -38,6 +38,10 @@ 2013-08-15 + + [bdubbs] - Update several pages to fix regression + test failures. + [bdubbs] - Add options when mounting /dev/pts when creating virtual file systems in Section 6.2. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index ca4f976b2..db5324db7 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -255,6 +255,10 @@ binutils-2.23.1-testsuite_fix-1.patch + + flex-2.5.37-bison-2.6.1-1.patch + + perl-5.16.2-libc-1.patch 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 @@ MD5 sum: &coreutils-i18n-patch-md5; - Flex Regression Tests Patch - &flex-bison-patch-size;: @@ -59,7 +57,7 @@ MD5 sum: &flex-bison-patch-md5; - +--> Kbd Backspace/Delete Fix Patch - &kbd-backspace-patch-size;: 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 @@ Prepare Bison for compilation: ./configure --prefix=/usr - + Compile the package: make @@ -59,6 +59,8 @@ make check + One test will fail due to not having flex available yet. + Install the package: make install 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 @@ + @@ -54,7 +55,6 @@ - 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 @@ Now prepare Coreutils for compilation: FORCE_UNSAFE_CONFIGURE=1 ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib \ + --prefix=/usr \ + --libexecdir=/usr/lib \ --enable-no-install-program=kill,uptime 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 @@ Installation of E2fsprogs + First, fix a regression test: + +sed -i -e 's/mke2fs/$MKE2FS/' -e 's/debugfs/$DEBUGFS/' tests/f_extent_oobounds/script + The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree: 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 @@ Installation of Flex - First, fix some regression tests: + First, skip running three regression tests that require bison. -patch -Np1 -i ../&flex-bison-patch; +sed -i -e '/test-bison/d' tests/Makefile.in Prepare Flex for compilation: -./configure --prefix=/usr \ +./configure --prefix=/usr \ --docdir=/usr/share/doc/flex-&flex-version; Compile the package: diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 56621ebd3..1eb09582f 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -137,6 +137,11 @@ grep Error glibc-check-log make -k check). + + posix/tst-getaddrinfo4 will always fail due to not having a network + connection when the test is run. + + 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. 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 @@ make - Two tests in the test suite fail due to out of date + One test in the test suite fails due to out of date perl code. To test the results, issue: diff --git a/patches.ent b/patches.ent index c8b15aaab..553ebcf54 100644 --- a/patches.ent +++ b/patches.ent @@ -14,9 +14,11 @@ +