[DRE-maint] Bug#666596: Bug #666596: ruby-mechanize: FTBFS: ArgumentError: invalid value for port: "http"

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 08:15:33 UTC 2012


On 07/05/12 at 14:51 +0200, Christian Hofstaedtler wrote:
> * Lucas Nussbaum <lucas at debian.org> [120507 10:49]:
> > On 05/05/12 at 20:17 +0200, Christian Hofstaedtler wrote:
> > > I've reproduced this problem locally; this happens if the definition for
> > > "http" is missing from /etc/services.
> > > 
> > > Is it reasonable to assume that configuration files of Priority: important
> > > packages are in a sane state during build time?
> > > If so, then I'd suggest lowering the severity and possibly marking
> > > this bug wontfix.
> > 
> > This is caused by a change between squeeze and sid regarding the entry
> > for '80' in /etc/services.
> 
> I've checked /etc/services on a squeeze system, the '80' entry looks
> like this:
> 
> www             80/tcp          http            # WorldWideWeb HTTP
> www             80/udp                          # HyperText Transfer Protocol
> 
> On sid:
> 
> http            80/tcp          www             # WorldWideWeb HTTP
> http            80/udp                          # HyperText Transfer Protocol
> 
> Nevertheless, I've checked that the test works with the entry from
> squeeze. I don't understand what's going on in your chroot.
> 
> Could you attach a copy of the /etc/services file or the '80' entry
> from the chroot?

Ah, got it.

ruby-mechanize does not build depend on netbase, so there's no
/etc/services in the build chroot.

You just need to add that build-depend.

Lucas





More information about the Pkg-ruby-extras-maintainers mailing list