From 17e5222997c325f8a93e69a3a9f8bc9cc9d91bd1 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 24 Oct 2025 18:25:54 +0200 Subject: [PATCH] build: fix keeper build (#33018) At the time keeper support was added into ci.go, we were using a go.work file to make ./cmd/keeper accessible from within the main go-ethereum module. The workspace file has since been removed, so we need to build keeper from within its own module instead. --- build/ci.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/ci.go b/build/ci.go index 99a0e14f16..156626a82d 100644 --- a/build/ci.go +++ b/build/ci.go @@ -284,6 +284,7 @@ func doInstallKeeper(cmdline []string) { tc.GOOS = target.GOOS tc.CC = target.CC gobuild := tc.Go("build", buildFlags(env, true, []string{target.Tags})...) + gobuild.Dir = "./cmd/keeper" gobuild.Args = append(gobuild.Args, "-v") for key, value := range target.Env { @@ -293,7 +294,7 @@ func doInstallKeeper(cmdline []string) { args := slices.Clone(gobuild.Args) args = append(args, "-o", executablePath(outputName)) - args = append(args, "./cmd/keeper") + args = append(args, ".") build.MustRun(&exec.Cmd{Path: gobuild.Path, Args: args, Env: gobuild.Env}) } }