kou commented on issue #2406:
URL: https://github.com/apache/arrow-adbc/issues/2406#issuecomment-2566158878

   I tried the following but it didn't work:
   
   ```diff
   diff --git a/ci/conda_env_glib.txt b/ci/conda_env_glib.txt
   index fbe46652f..f961e27dc 100644
   --- a/ci/conda_env_glib.txt
   +++ b/ci/conda_env_glib.txt
   @@ -16,12 +16,13 @@
    # under the License.
    
    arrow-c-glib
   +clang >=18.*
    glib
    gobject-introspection
    meson
    postgresql
   -# It appears 3.4.0 adds a dependency on stdckdint.h which isn't actually 
usable
   -ruby <3.4.0
   +ruby
    # TODO(https://github.com/apache/arrow-adbc/issues/2176): pin for now 
because
    # gobject-introspection uses a deprecated/removed API
    setuptools <74
   +zlib
   ```
   
   
https://github.com/kou/arrow-adbc/actions/runs/12555264022/job/35005157611#step:10:78
   
   ```text
   FAILED: adbc-arrow-glib/ADBCArrow-1.0.gir 
   env 
PKG_CONFIG_PATH=/Users/runner/local/lib/pkgconfig:/Users/runner/miniconda3/envs/test/lib/pkgconfig:/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/meson-uninstalled
 PKG_CONFIG=/Users/runner/miniconda3/envs/test/bin/pkg-config 
CC=x86_64-apple-darwin13.4.0-clang 
/Users/runner/miniconda3/envs/test/bin/g-ir-scanner --quiet --no-libtool 
--namespace=ADBCArrow --nsversion=1.0 --warn-all --output 
adbc-arrow-glib/ADBCArrow-1.0.gir --c-include=adbc-arrow-glib/adbc-arrow-glib.h 
--warn-all -I/Users/runner/work/arrow-adbc/arrow-adbc/glib/adbc-arrow-glib 
-I/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/adbc-arrow-glib 
-I/Users/runner/work/arrow-adbc/arrow-adbc/glib/. 
-I/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/. 
-I/Users/runner/work/arrow-adbc/arrow-adbc/glib/../c/include 
-I/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/../c/include 
--filelist=/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/adbc-arrow-glib/libadbc-arrow-glib.1.dylib.p/ADBCArrow_1.0_gir_filelist
 -
 -include=ADBC-1.0 --include=Arrow-1.0 --symbol-prefix=gadbc_arrow 
--identifier-prefix=GADBCArrow --pkg-export=adbc-arrow-glib --cflags-begin 
-I/Users/runner/work/arrow-adbc/arrow-adbc/glib/. 
-I/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/. 
-I/Users/runner/work/arrow-adbc/arrow-adbc/glib/../c/include 
-I/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/../c/include 
-I/Users/runner/local/include -I/Users/runner/miniconda3/envs/test/include 
-I/Users/runner/miniconda3/envs/test/include/glib-2.0 
-I/Users/runner/miniconda3/envs/test/lib/glib-2.0/include 
-I/Users/runner/miniconda3/envs/test/include/gobject-introspection-1.0 
--cflags-end 
--add-include-path=/Users/runner/miniconda3/envs/test/share/gir-1.0 
--add-include-path=/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/adbc-glib
 -L/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/adbc-arrow-glib 
--library adbc-arrow-glib 
-L/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/adbc-glib 
-L/Users/runner/local/lib -L/Users/runner/
 miniconda3/envs/test/lib -L/Users/runner/local/lib 
--extra-library=adbc_driver_manager -L/Users/runner/miniconda3/envs/test/lib 
--extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=intl 
--extra-library=arrow-glib --extra-library=arrow 
--extra-library=girepository-1.0 --sources-top-dirs 
/Users/runner/work/arrow-adbc/arrow-adbc/glib/ --sources-top-dirs 
/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/ --warn-error
   dyld[8111]: Symbol not found: 
__ZN4absl12lts_2024072212log_internal10LogMessagelsIiLi0EEERS2_RKT_
     Referenced from: <ABD8BED3-9FF3-30AE-9F2C-FB6F306CF934> 
/Users/runner/miniconda3/envs/test/lib/libprotobuf.28.2.0.dylib
     Expected in:     <E99B267F-7144-31DD-A5D4-F5B0B82894DA> 
/Users/runner/miniconda3/envs/test/lib/libabsl_log_internal_message.2407.0.0.dylib
   Command 
'['/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/tmp-introspectnprlnsvi/ADBCArrow-1.0',
 
'--introspect-dump=/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/tmp-introspectnprlnsvi/functions.txt,/Users/runner/work/arrow-adbc/arrow-adbc/build/glib/tmp-introspectnprlnsvi/dump.xml']'
 died with <Signals.SIGABRT: 6>.
   ```
   
   It seems that we need other approach like you mentioned or keep pinning Ruby 
for now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to