Author: ken
Date: Thu Aug  8 13:32:11 2019
New Revision: 21916

Log:
Fix biber tests for perl-5.30.0.

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/pst/typesetting/biber.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Thu Aug  8 07:48:28 
2019        (r21915)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Thu Aug  8 13:32:11 
2019        (r21916)
@@ -44,6 +44,10 @@
     <listitem>
       <para>August 8th, 2019</para>
       <itemizedlist>
+        <listitem>
+          <para>[ken] - Patch biber-2.12 for failing tests from perl-5.30. 
Fixes
+          <ulink url="&blfs-ticket-root;12368">#12368</ulink>.</para>
+        </listitem>
         <listitem revision="systemd">
           <para>[renodr] - Fix systemd to allow networkd to function on systems
           with Linux-5.2+ kernels, as well as fix problems with AMD Ryzen CPUs

Modified: trunk/BOOK/pst/typesetting/biber.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/biber.xml        Thu Aug  8 07:48:28 2019        
(r21915)
+++ trunk/BOOK/pst/typesetting/biber.xml        Thu Aug  8 13:32:11 2019        
(r21916)
@@ -64,6 +64,7 @@
       </listitem>
     </itemizedlist>
 
+
     <note>
       <para>
         The <application>biber</application> source tarball shown above
@@ -87,7 +88,7 @@
       </para>
     </note>
 
-    <bridgehead renderas="sect3">Required Additional Download</bridgehead>
+    <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
 
     <itemizedlist spacing="compact">
       <listitem>
@@ -102,6 +103,12 @@
       <listitem>
         <para>Download size: &biblatex-size;</para>
       </listitem>
+      <listitem>
+        <para>
+          Patch to make the tests work correctly with perl-5.30.0.
+          <ulink 
url="&patch-root;/biber-&biber-version;-upstream_fixes-1.patch"/>
+        </para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect3">Biber Dependencies</bridgehead>
@@ -165,7 +172,8 @@
       <para>This version of <application>biber</application> requires at least
       <application>perl-5.26.0</application>. If you are using an older version
       of <command>perl</command> you may prefer to install v2.7 - for that see
-      the BLFS-8.1 book.</para>
+      the BLFS-8.1 book. If you are using perl 5.26 or 5.28, please omit the
+      patch (or follow the BLFS-8.4 book for this package).</para>
     </note>
 
     <bridgehead renderas="sect4">Recommended (required for the 
testsuite)</bridgehead>
@@ -198,7 +206,8 @@
     <para>Install <application>Biber</application> by running the following
     commands:</para>
 
-<screen><userinput>perl ./Build.PL &amp;&amp;
+<screen><userinput>patch -Np1 -i 
../biber-&biber-version;-upstream_fixes-1.patch &amp;&amp;
+perl ./Build.PL &amp;&amp;
 ./Build</userinput></screen>
 
     <para>To test the results, enter: <command>./Build test</command></para>
@@ -215,6 +224,12 @@
     <title>Command Explanations</title>
 
     <para>
+      <command>patch -Np1 -i 
../biber-&biber-version;-upstream_fixes-1.patch</command>:
+      Perl version 5.30.0 shipped a new version of core module 
Unicode::Collate which
+      changed sortinit hashes. That broke many tests, the patch fixes them.
+    </para>
+
+    <para>
       <command>tar -xf biblatex-&biblatex-version;.tds.tar.gz -C
       /opt/texlive/&texlive-year;/texmf-dist</command>:
       this installs the new <application>biblatex</application> files over 
those
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to