This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 07be48c540 GH-51285: [CI] Fix AMD64 Conda Integration Test failure 
(#51287)
07be48c540 is described below

commit 07be48c5402adedb68c510531939a907ffbac237
Author: Hiroyuki Sato <[email protected]>
AuthorDate: Fri Sep 11 11:16:40 2026 +0900

    GH-51285: [CI] Fix AMD64 Conda Integration Test failure (#51287)
    
    ### Rationale for this change
    
    AMD64 Conda Integration Test failure
    
    
https://github.com/apache/arrow/actions/runs/34469696916/job/102846552090?pr=51284
    
    ```
      ++ uname
      + go_lib=arrow_go_integration.so
      + go build -buildvcs=false -tags cdata_integration,assert 
-buildmode=c-shared -o arrow_go_integration.so .
      package github.com/apache/arrow-go/v18/arrow/internal/cdata_integration: 
build constraints exclude all Go files in 
/arrow/go/arrow/internal/cdata_integration
    
      Error: `docker compose --file=/home/runner/work/arrow/arrow/compose.yaml 
run --rm -e ARCHERY_DEFAULT_BRANCH=main -e ARCHERY_INTEGRATION_WITH_DOTNET=1 -e 
ARCHERY_INTEGRATION_WITH_GO=1 -e ARCHERY_INTEGRATION_WITH_JAVA=1 -e 
ARCHERY_INTEGRATION_WITH_JS=1 -e ARCHERY_INTEGRATION_WITH_NANOARROW=1 -e 
ARCHERY_INTEGRATION_WITH_RUST=1 -e RUST_BACKTRACE=1 conda-integration` exited 
with a non-zero exit code 1, see the process log above.
    ```
    
    The Conda integration test requires cgo, but `mamba install go` currently 
selects the `nocgo` variant by default.
    
    ### What changes are included in this PR?
    
    Selects the cgo-enabled Go package for the Conda integration test.
    
    Before this change, `mamba` selected the `nocgo` variant:
    
    ```text
    go  1.27.1  nocgo_h8a70693_5  conda-forge
    go version go1.27.1 linux/amd64
    CGO_ENABLED=0
    CC=/dev/null
    ```
    
    After this change, mamba installs the Go package with cgo support:
    
    ```
    go  1.27.1  cgo_haf5475a_5  conda-forge
    go version go1.27.1 linux/amd64
    CGO_ENABLED=1
    CC=x86_64-conda-linux-gnu-cc
    ```
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    
    * GitHub Issue: #51285
    
    Authored-by: Hiroyuki Sato <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 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 27f34d3f23..517aea5c41 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 \
+        go-cgo \
         maven=${maven} \
         nodejs=${node} \
         yarn=${yarn} \

Reply via email to