Bug#788758: libnet-route-perl: FTBFS with an empty routing table

Niko Tyni ntyni at debian.org
Mon Aug 24 19:45:13 UTC 2015


Control: tag -1 patch

On Sun, Jun 14, 2015 at 10:18:39PM +0300, Niko Tyni wrote:
> Package: libnet-route-perl
> Version: 0.02-1
> Severity: important
> 
> As noticed by the reproducible builds CI system [1], this package fails
> to build on systems / namespaces with an empty routing table.
> 
>   t/50-integration.t ... 
>   1..2
>   # '/sbin/route -n' output:
>   # Kernel IP routing table
>   # Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>   '/sbin/route -n' returned non-zero value 1 at /home/niko/tmp/libnet-route-perl/blib/lib/Net/Route/Parser.pm line 70, <$fh> line 2.
>   # Looks like your test exited with 25 before it could output anything.
>   Dubious, test returned 25 (wstat 6400, 0x1900)
>   Failed 2/2 subtests 
>  
> [1] https://reproducible.debian.net/rb-pkg/unstable/amd64/libnet-route-perl.html

Somewhat crude patch attached. Eyeballs welcome.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Survive-systems-with-an-empty-routing-table.patch
Type: text/x-diff
Size: 1218 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150824/b51d16a5/attachment.patch>


More information about the pkg-perl-maintainers mailing list