Skip to content

Conversation

@chenrui333
Copy link

@chenrui333 chenrui333 commented Dec 26, 2025

seeing some build failure against go1.26rc1

==> go build -o=/opt/homebrew/Cellar/kuttl/0.24.0/bin/kubectl-kuttl -ldflags=-s -w -X github.com/kudobuilder
Last 15 lines from /Users/rchen/Library/Logs/Homebrew/kuttl/01.go.log:
2025-12-26 23:24:18 +0000

go
build
-trimpath
-o=/opt/homebrew/Cellar/kuttl/0.24.0/bin/kubectl-kuttl
-ldflags=-s -w -X github.com/kudobuilder/kuttl/internal/version.gitVersion=v0.24.0 -X github.com/kudobuilder/kuttl/internal/version.gitCommit=Homebrew -X github.com/kudobuilder/kuttl/internal/version.buildDate=2025-12-03T07:15:11Z
./cmd/kubectl-kuttl

# github.com/kudobuilder/kuttl/internal/utils
internal/utils/testing.go:44:28: cannot use &testDeps{} (value of type *testDeps) as testing.testDeps value in argument to testing.MainStart: *testDeps does not implement testing.testDeps (missing method ModulePath)

Copy link
Member

@porridge porridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for catching this early!
One question inline.

@@ -0,0 +1,6 @@
//go:build go1.26
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would there be any downside to adding this directly in testing.go? 🤔

@porridge
Copy link
Member

porridge commented Jan 8, 2026

Superseded by #667

@porridge porridge closed this Jan 8, 2026
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 this pull request may close these issues.

2 participants