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

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


The following commit(s) were added to refs/heads/main by this push:
     new c81a7d6e4 ci: pin Ruby version (#2396)
c81a7d6e4 is described below

commit c81a7d6e4b31b39165269250a910f1d5677522a0
Author: David Li <[email protected]>
AuthorDate: Thu Dec 26 18:46:57 2024 -0500

    ci: pin Ruby version (#2396)
    
    It appears that Ruby 3.4.0 introduces a dependency on stdckdint.h. On
    Linux this appears fine but on macOS for some reason Ruby is configured
    to assume that this C23 header is provided by the compiler/standard
    library (it isn't) and fails. Pin to older Ruby for the time being.
---
 .github/workflows/native-unix.yml | 11 +++++++++++
 ci/conda_env_glib.txt             |  7 ++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/native-unix.yml 
b/.github/workflows/native-unix.yml
index 770fd2a68..fa471e7d1 100644
--- a/.github/workflows/native-unix.yml
+++ b/.github/workflows/native-unix.yml
@@ -379,6 +379,17 @@ jobs:
         run: |
           env BUILD_ALL=0 BUILD_DRIVER_MANAGER=1 ./ci/scripts/glib_test.sh 
"$(pwd)" "$(pwd)/build" "$HOME/local"
 
+      - name: Search for build logs
+        if: failure()
+        run: |
+          for log in $(find glib -type f | grep mkmf.log); do
+            echo ============================================================
+            echo $log
+            cat $log
+            echo ============================================================
+          done
+
+
   # ------------------------------------------------------------
   # Go
   # ------------------------------------------------------------
diff --git a/ci/conda_env_glib.txt b/ci/conda_env_glib.txt
index e6b76d97c..fbe46652f 100644
--- a/ci/conda_env_glib.txt
+++ b/ci/conda_env_glib.txt
@@ -15,12 +15,13 @@
 # specific language governing permissions and limitations
 # under the License.
 
-arrow-c-glib=15.0.2
-glib=2.80.5
+arrow-c-glib
+glib
 gobject-introspection
 meson
 postgresql
-ruby
+# It appears 3.4.0 adds a dependency on stdckdint.h which isn't actually usable
+ruby <3.4.0
 # TODO(https://github.com/apache/arrow-adbc/issues/2176): pin for now because
 # gobject-introspection uses a deprecated/removed API
 setuptools <74

Reply via email to