Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33234

Summary: wget with ipv6 refuses to download with error "failed: Address family not supported by protocol"
Product: Portage Development Reporter: SI Reasoning <si>
Component: UnclassifiedAssignee: Greg Fitzgerald (RETIRED) <gregf>
Status: RESOLVED TEST-REQUEST    
Severity: major CC: ipv6, releng
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.mail-archive.com/wget@sunsite.dk/msg05456.html
Whiteboard:
Package list:
Runtime testing required: ---

Description SI Reasoning 2003-11-11 08:37:21 UTC
When upgrading to net-misc/wget-1.9 and compiling with USE="+ipv6", any attempt 
to emerge any file that has not been previously downloaded gets the following 
error: 
failed: Address family not supported by protocol 

Reproducible: Always
Steps to Reproduce:
1.compile wget with USE="+ipv6" 
2.emerge -v {any program} 
3. 
Actual Results:  
received following error message when attempting to download the program to 
emerge: 
failed: Address family not supported by protocol 

Expected Results:  
properly downloaded the file 

Once I recompiled wget with USE="-ipv6", I was able to download the files 
needed to emerge a program.
Comment 1 thodi 2003-11-12 07:58:49 UTC
If it's not possible to add a command line switch to wget to tell it which protocol to use (like ssh has), what about this solution? You could make the ebuild compile wget twice. Once with, once without IPv6 support. Install them as wget4 and wget6 (like ping and ping6), and make wget a symlink to wget4. That way, everybody should be happy.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-11-17 14:17:46 UTC
This also kills catalyst due to default grp/stage2/stage3 flags.

There is a quick/reasonable fix at the bottom of the URL provided up top.
Comment 3 Greg Fitzgerald (RETIRED) gentoo-dev 2003-11-17 22:18:21 UTC
added a patch to fix this please test wget-1.9.1-rc1