Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken build due to outdated go version #58

Open
a-rose opened this issue Aug 9, 2021 · 2 comments
Open

Broken build due to outdated go version #58

a-rose opened this issue Aug 9, 2021 · 2 comments

Comments

@a-rose
Copy link

a-rose commented Aug 9, 2021

Hi,

Building with make led me to the error below:

gopath/src/github.com/golang-jwt/jwt/ecdsa.go:135:4: r.FillBytes undefined (type *big.Int has no field or method FillBytes)
gopath/src/github.com/golang-jwt/jwt/ecdsa.go:136:4: s.FillBytes undefined (type *big.Int has no field or method FillBytes)

This can be fixed by upgrading Go to the latest stable release (go1.16.7 at the time of writing) in docker.sh.

Thanks :)

edit: some more changes are needed after upgrading; need to add @latest after prom2json and git-chlo

GOPATH=/gopath /usr/local/go/bin/go install github.com/prometheus/prom2json/cmd/prom2json@latest && \
GOPATH=/gopath /usr/local/go/bin/go get github.com/git-chglog/git-chglog && \
GOPATH=/gopath /usr/local/go/bin/go install github.com/git-chglog/git-chglog/cmd/git-chglog@latest && \
rm -rf /var/lib/apt/lists/*
@tymon42
Copy link

tymon42 commented Oct 4, 2021

The same.

@a-rose
Copy link
Author

a-rose commented Oct 5, 2021

I submitted a PR for this last week: #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants