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

Fails to build with current Go versions: #33

Closed
yurivict opened this issue Mar 29, 2022 · 4 comments
Closed

Fails to build with current Go versions: #33

yurivict opened this issue Mar 29, 2022 · 4 comments
Assignees

Comments

@yurivict
Copy link

vendor/github.com/lucas-clemente/quic-go/internal/qtls/go118.go:6:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration

OS: FreeBSD 13

@mr-karan
Copy link
Owner

Works fine on Arch Linux:

make build 
go build -o ./bin/doggo-api.bin -ldflags="-X 'main.buildVersion=79c5fc7' -X 'main.buildDate=2022-03-29 22:51:34'" ./cmd/api/
go build -o ./bin/doggo.bin -ldflags="-X 'main.buildVersion=79c5fc7' -X 'main.buildDate=2022-03-29 22:51:34'" ./cmd/doggo/

I did enable support for 1.18 last week in this commit.

Can you confirm you're doing a make build from HEAD on main?

@yurivict
Copy link
Author

No, I use the latest stable version v0.5.0, because this is for the port.

Could you please make a release then?

@mr-karan
Copy link
Owner

Ah, my bad. I didn't mean to publish the v0.5.0 tag as a release.

I've already created a release last week: https://github.com/mr-karan/doggo/releases/tag/v0.4.2

Can you please use this? I'm deleting that one.

@mr-karan mr-karan self-assigned this Mar 29, 2022
@yurivict
Copy link
Author

Thank you!

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Mar 29, 2022
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