[Bug]: make bootstrap fails when checking for golangci-lint version and attempting install
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 84/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- build-system, devtools
Research direction
Open the Makefile and inspect the bootstrap recipe, which the report identifies as the failing step. Compare the golangci-lint installer URL there with the working main branch URL shown in the issue. Done when make bootstrap installs or checks golangci-lint successfully on the reported platform.
Written by the indexing model from the issue text.
Description
Steps to Reproduce
Pull Down latest source for step-ca v0.30.2 from Releases
Go is installed already
Expand per usual
cd certificates-0.30.2
make bootstrap
Your Environment
- OS - DietPi 10.9.3
step-caVersion - 0.29.0
Expected Behavior
Checks on golangci-lint version, and if necessary downloads and installs latest from GitHub
make bootstrap
golangci/golangci-lint info checking GitHub for tag 'latest'
golangci/golangci-lint info found version: 2.15.0 for v2.15.0/linux/arm64
golangci/golangci-lint info installed /root/go/bin/golangci-lint
go: downloading golang.org/x/vuln v1.10.0
...
and bootstrapping completes.
Actual Behavior
golangci/golangci-lint info checking GitHub for tag 'latest'
golangci/golangci-lint info found version: 2.15.0 for v2.15.0/linux/arm64
golangci/golangci-lint err hash_sha256_verify checksum for '/tmp/tmp.DohgB7bYSB/golangci-lint-2.15.0-linux-arm64.tar.gz' did not verify b4d8f17068b35ee6060cc2f69a16fb48740d706fbba81661c318649c114a6998
d4cc925874829d4f854185e8b6ed35a5ead32732741a187339c6bb7f74577d95 vs b4d8f17068b35ee6060cc2f69a16fb48740d706fbba81661c318649c114a6998
make: *** [Makefile:21: bootstrap] Error 1
Additional Context
Trying to upgrade to v0.30.2 from v0.29.0 from source
Per Issue 6745 on golanci-lint GitHub repo, the master branch is superceded by main.
Easy to fix if we change from:
$Q curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin latest
To:
$Q curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/main/install.sh | sh -s -- -b $$(go env GOPATH)/bin latest
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
See fix above.
- Dominant language
- Go
- Stars
- 8.9k
- Forks
- 599
- Avg merge
- 21h 20m
- Merged PRs (30d)
- 15
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from smallstep/certificates
-
needs triage
Difficulty 1/5 Under an hour Newbie friendliness 65/100
smallstep/certificates#2788 ·
Maintainers usually reply within 1 day
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
smallstep/certificates#2730 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
smallstep/certificates#2860 · 2 comments ·
Maintainers usually reply within 1 day
-
[Bug]: Tokens fail validation after the identity provider rotates its signing key until the JWKS cache expiresPossibly taken @APWHY claimed this 99 days ago. Openbug needs triage
Difficulty 3/5 1-2 days Newbie friendliness 35/100
smallstep/certificates#2831 · 3 comments ·
Maintainers usually reply within 1 day
-
NOTIFYING webhooks are only called for SCEP, and never on renewalPossibly taken @dcdamien claimed this 46 days ago. Openenhancement needs triage
Difficulty 4/5 3-5 days Newbie friendliness 50/100
smallstep/certificates#2821 ·
Maintainers usually reply within 1 day
All issues in smallstep/certificates
Similar issues
-
bug(terraform): a `kubernetes_manifest` the scan can't fully read is dropped and nothing says soOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OneBusAway/watchdog#455 ·
Maintainers usually reply within 1 day
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rootsiemen/loophole#97 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
SocialGouv/iterion#3889 ·
Maintainers usually reply within 1 day
-
Docs / Zero-code Instrumentation / Go - Outdated `Work In Progress` and Archived Repo ReferenceOpendocs
Difficulty 1/5 Under an hour Newbie friendliness 82/100
open-telemetry/opentelemetry.io#12890 ·
Maintainers usually reply within 1 day