Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31798 - wget does not download any more
Summary: wget does not download any more
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest blocker (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-23 01:05 UTC by Bernd Wurst
Modified: 2003-12-02 02:55 UTC (History)
4 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 Bernd Wurst 2003-10-23 01:05:39 UTC
I did emerge -uD world this morning and there was an upgrade to wget-1.9.

After that, emerge could not download any more. The error message thrown by wget is "failed: Address family not supported by protocol."
In a chat session, someone adviced me to re-emerge wget that would solve the problem. But it didn't.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.23-pre7)
=================================================================
System uname: 2.4.23-pre7 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.4.3.11
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://192.168.30.3/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 foomaticdb libg++ mad mikmod xml2 xv zlib directfb gtkhtml gdbm berkdb slang readline svga guile sdl gpm tcpd pam libwww ssl esd imlib motif opengl dga ggi plotutils xml gd -3dnow -apm -arts alsa hbci X ipv6 gtk gnome oss tcltk gtk2 kde aalib acpi apache2 avi bonobo cdr crypt cups dvd encode fbcon gif jpeg tiff png -java mozilla mmx maildir mbox ncurses nls cardbus oggvorbis mpeg pdflib perl python qt quicktime samba scanner spell sse tetex truetype usb xface xmms mysql mozsvg mozcalendar gnomedb dv"
Comment 1 Andreas Simon 2003-10-23 01:46:37 UTC
I confirm this. No matter what protocol or what address, the outcome is always
the same:

# wget http://www.gentoo.org/main/en/about.xml
--10:44:38--  http://www.gentoo.org/main/en/about.xml
           => `about.xml'
Resolving www.gentoo.org... 203.112.31.164, 212.162.48.146, 195.66.242.4
Connecting to www.gentoo.org[203.112.31.164]:80... failed: Address family
not supported by protocol.
Connecting to www.gentoo.org[212.162.48.146]:80... failed: Address family
not supported by protocol.
Connecting to www.gentoo.org[195.66.242.4]:80... failed: Address family not
supported by protocol.
Retrying.



# wget ftp://ftp.kernel.org/pub/README
--10:45:56--  ftp://ftp.kernel.org/pub/README
           => `README'
Resolving ftp.kernel.org... 204.152.189.116
Connecting to ftp.kernel.org[204.152.189.116]:21... failed: Address family
not supported by protocol.
Retrying.
Comment 2 Andreas Simon 2003-10-23 02:03:34 UTC
A workaround is to emerge wget with -ipv6. The problem is only there when
ipv6 is in $USE.
Comment 3 Wilbur Pan 2003-10-24 11:45:23 UTC
I'd like to confirm this behavior.  wget does not work with USE=ipv6 turned
on, but does work with USE=-ipv6 set.
Comment 4 Veiko Kukk 2003-10-25 03:43:50 UTC
I can confirm this bug!
Comment 5 ari edelkind 2003-10-27 01:57:22 UTC
Please see http://www.episec.com/people/edelkind/patches/ for a dual-family
patch for wget 1.9.  I have submitted this patch to the wget-patches list
as well.
Comment 6 Mario Vazquez 2003-10-28 17:52:39 UTC
Have same problem, emerging with -ipv6 worked.

Try again compiling wget with ipv6 support after loading ipv6 kernel module
(wasn't loaded by default) and after that, also wget worked.

People that have problems with it should check if ipv6 kernel support was
compiled as a module and in that case, check if you are loading it or not.
Comment 7 Andreas Simon 2003-10-29 01:03:36 UTC
You're right, I did'nt had any ipv6 kernel modules loaded. But regardless
wget should'nt break then. Older wget versions work even without ipv6 kernel
support. This breakage is new and was introduced with version 1.9.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-03 15:34:29 UTC
seemant: you bumped the version on wget, please fix it!
use the dual family patches that the one person here posted.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2003-11-03 15:54:58 UTC
committed wget-1.9-r1 with ari's patch. sorry for the inconvenience, everyone.
Comment 10 Imad R. Faiad 2003-12-02 02:53:46 UTC
wget-1.9.1-r2 as well as wget-1.9.1-r1 fail to download.
my USE flag contains "-ipv6"
the only way I get could wget to work again is by either not applying the ipvmisc patch or by adding
myconf="${myconf} --with-ipv4-default"
to the ebuild. is there a chance that the ebuild be made to configures "--with-ipv4-default" when -ipv6 is specified, or a least enable the user to set "--with-ipv4-default" without having to edit the ebuild every time?
TIA