From 366c2b371157b10ebd7fa2a8bda0627fea4a0afd Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Thu, 10 Sep 2026 22:46:25 +0900 Subject: [PATCH 1/5] GH-51285: [CI] Fix AMD64 Conda Integration Test failure --- ci/docker/conda-integration.dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/docker/conda-integration.dockerfile b/ci/docker/conda-integration.dockerfile index 27f34d3f23ef..d11f87d38af2 100644 --- a/ci/docker/conda-integration.dockerfile +++ b/ci/docker/conda-integration.dockerfile @@ -43,6 +43,14 @@ RUN mamba install -q -y \ zstd && \ mamba clean --yes --all --force-pkgs-dirs +RUN echo "========== !!! CHECK GO/CGO !!! ==========" && \ + conda list | grep -E '^go[[:space:]-]' && \ + echo "go path: $(which go)" && \ + go version && \ + echo "CGO_ENABLED=$(go env CGO_ENABLED)" && \ + echo "CC=$(go env CC)" && \ + echo "========== !!! CHECK END !!! ==========" + # Install Rust with only the needed components # (rustfmt is needed for tonic-build to compile the protobuf definitions) RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile=minimal -y && \ From 2e0bb19530044478de1d8d0d488bd0f153e0786c Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Fri, 11 Sep 2026 09:03:49 +0900 Subject: [PATCH 2/5] Add go-cgo --- ci/docker/conda-integration.dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/docker/conda-integration.dockerfile b/ci/docker/conda-integration.dockerfile index d11f87d38af2..e83a1d91332c 100644 --- a/ci/docker/conda-integration.dockerfile +++ b/ci/docker/conda-integration.dockerfile @@ -35,6 +35,7 @@ RUN mamba install -q -y \ numpy \ compilers \ go \ + go-cgo \ maven=${maven} \ nodejs=${node} \ yarn=${yarn} \ From 29044df414a4e5cdfa2d15864442d29712cbb8e7 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Fri, 11 Sep 2026 09:14:01 +0900 Subject: [PATCH 3/5] mamba install cgo explicitly --- ci/docker/conda-integration.dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/docker/conda-integration.dockerfile b/ci/docker/conda-integration.dockerfile index e83a1d91332c..804a45795a1f 100644 --- a/ci/docker/conda-integration.dockerfile +++ b/ci/docker/conda-integration.dockerfile @@ -34,8 +34,7 @@ RUN mamba install -q -y \ --file arrow/ci/conda_env_archery.txt \ numpy \ compilers \ - go \ - go-cgo \ + "go[build=cgo_*]" \ maven=${maven} \ nodejs=${node} \ yarn=${yarn} \ From bfe1f312729c13f6e4d226a97972e0d5a8adb893 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Fri, 11 Sep 2026 09:43:57 +0900 Subject: [PATCH 4/5] Cleanup --- ci/docker/conda-integration.dockerfile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ci/docker/conda-integration.dockerfile b/ci/docker/conda-integration.dockerfile index 804a45795a1f..0fb33bf84f1b 100644 --- a/ci/docker/conda-integration.dockerfile +++ b/ci/docker/conda-integration.dockerfile @@ -43,14 +43,6 @@ RUN mamba install -q -y \ zstd && \ mamba clean --yes --all --force-pkgs-dirs -RUN echo "========== !!! CHECK GO/CGO !!! ==========" && \ - conda list | grep -E '^go[[:space:]-]' && \ - echo "go path: $(which go)" && \ - go version && \ - echo "CGO_ENABLED=$(go env CGO_ENABLED)" && \ - echo "CC=$(go env CC)" && \ - echo "========== !!! CHECK END !!! ==========" - # Install Rust with only the needed components # (rustfmt is needed for tonic-build to compile the protobuf definitions) RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile=minimal -y && \ From a76a36509771fc96cf660cc73eb5f5c39436dc0f Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Fri, 11 Sep 2026 10:11:58 +0900 Subject: [PATCH 5/5] Use go-cgo --- ci/docker/conda-integration.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/docker/conda-integration.dockerfile b/ci/docker/conda-integration.dockerfile index 0fb33bf84f1b..517aea5c413b 100644 --- a/ci/docker/conda-integration.dockerfile +++ b/ci/docker/conda-integration.dockerfile @@ -34,7 +34,7 @@ RUN mamba install -q -y \ --file arrow/ci/conda_env_archery.txt \ numpy \ compilers \ - "go[build=cgo_*]" \ + go-cgo \ maven=${maven} \ nodejs=${node} \ yarn=${yarn} \