pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Force pkgsrc to use IPv4 when downloading package source?
[I had to manually add pkgsrc-users@ because your message appears
malformed to me]
On Mon, 3 Aug 2020 at 06:20, Xavier Nye <xaviernye%msn.com@localhost> wrote:
>
> Hello, recently I went through and managed to get pkgsrc bootstrapped on HP-UX 11.11. However, while attempting to build packages from source, pkgsrc attempts to fetch the source from an ipv6 network address, which ultimately fails. For example, textproc/grep:
>
> bash-4.3$ bmake
> => Bootstrap dependency digest>=20010302: found digest-20190127
> => Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
> => Fetching grep-3.3.tar.xz
> => Total size: 1473056 bytes
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> ftp: Unsupported URL scheme `https'
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> Trying 2001:708:10:8::2:21 ...
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> ftp: Unsupported URL scheme `https'
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> Trying 2001:470:142:3::b:80 ...
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> Trying 2001:19d0:306:6:0:1994:3:14:80 ...
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> Trying 2a04:4e42::262:80 ...
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> Trying 2001:660:3302:282a:204:75ff:fe9f:9e11:80 ...
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> Trying 2001:470:a085:999::21:80 ...
> ftp: Unable to determine rcvbuf size: Bad address
> fetch: Unable to fetch expected file grep-3.3.tar.xz
> *** Error code 1
>
> Stop.
> bmake: stopped in /home/build/pkgsrc/textproc/grep
>
> Although I have the requisite kernel patches and the bundle for IPv6 support, I don't believe that the ISP supports IPv6 for this residential connection (for example, on a different machine, ping 2001:4860:4860::8888 simply returns "transmit failed: general failure").
>
> Is there any way I can configure pkgsrc to use IPv4 hosts for downloading the sources instead of IPv6?
I don't think pkgsrc can be configured to use only IPv4. This is an
issue with your OS, which I guess is NetBSD. I think there is/was a
longstanding bug (probably fixed in -current by now) by which NetBSD
doesn't switch to ipv4 when ipv6 is not available, see:
https://mail-index.netbsd.org/port-amd64/2018/02/27/msg002670.html
Otherwise, you need to give more context.
I also see errors about ftp not understanding https address. Maybe using:
FETCH_USING?=wget
or
FETCH_USING?= curl
--
Ottavio Caruso
Home |
Main Index |
Thread Index |
Old Index