[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#753944: pbuilder: USENETWORK=no breaks package builds



On Sun, 06 Jul 2014 15:22:01 +0000, Thorsten Glaser wrote:

> >After getting interesting build failures (libdancer2-perl
> >0.143000+dfsg-1) like:
> >
> >>> Dancer2 v0.143000 server 11716 listening on http://0.0.0.0:50189
> >cannot open port: 50189 at /usr/share/perl5/Test/TCP.pm line 51.
> ># Looks like your test exited with 101 before it could output anything.
> 
> This is a bug in your package… network access is generally
> not available during package builds on Debian buildds either,
> and so should it be for cowbuilder too.

That doesn't match my understanding and experience. AFAIK, there is
no internet access (available|allowed) but connections to localhost
are fine.

Otherwise we would have seen tons of bug reports over the years
already ...

Another example, this time an arch:any package: libzeromq-perl

Fails in cowbuilder with the new pbuilder with:

cannot open port: 51426 at /usr/share/perl5/Test/TCP.pm line 51.
    # Child (blocking recv) exited without calling finalize()

#   Failed test 'blocking recv'
#   at /usr/share/perl/5.18/Test/Builder.pm line 252.
# Tests were run but no plan was declared and done_testing() was not seen.
t/rt64944.t ....... 

but builds fine on the buildds:
https://buildd.debian.org/status/logs.php?pkg=libzeromq-perl


Next one: libmongodb-perl (ok, tests are skipped here).

Or libio-interface-perl:

t/basic.t ... 
Failed 2/5 subtests 

#   Failed test 'loopback device'
#   at t/simple.t line 24.
Can't call method "address" on an undefined value at t/simple.t line 25.
# Looks like you planned 11 tests but ran 6.
# Looks like you failed 1 test of 6 run.
# Looks like your test exited with 255 just after 6.
t/simple.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)

vs. https://buildd.debian.org/status/logs.php?pkg=libio-interface-perl


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Rolling Stones: Petrolgang

Attachment: signature.asc
Description: Digital Signature


Reply to: