Page MenuHomeFreeBSD

sysutils/locki: Fix checksum
ClosedPublic

Authored by grembo on Sat, Mar 7, 12:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 25, 11:13 PM
Unknown Object (File)
Wed, Mar 25, 12:35 PM
Unknown Object (File)
Thu, Mar 19, 12:26 PM
Unknown Object (File)
Wed, Mar 18, 11:15 PM
Unknown Object (File)
Sun, Mar 15, 11:42 PM
Unknown Object (File)
Sat, Mar 14, 10:20 PM
Unknown Object (File)
Fri, Mar 13, 1:15 AM
Unknown Object (File)
Wed, Mar 11, 9:09 AM
Subscribers
None

Details

Summary

This reverts commit 1dff87feb9cdb23f040422deba3697f5cebf79dc.

The upstream file was restored to its previous version.

This fixes checksum locally for me. Please confirm it's not limited to my system. Could be some regional CDN problem.

Convert the port to pure go:modules (GH_TUPLE is not required), which is a) better and b) solves the checksum issue as a side-effect.

Test Plan

make checksum in the port

Build and install the port, poudriere testport.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bdrewery created this revision.

Hate to say it, but make distclean && make checksum succeeded for me as-is.

@bdrewery @adamw Well, so for me (from Germany in various locations/ISPs) buildings works with the patch I committed and would fail without it (just tried on a new server, since the package wasn't available).

On the other hand, builds on the cluster are failing now (which I assume is US of A).

So might really be a CDN issue. Any way this could be solved (we don't allow multiple alternative checksums per file, do we)?

fetch -qo - https://codeload.github.com/hashicorp/consul/tar.gz/v1.5.1?dummy=/hashicorp-consul-v1.5.1_GH0.tar.gz | sha256
704511c916beb2e3de5cb4fc5d183d6e37bb31ad78252acd20da8a9e1153ebe0

Reordering the quoted reply for dramatic effect.

fetch -qo - https://codeload.github.com/hashicorp/consul/tar.gz/v1.5.1?dummy=/hashicorp-consul-v1.5.1_GH0.tar.gz | sha256
704511c916beb2e3de5cb4fc5d183d6e37bb31ad78252acd20da8a9e1153ebe0

I get that same output. And to confirm, that's what's currently in the tree, correct?

So might really be a CDN issue. Any way this could be solved (we don't allow multiple alternative checksums per file, do we)?

So, I'm unclear why this port is using both USES=go:modules and GH_TUPLE. The whole point of go:modules is that you don't need to list out stuff in GH_TUPLE.

My advice is: remove GH_TUPLE and post-extract:, re-run make makesum, and you should be good to go.

@adamw

I get that same output. And to confirm, that's what's currently in the tree, correct?

That is correct, and since the only difference is a longer hash inside the archive, it should be the "correct" one long term (I don't think they will shorten hashes).

My advice is: remove GH_TUPLE and post-extract:, re-run make makesum, and you should be good to go.

I'll try that (the maintainer seems to have only this one port and isn't in phabricator).

grembo edited reviewers, added: bdrewery; removed: grembo.
grembo edited the test plan for this revision. (Show Details)
grembo edited the test plan for this revision. (Show Details)

Upload patch, so review matches what we discussed.

@bdrewery Thanks for reporting
@adamw Thanks for your help

This revision was not accepted when it landed; it landed in state Needs Review.Tue, Mar 24, 1:07 PM
This revision was automatically updated to reflect the committed changes.