-
Notifications
You must be signed in to change notification settings - Fork 271
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
coredns/1.12.0-r1: cve remediation #36612
base: main
Are you sure you want to change the base?
Conversation
Gen AI suggestions to solve the build error: • Detected Error: "go.mod requires go >= 1.23.4 (running go 1.23.3; GOTOOLCHAIN=go1.23.3)" • Error Category: Version • Failure Point: • Root Cause Analysis: There's a version mismatch between the Go toolchain version available in the build environment (1.23.3) and the version required by the project's go.mod file (1.23.4) • Suggested Fix: environment:
contents:
packages:
- libcap-utils
- make
- go-1.23=1.23.4-r0 # Explicitly specify the required Go version • Explanation: • Additional Notes:
• References:
|
Gen AI suggestions to solve the build error: • Detected Error: "go: go.mod requires go >= 1.23.4 (running go 1.23.3; GOTOOLCHAIN=go1.23.3)" • Error Category: Version • Failure Point: • Root Cause Analysis: The Go toolchain version mismatch - the package requires Go 1.23.4, but the system is using Go 1.23.3 • Suggested Fix:
environment:
contents:
packages:
- go-1.23=1.23.4-r0
- libcap-utils
- make • Explanation: The error occurs because CoreDNS's go.mod requires Go 1.23.4 or higher, but the build environment is using Go 1.23.3. By explicitly specifying the correct Go version in the package dependencies, we ensure the build environment has the required toolchain version. • Additional Notes:
• References:
|
Not sure why this isn't picking up the latest version...
|
Gen AI suggestions to solve the build error: • Detected Error: "go: go.mod requires go >= 1.23.4 (running go 1.23.3; GOTOOLCHAIN=go1.23.3)" • Error Category: Version/Configuration • Failure Point: The 'make gen' command during the build of kuma-coredns subpackage • Root Cause Analysis: There's a version mismatch between the Go version required by the project (1.23.4) and the Go version available in the build environment (1.23.3). • Suggested Fix:
environment:
contents:
packages:
- go-1.23>=1.23.4
- libcap-utils
- make • Explanation: • Additional Notes:
• References:
|
This fails for me locally for a different reason than in CI:
|
Looks like @luhring is working also on this, I'll go find something else and have him drive this one. |
… error locally. Signed-off-by: Ville Aikas <[email protected]>
Signed-off-by: Ville Aikas <[email protected]>
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Version • Failure Point: • Root Cause Analysis: • Suggested Fix: environment:
contents:
packages:
- go-1.23=1.23.4-r0 # Ensure this specific version
- libcap-utils
- make • Explanation: • Additional Notes:
• References:
|
The version being used comes from this file: From here: You can see the repro / potential fix here:
|
…he .go.version file and it breaks the subpackage builds. Signed-off-by: Ville Aikas <[email protected]>
coredns/1.12.0-r1: fix GHSA-v778-237x-gjrc
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/coredns.advisories.yaml