[MacPorts] #70283: gopls @0.16.0: checksum mismatch
MacPorts
noreply at macports.org
Mon Jun 24 03:00:22 UTC 2024
#70283: gopls @0.16.0: checksum mismatch
---------------------+----------------------
Reporter: amake | Owner: ra1nb0w
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gopls |
---------------------+----------------------
Comment (by ryandesign):
The way to do that is:
{{{#!diff
diff --git a/devel/gopls/Portfile b/devel/gopls/Portfile
index 83a7c8eb846..f38b4a3c69e 100644
--- a/devel/gopls/Portfile
+++ b/devel/gopls/Portfile
@@ -15,11 +15,11 @@ long_description {*}${description}
go.setup golang.org/x/tools 0.16.0 gopls/v
go.offline_build no
github.tarball_from archive
-revision 0
-
-checksums rmd160 4fb04a9172e61f2d4328111655d71314778bbe49 \
- sha256
c63ef6f604e82be6c5b6e5f65fa291440459b4da7cde7b4e01d46ad1ac066ea9 \
- size 3625708
+distname ${name}-${version}
+revision 1
+checksums rmd160 4b93bff003eabc1129bcfaa22f2c94ee2497e920 \
+ sha256
0775f9769a4dfc54dfaa41182d3725f44a8fd6eaed2568390dde7f5803f931be \
+ size 3872411
build.dir ${worksrcpath}/${name}
}}}
Unfortunately the golang portgroup is not compatible with changing the
distname. The golang portgroup needs to be fixed or the gopls port and any
other affected ports need to work around that deficiency by renaming the
worksrcdir after extraction.
--
Ticket URL: <https://trac.macports.org/ticket/70283#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list