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
--- libgeo-ip-perl-1.40.orig/t/2_namelookup.t
+++ libgeo-ip-perl-1.40/t/2_namelookup.t
@@ -5,7 +5,7 @@ use Test;
 
 $^W = 1;
 
-BEGIN { plan tests => 11 }
+BEGIN { plan tests => 10 }
 
 use Geo::IP;
 
@@ -29,4 +29,3 @@ __DATA__
 194.244.83.2	IT
 203.15.106.23	AU
 196.31.1.1	ZA
-yahoo.com	US

Reply via email to