Subject: pkg/29011: Default build of wget 1.9.1nb3 (with inet6) doesn't work on non inet6 connexions.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <Gilles@Gravier.org>
List: pkgsrc-bugs
Date: 01/19/2005 14:42:00
>Number: 29011
>Category: pkg
>Synopsis: Default build of wget 1.9.1nb3 (with inet6) doesn't work on non inet6 connexions.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 19 14:42:00 +0000 2005
>Originator: Gilles Gravier
>Release: 2.0
>Organization:
>Environment:
NetBSD mailhost 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
The default build for wget 1.9.1nb3 has inet6 support. If your machine is on an IPv4 connection only, then it doesn't work. You have to manually disable inet6 support for wget to work using the PKG_OPTIONS.wget=
in /etc/mk.conf.
Default behavior should be that if inet6 is enabled, but no IPv6 connection present and only IPv4 available, wget should work properly on the IPv4 connextion.
>How-To-Repeat:
cd /usr/pkgsrc/*/wget
make
make install
wget http://www.netbsd.org/images/NetBSD.png
If on an IPv4 only link, and no specific options for wget, then wget will have been built with inet6 active... and the wget command will fail.
>Fix:
Add PKG_OPTIONS.wget= in /etc/mk.conf but I would prefer a fix to wget.