Bug#759944: librpc-xml-perl: FTBFS: dh_auto_test: make -j1 test returned exit code 2

Niko Tyni ntyni at debian.org
Sun Sep 7 07:12:48 UTC 2014


On Sun, Aug 31, 2014 at 12:02:37PM -0700, gregor herrmann wrote:
> On Sun, 31 Aug 2014 11:00:19 +0200, Salvatore Bonaccorso wrote:
> 
> > One datapoint: I just tried to build librpc-xml-perl both once in
> > pbuilder and once with sbuild and it does not FTBFS here (up to date
> > sid chroots).
> > 
> > Gregor, can you recheck if you stil get the FTBFS?
> 
> Yup, t/60_net_server.t still fails for me in my amd64 cowbuilder sid
> chroot.

This is #666651 again. The test suite launches a server on localhost,
and when the client connects with IPv6 it fails because RPC::XML doesn't
support IPv6 (it uses HTTP::Daemon which is IPv4-only, see #667738).

The patch that fixed this was dropped in 0.76-3 because it was "not
needed anymore with Net-Server 2.x". This seems to be incorrect. The
old problem with Net-Server was that it only bound to an IPv6 socket
(#667737), but that's fixed now and it binds with both IPv6 and IPv4. If
the client prefers IPv6 (as it usually does if there's a ::1 entry in
/etc/hosts), the test suite still breaks.

So the fix is simply to reinstate the patch from #666651.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list