On Mon, 24 Aug 2015 22:45:13 +0300, Niko Tyni wrote: > 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.
With cowbuilder and USENETWORK=no I'm seeing a different failure: Can't call method "destination" on an undefined value at t/50-integration.t line 32, <$fh> line 2. # Looks like your test exited with 255 before it could output anything. t/50-integration.t ... 1..2 Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/2 subtests Test Summary Report ------------------- t/50-integration.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=6, Tests=5, 1 wallclock secs ( 0.03 usr 0.01 sys + 1.27 cusr 0.12 csys = 1.43 CPU) Result: FAIL Except for the line number, it's the same with the patch: Can't call method "destination" on an undefined value at t/50-integration.t line 33, <$fh> line 2. # Looks like your test exited with 255 before it could output anything. t/50-integration.t ... 1..2 Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/2 subtests Test Summary Report ------------------- t/50-integration.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=6, Tests=5, 2 wallclock secs ( 0.03 usr 0.00 sys + 1.33 cusr 0.08 csys = 1.44 CPU) Result: FAIL Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Simon And Garfunkel: 59th St. Bridge Song
signature.asc
Description: Digital Signature