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

"slices" module only in go 1.21 #2342

Closed
DrDaveD opened this issue Mar 12, 2024 · 1 comment · Fixed by #2343
Closed

"slices" module only in go 1.21 #2342

DrDaveD opened this issue Mar 12, 2024 · 1 comment · Fixed by #2343

Comments

@DrDaveD
Copy link

DrDaveD commented Mar 12, 2024

I attempted to update apptainer to use a commit on the current main branch of containers/image/v5, but when compiling with go 1.20.10 it got this compilation error:

/go/pkg/mod/github.com/containers/image/[email protected]/pkg/blobinfocache/internal/prioritize/prioritize.go:6:2: package slices is not in GOROOT (/usr/local/go/src/slices)

#2340 said it was about updating to go 1.20, but it started using the "slices" package which is only in go 1.21 and later.

@mtrmac
Copy link
Collaborator

mtrmac commented Mar 12, 2024

Oops, I missed that. #2343 should fix it.

Thanks for the report!

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

Successfully merging a pull request may close this issue.

2 participants