[DRE-maint] Bug#666596: Bug #666596: ruby-mechanize: FTBFS:	ArgumentError: invalid value for port: "http"
    Christian Hofstaedtler 
    christian at hofstaedtler.name
       
    Mon May  7 12:51:58 UTC 2012
    
    
  
* 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?
> Wouldn't it make sense to replace 'http' by
> 80 in the test? That would also avoid problems when backporting to
> squeeze.
The test specifically tests that services can be specified by name,
so 'http' should stay, IMO.
Thank you for your time,
  -ch
    
    
More information about the Pkg-ruby-extras-maintainers
mailing list