Trying to update math/lapack from 3.9.1 to 3.10.0 gives this error. => Attempting to fetch http://www.netlib.org/lapack/manpages.tgz fetch: transfer timed out => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/lapack-3.10.0/manpages.tgz fetch: http://distcache.FreeBSD.org/ports-distfiles/lapack-3.10.0/manpages.tgz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/lapack-3.10.0 and try again. *** Error code 1 Stop. make: stopped in /usr/ports/math/lapack Is it O.K. that it is not found even on distcache.FreeBSD.org?
Testing manually results in successfully fetching the man page distfiles on both http and https schemes. @Reporter Are you able to test and isolate whether this is a transient issue, or also affects other ports. If so, it's likely a local issue. Try fetching (fetch or curl) the distfile manually
(In reply to Kubilay Kocak from comment #1) Tried for two days. No luck with both addresses (netlib.org and distcache.freebsd.org). More than that, you can see that netlib is unreachable, and from distcache it is not found. Different errors. Other ports are building. Not sure if they fetched from distcache.
Just trying # make distclean ===> Cleaning for lapack-3.10.0 ===> Deleting distfiles for lapack-3.10.0 # make fetch ===> License BSD3CLAUSE accepted by the user ===> lapack-3.10.0 depends on file: /usr/local/sbin/pkg - found => v3.10.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/lapack-3.10.0. => Attempting to fetch https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.0.tar.gz fetch: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.0.tar.gz: size unknown fetch: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.0.tar.gz: size of remote file is not known v3.10.0.tar.gz 7451 kB 6669 kBps 01s => manpages.tgz doesn't seem to exist in /usr/ports/distfiles/lapack-3.10.0. => Attempting to fetch http://www.netlib.org/lapack/manpages.tgz manpages.tgz 2389 kB 2071 kBps 01s ===> Fetching all distfiles required by lapack-3.10.0 for building Could you please report the output of $ fetch -v "http://www.netlib.org/lapack/manpages.tgz"
(In reply to Thierry Thomas from comment #3) I'm not sure if this is a regional filtering. I am from Russia, unfortunately. And I'm totally unsure that it is O.K. to have "not found" on distcache.FreeBSD.org servers. yury@94:/usr/ports/math/lapack# make distclean ===> Cleaning for lapack-3.10.0 ===> Deleting distfiles for lapack-3.10.0 yury@94:/usr/ports/math/lapack# fetch -v "http://www.netlib.org/lapack/manpages.tgz" resolving server address: www.netlib.org:80 requesting http://www.netlib.org/lapack/manpages.tgz fetch: transfer timed out yury@94:/usr/ports/math/lapack# make fetch ===> License BSD3CLAUSE accepted by the user ===> lapack-3.10.0 depends on file: /usr/local/sbin/pkg - found => v3.10.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/lapack-3.10.0. => Attempting to fetch https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.0.tar.gz fetch: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.0.tar.gz: size unknown fetch: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.0.tar.gz: size of remote file is not known v3.10.0.tar.gz 7451 kB 1080 kBps 07s => manpages.tgz doesn't seem to exist in /usr/ports/distfiles/lapack-3.10.0. => Attempting to fetch http://www.netlib.org/lapack/manpages.tgz fetch: transfer timed out => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/lapack-3.10.0/manpages.tgz fetch: http://distcache.FreeBSD.org/ports-distfiles/lapack-3.10.0/manpages.tgz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/lapack-3.10.0 and try again. *** Error code 1 Stop. make: stopped in /usr/ports/math/lapack yury@94:/usr/ports/math/lapack# fetch -v http://distcache.FreeBSD.org/ports-distfiles/lapack-3.10.0/manpages.tgz resolving server address: distcache.freebsd.org:80 requesting http://distcache.freebsd.org/ports-distfiles/lapack-3.10.0/manpages.tgz 404 Not Found 404 Not Found nginx fetch: http://distcache.FreeBSD.org/ports-distfiles/lapack-3.10.0/manpages.tgz: Not Found $ ping -c4 www.netlib.org PING netlib.org (160.36.131.221): 56 data bytes --- netlib.org ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss
I guess that the problem on distcache.FreeBSD.org is a matter of time, they should be refreshed quickly. I do not know the cause of the failure from netlib, but I have added a mirror for this file. May be wait for 1 or 2 hours, and let me know if this is fixed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6015b2965945c7a6ba8b6f5bef3706d57745e84b commit 6015b2965945c7a6ba8b6f5bef3706d57745e84b Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2021-07-04 19:50:06 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2021-07-04 19:52:44 +0000 math/lapack: make the manpages fetchable from everywhere Host the manpages, because they seem unfetchable from some locations. PR: 256965 Reported by: gja822 (at) narod.ru math/lapack/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
(In reply to commit-hook from comment #6) It's not accessible via http, but works fine with https: ~> fetch -sv https://www.netlib.org/lapack/manpages.tgz resolving server address: www.netlib.org:443 SSL options: 82004854 Peer verification enabled Using CA cert file: /usr/local/etc/ssl/cert.pem Verify hostname TLSv1.2 connection established using ECDHE-RSA-AES128-GCM-SHA256 Certificate subject: /CN=exascale.org Certificate issuer: /C=US/O=Let's Encrypt/CN=R3 requesting https://www.netlib.org/lapack/manpages.tgz 2446510 ~> fetch -sv http://www.netlib.org/lapack/manpages.tgz resolving server address: www.netlib.org:80 requesting http://www.netlib.org/lapack/manpages.tgz ^Cfetch: transfer interrupted
(In reply to Thierry Thomas from comment #5) Yes, now distcache is working. yury@94:/usr/ports/math/lapack# make fetch ===> License BSD3CLAUSE accepted by the user ===> lapack-3.10.0 depends on file: /usr/local/sbin/pkg - found => manpages.tgz doesn't seem to exist in /usr/ports/distfiles/lapack-3.10.0. => Attempting to fetch http://www.netlib.org/lapack/manpages.tgz fetch: transfer timed out => Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/thierry/lapack-3.10.0/manpages.tgz manpages.tgz 2389 kB 1654 kBps 01s ===> Fetching all distfiles required by lapack-3.10.0 for building (And as it was found out by Max Brazhnikov, https addresses to netlib.org work too.)
(In reply to Thierry Thomas from comment #5) Another problem with the man pages is that apart from not always being fetchable, this is an unversioned distfile which is frequently updated by upstream, causing the port to break. If you mirror the distfile, make sure to use a versioned file name and pull a fresh copy every time the port is updated.
I get a reminder to answer, but I do not know what. I've already said that "Yes, now distcache is working."
(In reply to gja822 from comment #10) You can mark *Status* as Closed -> Fixed. But as I said, this problem will recur in short order because upstream will update the manpages tar ball again some time soon.
Anyway, thanks for the report. Reminder: as written in comment #9 , let's try to host this file in a stable place for the next upgrade!