Comment 8 for bug 20235

Revision history for this message
In , Niko Tyni (ntyni) wrote :

reopen 324590
thanks

Hi,

this bug (libio-socket-ssl-perl FTBFS due to /etc/protocols missing
from a pbuilder chroot) can be reproduced in a newly created chroot of
a 'buildd' or 'minimal' flavour:

pbuilder create --debootstrapopts --flavour=buildd [...]

These chroots don't contain netbase, because it's neither essential nor
build-essential, and not a dependency of them either. Thus it should be
in Build-Depends.

I suppose another proper fix would be for perl-base to depend on
netbase, as its IO::Socket::INET needs /etc/protocols for the default
value of 'proto'. OTOH, people could use IO::Socket::INET without
netbase by explicitly supplying the protocol by number...

I'm CCing the 2-year old perl bug #185244 about this.

(Another missing build-dependency for libio-socket-ssl-perl
seems to be makedev, which is needed for /dev/random but
is missing from the minimal and buildd chroots too.)

Cheers,
--
Niko Tyni <email address hidden>