Bug 242268

Summary: cloud.github.com does not work, we need to use something else (affects ghc)
Product: Ports & Packages Reporter: Dan Langille <dvl>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: New ---    
Severity: Affects Many People CC: portmaster, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dan Langille freebsd_committer 2019-11-27 17:49:41 UTC
cloud.github.com no longer resolves. It is not likely to return.

I don't have a fix, but wanted to lodge the PR to the issue known.

$ host cloud.github.com
cloud.github.com is an alias for d24z2fz21y4fag.cloudfront.net.
$ host d24z2fz21y4fag.cloudfront.net

This results in fetch failures. At least one port has been marked BROKEN because of this and since fixed[1]

The lines in question [2]:

# We are cheating and using backend URLS for GitHub here. See ports/194898
# comment #15 for explanation as to why and how to deal with it if it breaks.
MASTER_SITE_GITHUB+=		https://codeload.github.com/%SUBDIR%
MASTER_SITE_GITHUB_CLOUD+=	https://cloud.github.com/downloads/%SUBDIR%

From reading comment #15 [3](as mentioned above), it is not clear to me how to proceed.

[1] sysutils/zfs-stats - https://svnweb.freebsd.org/ports?view=revision&revision=518503
[2] https://github.com/freebsd/freebsd-ports/blob/master/Mk/bsd.sites.mk#L392-L395
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194898#c15
Comment 1 Dan Langille freebsd_committer 2019-11-27 18:45:07 UTC
bapt@ tells me there's only about 20 ports affected.
Comment 2 Dan Langille freebsd_committer 2019-11-27 18:57:48 UTC
I will email those maintainers.
Comment 3 Dan Langille freebsd_committer 2019-11-27 19:12:07 UTC
The list:

converters/lua-iconv/Makefile:MAINTAINER=	vanilla@FreeBSD.org
converters/lua51-iconv/Makefile:MAINTAINER=	feld@FreeBSD.org
deskutils/devd-notifier/Makefile:MAINTAINER=	f.unglaub@googlemail.com
devel/libcli/Makefile:MAINTAINER=	ports@FreeBSD.org
graphics/glosm/Makefile:MAINTAINER=	amdmi3@FreeBSD.org
java/netty-tcnative/Makefile:MAINTAINER=	dvl@FreeBSD.org
lang/rhino/Makefile:MAINTAINER=	nivit@FreeBSD.org
mail/libsieve/Makefile:MAINTAINER=	ports@FreeBSD.org
math/liblbfgs/Makefile:MAINTAINER=	gaod@hychen.org
sysutils/bsdinfo/Makefile:MAINTAINER=	freebsd-ports@samu.pl
sysutils/confctl/Makefile:MAINTAINER=	trasz@FreeBSD.org
textproc/syck/Makefile:MAINTAINER=	ports@FreeBSD.org
www/ach/Makefile:MAINTAINER=	danilo@FreeBSD.org
www/mod_xsendfile/Makefile:MAINTAINER=	potatosaladx@gmail.com
www/p5-Ark/Makefile:MAINTAINER=	kuriyama@FreeBSD.org
www/tinytinyhttpd/Makefile:MAINTAINER=	smatsui@karashi.org
Comment 4 Dan Langille freebsd_committer 2019-11-27 19:18:12 UTC
mail to smatsui@karashi.org bounced.
Comment 5 Chris Hutchinson 2019-11-27 23:51:19 UTC
As I understand it from the mailing list thread;
it's a problem with/on GitHub that they are (unwilling?)
to resolve. Couldn't someone, maybe even me, simply
mirror GHC on say GitLab. Then use the mirror for any,
and all affected ports? Maybe even GHC itself?

Just a thought. :)