Re: XML/Parser/Expat.pm installed in BR but not found
Am Samstag, den 25.03.2017, 16:57 +0100 schrieb Marcus Meissner:
> On Fri, Mar 24, 2017 at 09:23:16PM +0100, Sascha Manns wrote:
> > Hello list,
> > i haved installed perl(XML::Parser) in my Buildroot:
> > [ 42s] perl-XML-Parser-2.44-1.105 ###################
> > But while the build process i'm getting:
> > [ 77s] + /usr/bin/perl -CDAS -I
> > /home/abuild/rpmbuild/BUILD/Publican-
> > v4.3.2/blib/lib /home/abuild/rpmbuild/BUILD/Publican-
> > v4.3.2/blib/script/publican build --formats=html-desktop --publish
> > --
> > langs=en-US --common_config=/home/abuild/rpmbuild/BUILD/Publican-
> > v4.3.2/blib/datadir --
> > common_content=/home/abuild/rpmbuild/BUILD/Publican-
> > v4.3.2/blib/datadir/Common_Content --nocolours
> > [ 78s] FATAL ERROR: en-US/Book_Info.xml:
> > [ 78s] No such file or directory at
> > /usr/lib/perl5/vendor_perl/5.24.0/x86_64-linux-thread-
> > multi/XML/Parser/Expat.pm line 474.
> > [ 78s] at line 6, column 0, byte 272
> > [ 78s] Handler couldn't resolve external entity at line 6, column
> > 0,
> > byte 272
> > [ 78s] error in processing external entity reference at line 6,
> > column 0, byte 272 at /usr/lib/perl5/vendor_perl/5.24.0/x86_64-
> > linux-
> > thread-multi/XML/Parser.pm line 187.
> > [ 78s] at /home/abuild/rpmbuild/BUILD/Publican-
> > v4.3.2/blib/script/publican line 1001.
> > The full Buildlog is there: https://build.opensuse.org/build/Docume > > ntat
> > ion:Publican/openSUSE_Tumbleweed/x86_64/publican/_log
> > The Specfile: https://build.opensuse.org/package/view_file/Document > > atio
> > n:Publican/publican/publican.spec?expand=1
> > Maybe anyone knows why it doesn't find the perl modules?
> It is probably not the perl module, but the content that is
> I bet it tries to download a external DTD from a http URL, which is
> not allowed in the buildservice.
If i'm trying to build locally it doesn't work too? Is the external
download also disable per default locally?
> Chgeck what en-US/Book_Info.xml uses as external URLs.
It uses in Line 5:
<!ENTITY % DOCBOOK_ENTS PUBLIC "-//OASIS//ENTITIES DocBook Character
Entities V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/dbcentx.m od">;
The mentioned line 6 has %DOCBOOK_ENTS; so it tries to use it.
> If it is docbook, buildrequire the relevant docbook packasges.
I have added "docbook_4" as BuildRequires. And it contains the above
As far as i understand, it should map from the oasis url to the local
one. Or have i misunderstood that?