pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Force pkgsrc to use IPv4 when downloading package source?



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?


Home | Main Index | Thread Index | Old Index