From ac9f3952a6e3cd97e4ccbac16b8104df72dd01cc Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Sat, 17 Jul 2021 21:11:36 +0100 Subject: [PATCH] Perl - fixes for 5.34 test failures. --- appendices/dependencies.xml | 2 +- chapter01/changelog.xml | 11 +++++++++++ chapter03/patches.xml | 9 +++++++++ chapter08/chapter08.xml | 2 +- chapter08/perl.xml | 5 +++++ patches.ent | 5 +++++ 6 files changed, 32 insertions(+), 2 deletions(-) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 46a016465..2aeef52e0 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -2402,7 +2402,7 @@ &testsuites; - Iana-Etc and Procps-ng + Iana-Etc, Less. and Procps-ng diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 047a1d56f..2f3602124 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,17 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-07-17 + + + [ken] - Fix test failures in perl-5.34.0 by building less before + perl and by patching perl for a problem highlighted by gdbm-1.20. Fixes + #4885. + + + + 2021-07-15 diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 803bf42bd..6ffd313a8 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -102,6 +102,15 @@ --> + + + Perl Upstream Fix Patch - &perl-fix-patch-size;: + + Download: + MD5 sum: &perl-fix-patch-md5; + + + Sysvinit Consolidated Patch - &sysvinit-consolidated-patch-size;: diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index 4202deea8..beee9e480 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -52,6 +52,7 @@ + @@ -71,7 +72,6 @@ - diff --git a/chapter08/perl.xml b/chapter08/perl.xml index 276ed03e1..0bb32c344 100644 --- a/chapter08/perl.xml +++ b/chapter08/perl.xml @@ -41,6 +41,11 @@ Installation of Perl + First, apply a patch that fixes an issue highlighted by recent + versions of gdbm: + +patch -Np1 -i ../&perl-fix-patch; + This version of Perl now builds the Compress::Raw::Zlib and Compress::Raw::BZip2 modules. By default Perl will use an internal copy of the sources for the build. diff --git a/patches.ent b/patches.ent index 9858f94ca..f2e1a6730 100644 --- a/patches.ent +++ b/patches.ent @@ -63,6 +63,11 @@ --> + + + + +