Bug#759799: perl: FTBFS under pbuilder with USENETWORK=no

Daniel Schepler dschepler at gmail.com
Sat Aug 30 15:09:23 UTC 2014


Source: perl
Version: 5.20.0-6
Severity: important

>From my pbuilder build log:

...
cpan/IO-Socket-IP/t/12port-fallback ........................... ok
cpan/IO-Socket-IP/t/13addrinfo ................................ ok
cpan/IO-Socket-IP/t/14fileno .................................. ok
cpan/IO-Socket-IP/t/15io-socket ............................... #   Failed test ''IO::Socket->new( Domain => AF_INET )' isa 'IO::Socket::IP''
#   at t/15io-socket.t line 20.
#     'IO::Socket->new( Domain => AF_INET )' isn't defined
FAILED at test 1
cpan/IO-Socket-IP/t/16v6only .................................. Cannot listen on PF_INET6 - Name or service not known at t/16v6only.t line 22.
FAILED--no leader found
cpan/IO-Socket-IP/t/17gai-flags ............................... ok
cpan/IO-Socket-IP/t/18fdopen .................................. ok
cpan/IO-Socket-IP/t/19no-addrs ................................ ok
...
t/x2p/find2perl ............................................... ok
t/x2p/s2p ..................................................... ok
Failed 2 tests out of 2334, 99.91% okay.
        ../cpan/IO-Socket-IP/t/15io-socket.t
        ../cpan/IO-Socket-IP/t/16v6only.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
###   ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
###   setenv LD_LIBRARY_PATH `pwd`; cd t; ./perl harness
###   LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH; cd t; ./perl harness
###   export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
u=7.09  s=1.48  cu=406.20  cs=16.95  scripts=2334  tests=710280
makefile:808: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/tmp/buildd/perl-5.20.0'
debian/rules:88: recipe for target 'perl.static' failed
make: *** [perl.static] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

The build environment does have an lo interface set up, so I'm not sure why
IO::Socket->new(Domain=>AF_INET) would be failing.  It doesn't have any IPv6
set up AFAIK, but I'm not sure that should be a requirement.
-- 
Daniel Schepler




More information about the Perl-maintainers mailing list