Changeset 6cfc907a


Ignore:
Timestamp:
08/19/2024 06:59:29 PM (3 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, lazarus, trunk, xry111/for-12.3
Children:
d4dc5bae
Parents:
d0c749c
git-author:
Xi Ruoyao <xry111@…> (08/19/2024 06:55:06 PM)
git-committer:
Xi Ruoyao <xry111@…> (08/19/2024 06:59:29 PM)
Message:

libarchive: Disable buggy expat support

So if libxml2 is not installed, the test suite won't hang (note the hang
indicates a real bug intead of a test suite issue).

Raise libxml2 to recommended so we won't get a degraded build.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libarchive.xml

    rd0c749c r6cfc907a  
    8080    <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
    8181
     82    <bridgehead renderas="sect4">Recommended</bridgehead>
     83    <para role="recommended">
     84      <xref linkend="libxml2"/>
     85    </para>
     86
    8287    <bridgehead renderas="sect4">Optional</bridgehead>
    8388    <para role="optional">
    84       <xref linkend="libxml2"/>,
    8589      <xref linkend="lzo"/>,
    8690      <xref linkend="nettle"/>, and
     
    97101    </para>
    98102
    99 <screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
     103<screen><userinput>./configure --prefix=/usr --disable-static --without-expat &amp;&amp;
    100104make</userinput></screen>
    101105
     
    118122      href="../../xincludes/static-libraries.xml"/>
    119123
    120     <para>
    121       <option>--without-xml2</option>: This switch sets expat for xar archive
     124    <!-- https://github.com/libarchive/libarchive/issues/2146 -->
     125    <para>
     126      <parameter>--without-expat</parameter>: This switch disables using
     127      expat for xar format support.  Due to a bug the xar reader will loop
     128      infinitely if expat is used.  The upstream prefers libxml2 for xar
     129      support anyway.
     130    </para>
     131<!--
     132    <para>
     133      <option>- -without-xml2</option>: This switch sets expat for xar archive
    122134      format support instead of preferred libxml2 if both packages are installed.
    123135    </para>
    124 
     136-->
    125137    <para>
    126138      <option>--without-nettle</option>: This switch sets OpenSSL for crypto
  • introduction/welcome/changelog.xml

    rd0c749c r6cfc907a  
    4242      <para>August 19th, 2024</para>
    4343      <itemizedlist>
     44        <listitem>
     45          <para>[xry111] - Disable buggy expat support in libarchive-3.7.4.
     46          Fixes <ulink url="&blfs-ticket-root;20249">#20249</ulink>.</para>
     47        </listitem>
    4448        <listitem>
    4549          <para>[xry111] - Patch libxml2-2.13.3 to fix an issue causing
Note: See TracChangeset for help on using the changeset viewer.