Bug#683904: FTBFS: test requires internet connectivity

Felix Geyer fgeyer at debian.org
Sun Aug 5 10:01:11 UTC 2012


Source: libgeo-ip-perl
Version: 1.40-1
Severity: serious
Tags: patch, sid, wheezy
Justification: fails to build from source

This package requires internet connectivity for its test suite
to pass. Package builds should not rely on external network
connectivity, but should be self-contained.

t/2_namelookup.t fails because it tries to look up the IP
of yahoo.com.

I'm adding a patch that removes this specific test.

Build log:

> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/0_base.t ............... ok
> t/1_lookup.t ............. ok
> t/20_min_capi_version.t .. ok
> # Test 11 got: <UNDEF> (t/2_namelookup.t at line 18 fail #11)
> #    Expected: "US"
> #  t/2_namelookup.t line 18 is:   ok($country, $exp_country);
> t/2_namelookup.t ......... 
> Failed 1/11 subtests 
> t/3_mirror.t ............. ok
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable_ip_lookup_test.patch
Type: text/x-diff
Size: 292 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120805/82a85dcc/attachment.patch>


More information about the pkg-perl-maintainers mailing list