[Ports] To resolve 'Not Found' or 'Connection refused' problems
Hi,
Looking at the failed ports in Poudriere, I could see this:
~/log/ci-08.md.hardenedbsd.org/data/hardenedbsd-current_amd64-local/2021-04-19_16h24m35s/logs/errors$ grep -ir "not found" * | grep fetch
bmake-20210314.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/bmake-20210314.tar.gz: Not Found
bsdisks-0.26.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/bsdutils-bsdisks-e0e705f78ff9ae710eb022941e5e4032619ffcbb_GL0.tar.gz: Not Found
folly-2021.04.19.00.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/facebook-folly-v2021.04.19.00_GH0.tar.gz: Not Found
geomWatch-1.3.0_3.log:fetch: http://svnweb.freebsd.org/base/head/sys/cddl/compat/opensolaris/sys/nvpair.h?revision=279437&view=co: Not Found
geomWatch-1.3.0_3.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/nvpair.h?revision=279437&view=co: Not Found
ja-xtr-1.50e.0.2_8.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/xtr1.50e-0.2.tgz: Not Found
libpushover-g2020061601.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/HardenedBSD-libpushover-7041b121ddd8c774a72e944ab68c97a04dfc68a1_GL0.tar.gz: Not Found
lpac-1.40.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/lpac-1.40.tar.gz: Not Found
luit-20210218.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/luit-20210218.tgz: Not Found
mkgmap-r4652.log:fetch: http://www.mkgmap.org.uk/download/mkgmap-r4652.tar.gz: Not Found
mkgmap-r4652.log:fetch: http://mirror.amdmi3.ru/distfiles/mkgmap-r4652.tar.gz: Not Found
mkgmap-r4652.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/mkgmap-r4652.tar.gz: Not Found
molden-5.8.2_3,1.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/molden5.8.2.tar.gz: Not Found
ossp-xds-0.9.3_1.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/xds-0.9.3.tar.gz: Not Found
rpcs3-0.0.15.12113.log:-- Looking for __atomic_fetch_add_4 in atomic - not found
rubygem-actionview61-6.1.3.1.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/actionview-6.1.3.1.gem: Not Found
rubygem-activejob60-6.0.3.6.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/activejob-6.0.3.6.gem: Not Found
rubygem-activerecord60-6.0.3.6.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/activerecord-6.0.3.6.gem: Not Found
rubygem-aws-partitions-1.438.0.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/aws-partitions-1.438.0.gem: Not Found
rubygem-aws-sigv4-1.2.3.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/aws-sigv4-1.2.3.gem: Not Found
rubygem-google-cloud-env-1.5.0.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/google-cloud-env-1.5.0.gem: Not Found
rubygem-kramdown-2.3.1.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/kramdown-2.3.1.gem: Not Found
rubygem-railties60-6.0.3.6.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/rubygem/railties-6.0.3.6.gem: Not Found
scli-0.5.0.72.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/isamert-scli-v0.5.0-72-g1dbe3ff_GH0.tar.gz: Not Found
sgt-puzzles-20210409.log:fetch: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-20210409.69b5e75.tar.gz: Not Found
sgt-puzzles-20210409.log:fetch: https://mirror.amdmi3.ru/distfiles/puzzles-20210409.69b5e75.tar.gz: Not Found
sgt-puzzles-20210409.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/puzzles-20210409.69b5e75.tar.gz: Not Found
ugene-38.0.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/ugeneunipro-ugene-38.0_GH0.tar.gz: Not Found
vdr-plugin-markad-0.1.4_10.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/vdr/vdr-markad-0.1.4.tgz: Not Found
webalizer-geodb-20210401.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/webalizer-geodb-20210401.tgz: Not Found
xmdiary-3.0.3_6.log:fetch: http://distcache.FreeBSD.org/ports-distfiles/xmdiary-3.0.3.tar.gz: Not Found
and:
~/log/ci-08.md.hardenedbsd.org/data/hardenedbsd-current_amd64-local/2021-04-19_16h24m35s/logs/errors$ grep -ir "Connection refused" * | grep fetch
bmake-20210314.log:fetch: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg/bmake-20210314.tar.gz: Connection refused
ja-xtr-1.50e.0.2_8.log:fetch: ftp://ftp.abk.nu/pub/redist/xtr/xtr1.50e-0.2.tgz: Connection refused
luit-20210218.log:fetch: ftp://ftp.invisible-island.net/luit/luit-20210218.tgz: Connection refused
molden-5.8.2_3,1.log:fetch: ftp://ftp.cmbi.umcn.nl/pub/molgraph/molden/molden5.8.2.tar.gz: Connection refused
ossp-xds-0.9.3_1.log:fetch: ftp://ftp.ossp.org/pkg/lib/xds/xds-0.9.3.tar.gz: Connection refused
ossp-xds-0.9.3_1.log:fetch: ftp://ftp.ntua.gr/pub/utils/ossp/lib/xds/xds-0.9.3.tar.gz: Connection refused
webalizer-geodb-20210401.log:fetch: ftp://ftp.mrunix.net/pub/webalizer/geodb/webalizer-geodb-20210401.tgz: Connection refused
webalizer-geodb-20210401.log:fetch: ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/webalizer-geodb-20210401.tgz: Connection refused
xmdiary-3.0.3_6.log:fetch: ftp://ftp.gwdg.de/pub/x11/x.org/contrib/office/xmdiary-3.0.3.tar.gz: Connection refused
I think the solution would be to have a url like "http://distcache.HardenedBSD.org/ports-distfiles/" which would contain the sources in error as above. This will allow to have working ports.
For ease of use, maybe the url would point to a git repo?
Thanks.