[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libxml-parser-perl and embedded expat library



Hi Niko,

On Tuesday, 27 November 2018 11:50 PM, Niko Tyni wrote:
> On Mon, Nov 26, 2018 at 10:15:03AM +0000, Hugh McMaster wrote:
>> This just leaves the arch-specific Expat.so, which is an embedded copy.
>
> No, Expat.so is not an embedded copy of libexpat.
>
> Expat.so is (part of) XML::Parser::Expat, a dynamically loadable Perl
> "plugin" module implemented in C code (well, XS code that's first
> transformed to C and then compiled.) It provides C/Perl glue that calls
> out to libexpat. This is architecture specific by design.
> [snip]

>> 1. Why does libxml-parser-perl use this version of Expat, instead of the
>> version provided by the repository?
>>
>> 2. Is it possible to remove the embedded copy? Or can we split the package
>> into arch: any for the Expat library and arch: all for everything else?
>
> As hopefully explained above, I don't think this is going to work.

Thank you for explaining this. I didn't think this was possible. Plus, there
is the added complexity of an arch: all package depending on an arch: any
package, which IIRC, causes problems for determining the correct arch to install.

Hugh

Reply to: