[MacPorts] #72874: please @15.12.0: checksum mismatch

MacPorts noreply at macports.org
Wed Sep 9 18:37:25 UTC 2026


#72874: please @15.12.0: checksum mismatch
-------------------------+-------------------------
  Reporter:  ryandesign  |      Owner:  herbygillot
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.11.5
Resolution:              |   Keywords:
      Port:  please      |
-------------------------+-------------------------

Comment (by jrjsmrtn):

 Three of this port's vendored projects moved to a new GitHub owner:

 {{{
 github.com/shurcooL/go-goon      -> shurcooL-deprecated/go-goon
 github.com/armon/go-metrics      -> hashicorp/go-metrics
 github.com/bazelbuild/buildtools -> bazel-contrib/buildtools
 }}}

 GitHub embeds the repository name in the tarball's top-level directory, so
 the
 bytes changed while the commit did not — the archive for 37c2f522c041 now
 unpacks as `shurcooL-deprecated-go-goon-37c2f52/`. Each extracted tarball
 is
 byte-identical to a checkout of its pinned ref, so only the packaging
 changed.

 Naming the current repo is better here than just correcting the checksums,
 because distfiles.macports.org disagrees with upstream per file: it serves
 the
 post-rename go-goon, but has no copy at all of go-metrics or buildtools. A
 `repo` line gives the distfile a name no stale copy answers to.

 {{{
                     github.com/shurcooL/go-goon \
                         repo    github.com/shurcooL-deprecated/go-goon \
                         lock    37c2f522c041 \
                         rmd160  ef40ce50d6728ad7318cea9555b46ee933cc3949 \
                         sha256
 03a0f8af4ffee78f2384949c15e3b199580e3e3e6300f8c16d93d2134aa28b05 \
                         size    8843 \
                     github.com/armon/go-metrics \
                         repo    github.com/hashicorp/go-metrics \
                         lock    f0300d1749da \
                         rmd160  868553b1724d28811b38ebb98003cebd56656340 \
                         sha256
 a964bec803ee182978de8f10883f23d253dc0818960ad0850d86d173a94f5adc \
                         size    23843 \
                     github.com/bazelbuild/buildtools \
                         repo    github.com/bazel-contrib/buildtools \
                         lock    4bcdbd1064fc \
                         rmd160  2ca13b1905dc38478bcd44dbede079128f921201 \
                         sha256
 ce48c9ae936d28223885aeaa8e6be72222c0ed1153c55704afccc596f38be86f \
                         size    205086 \
 }}}

 The same rename class affects seven other ports; the fix for those is
 https://github.com/macports/macports-ports/pull/34580. please is left out
 of
 that PR because it still does not build once the fetch succeeds — it fails
 in
 gopsutil's cgo:

 {{{
 ../../shirou/gopsutil/cpu/cpu_darwin_cgo.go:13:5: 'TARGET_OS_MAC' is not
 defined
 }}}

 Tested on macOS 26.6.2 arm64, go 1.27.1.

-- 
Ticket URL: <https://trac.macports.org/ticket/72874#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list