|Summary:||cloud.github.com does not work, we need to use something else (affects ghc)|
|Product:||Ports & Packages||Reporter:||Dan Langille <dvl>|
|Component:||Ports Framework||Assignee:||Port Management Team <portmgr>|
|Severity:||Affects Many People||CC:||andrew, danfe, hiroo.ono+freebsd, portmaster, ports-bugs|
Description Dan Langille 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 The lines in question : # 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 (as mentioned above), it is not clear to me how to proceed.  sysutils/zfs-stats - https://svnweb.freebsd.org/ports?view=revision&revision=518503  https://github.com/freebsd/freebsd-ports/blob/master/Mk/bsd.sites.mk#L392-L395  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194898#c15
Comment 1 Dan Langille 2019-11-27 18:45:07 UTC
bapt@ tells me there's only about 20 ports affected.
Comment 2 Dan Langille 2019-11-27 18:57:48 UTC
I will email those maintainers.
Comment 3 Dan Langille 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= email@example.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= firstname.lastname@example.org sysutils/bsdinfo/Makefile:MAINTAINER= email@example.com 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= firstname.lastname@example.org www/p5-Ark/Makefile:MAINTAINER= kuriyama@FreeBSD.org www/tinytinyhttpd/Makefile:MAINTAINER= email@example.com
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. :) --Chris
Comment 6 andrew 2020-04-05 03:31:23 UTC
Just removing the "cloud." subdomain seems to suffice? i.e. change bsd.sites.mk to use https://github.com/downloads/%SUBDIR%
Comment 7 andrew 2020-04-05 19:03:12 UTC
(In reply to andrew from comment #6) Confirmed that everything that still points to GHC passes 'make checksum' if this change is made.
Comment 8 Alexey Dokuchaev 2020-04-15 10:48:45 UTC
I'd suggest we dump the GHC altogether and convert those few ports to simple MASTER_SITES=https://github.com/downloads/... to be done with it. GHC itself now is misspelling since they dropped the "cloud" prefix. Even when it was meaningful, it was still confusing to have usual GitHub-related knobs meaning something else in presence of MASTER_SITES=GHC. It's hacky and confusing, asking for abuse and mistakes.
Comment 9 Hiroo Ono 2020-04-23 13:31:58 UTC
devel/breakpad also seems to be affected, but just changing cloud.github.com to github.com in bsd.sites.mk did not solve the problem. The project ( https://github.com/google/breakpad ) exists. Does anyone know how to deal with it?
Comment 10 andrew 2020-04-23 13:55:11 UTC
(In reply to Hiroo Ono from comment #9) devel/breakpad is not using MASTER_SITES=GHC and is therefore not affected by this bug. Whatever is causing it to fail to fetch is unrelated. (FWIW, right now _all_ github downloads appear to be failing for me with "500: Internal Server Error")
Comment 11 andrew 2020-04-23 14:54:58 UTC
(In reply to Hiroo Ono from comment #9) Now that github isn't broken, it's clear that the issue with devel/breakpad is that the file size and/or checksum has changed (which is a common issue with ports that just fetch a github snapshot). Updating the distinfo should be sufficient, but given that the port is nearly 3 years out of date it may require more attention than that.