-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.19
-
None
Description of problem:
Go mod tidy may report toolchain not available with a golang version not in the x.y.z format. This is affecting thanos builds in Konflux when using cachi2 and enabling hermetic builds. The standard Go toolchains are named goV where V is a Go version denoting a beta release, release candidate, or release. For example, go1.21rc1 and go1.21.0 are toolchain names; go1.21 and go1.22 are not (the initial releases are go1.21.0 and go1.22.0), but go1.20 and go1.19 are.Non-standard toolchains use names of the form goV-suffix for any suffix.Toolchains are compared by comparing the version V embedded in the name (dropping the initial go and discarding off any suffix beginning with -). For example, go1.21.0 and go1.21.0-custom compare equal for ordering purposes. We'd need to reference a valid, released Go toolchain
Version-Release number of selected component (if applicable):
4.18, this is fixed in 4.19 onwards.
How reproducible:
Trigger a build of thanos in Konflux
- clones
-
OCPBUGS-52945 Explicitly mark go toolchain in Thanos
-
- MODIFIED
-
- is depended on by
-
OCPBUGS-52945 Explicitly mark go toolchain in Thanos
-
- MODIFIED
-
- links to