[MacPorts] #63700: filebrowser: checksum mismatch
MacPorts
noreply at macports.org
Wed Nov 3 23:36:24 UTC 2021
#63700: filebrowser: checksum mismatch
--------------------------+------------------------
Reporter: ryandesign | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: filebrowser |
--------------------------+------------------------
Comment (by ryandesign):
Not weird. The Apple Silicon buildbot worker is not on the same network as
the Intel workers. The Intel machines invariably fetch from our private
distfiles server on the same network which has the files with the last
known-good checksums, however the Apple Silicon machine could well fetch
from the original server if that's closer, just as some users might, and
you can see from the log that it did indeed fetch directly from github.com
not our distfiles mirror. So obviously a [wiki:PortfileRecipes#stealth-
updates stealth-update] has occurred. You can easily download
https://github.com/jtolds/gls/tarball/v4.20.0/jtolds-gls-v4.20.0.tar.gz
and https://distfiles.macports.org/go/jtolds-gls-v4.20.0.tar.gz and verify
that they are different: specifically, the name of the enclosing directory
has changed from jtolds-gls-b4936e0 to jtolio-gls-b4936e0 because the
project has moved from GitHub user jtolds to GitHub user jtolio. This is
why, if you are going to fetch from an automatically-generated GitHub
tarball, it is better to use "archive" type rather than "tarball" type
because "tarball" type includes the GitHub user name in the directory name
whereas "archive" type does not. Looks like this is a defect in the
golang-1.0 portgroup since it does not offer a way to receive GitHub
"archive" type files, which will of course be difficult to fix since just
changing the GitHub download URL in the portgroup would break the
checksums of all the ports that use it.
--
Ticket URL: <https://trac.macports.org/ticket/63700#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list