Package: golang-1.15
Version: 1.15.9-6
Severity: normal
Hi!
I'm currently trying to run go mod tidy on runc master[1]
(16027b814d59403b71bb369a0ba064da47dd302b) and fails with this error:
io/fs: package io/fs is not in GOROOT
(/usr/lib/go-1.15/src/io/fs)
Googling a little bit about it, it seems this a bug in go that should
ignore the package that were introduced in go 1.16 (it is properly
guarded with build tags in the runc repo).
This comment on viper has pointers to the bugs in go upstream:
https://github.com/spf13/viper/issues/1161#issuecomment-869702237
This bugfix was backported to go 1.10[2] that was released in March
2021[3]. It will be great if the fix can be included on debian packaged
version.
Let me know if I can help in any way
Best,
Rodrigo
[1]: https://github.com/opencontainers/runc/
[2]: https://github.com/golang/go/issues/44792
[3]: https://golang.org/doc/devel/release#go1.15.minor