Bug#750283: xacobeo: FTBFS: Tests failures

Niko Tyni ntyni at debian.org
Mon Jul 14 07:02:21 UTC 2014


On Tue, Jun 17, 2014 at 01:19:40PM +0200, Axel Beckert wrote:
> Damyan Ivanov wrote:

> > > > > #   Failed test 'Reading SVG text elements'
> > > > > #   at t/document.t line 152.
> > > > > #     Structures begin differing at:
> > > > > #          $got->[0] = 'svg version=1.0 xml'
> > > > > #     $expected->[0] = '<svg version="1.0" xml>'
> > > > > # Looks like you failed 1 test of 53.

> > I am able to reproduce this 100% of the tries, as long as the build 
> > environment (pbuilder chroot) has network access. The symptoms are 
> > that t/document.t seems to hang for some 30 seconds, and then fails.
> > 
> > If I reject outgoing network connections via iptables, the test passes 
> > instantly.
> 
> Interestingly I cannot reproduce this issue if I don't use pbuilder
> despite network is available. I just built it on some box via SSH
> without pbuilder, only with "debuild".

> So I suspect that some additional build-dependency will help to
> circumvent the problem.

It's docbook-xml. Apparently libxml2 looks first in /etc/xml/catalog
and falls back to fetching DTDs over the network. Or something like
that.

So the quick fix seems to be adding a B-D on docbook-xml.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list