Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33234 - wget with ipv6 refuses to download with error "failed: Address family not supported by protocol"
Summary: wget with ipv6 refuses to download with error "failed: Address family not sup...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Greg Fitzgerald (RETIRED)
URL: http://www.mail-archive.com/wget@suns...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 08:37 UTC by SI Reasoning
Modified: 2011-10-30 22:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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