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

GO error when compiling #47

Closed
vanyolai opened this issue Oct 19, 2022 · 3 comments
Closed

GO error when compiling #47

vanyolai opened this issue Oct 19, 2022 · 3 comments

Comments

@vanyolai
Copy link

Hello, I wonder if anyone else has the same problem... The compiler quits with an error:
`===> photoprism-g20220901 USES=go has invalid arguments: 1.19.
*** Error code 1

Stop.`
My Go version is 1.19.2
Thanks!

@huo-ju
Copy link
Owner

huo-ju commented Oct 20, 2022

Can you paste the line of GO_VALID_VERSIONS in the /usr/ports/Mk/Uses/go.mk?

The correct value should be GO_VALID_VERSIONS= 1.18 1.19 1.20-devel

@vanyolai
Copy link
Author

No such a line in the go.mk file.
$FreeBSD: head/Mk/Uses/go.mk 566511 2021-02-24 22:39:56Z dmgk

@vanyolai
Copy link
Author

I did a
portsnap fetch
portsnap extract
portsnap update
and now the go.mk is the right version with GO_VALID_VERSIONS= 1.18 1.19 1.20-devel
and the build was successfull. Thanks for helping me out!

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