llama90 opened a new issue, #39400:
URL: https://github.com/apache/arrow/issues/39400

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   I need to build GLib to resolve the following issue.
   
   * #39225 
   
   Based on the GLib README.md file, it seems that building GLib will base the 
build on the version of Arrow installed via Homebrew. However, when attempting 
to build, the following error occurs.
   
   ```
   $ meson compile -C c_glib.build
   INFO: autodetecting backend as ninja
   INFO: calculating backend command to run: /opt/homebrew/bin/ninja -C 
/Users/lama/workspace/arrow-latest/c_glib.build
   ninja: Entering directory `/Users/lama/workspace/arrow-latest/c_glib.build'
   [1/27] Linking target arrow-glib/libarrow-glib.1500.dylib
   ld: warning: dylib 
(/opt/homebrew/Cellar/apache-arrow/14.0.1_2/lib/libarrow.dylib) was built for 
newer macOS version (14.0) than being linked (13.3)
   ld: warning: dylib 
(/opt/homebrew/Cellar/apache-arrow/14.0.1_2/lib/libarrow_acero.dylib) was built 
for newer macOS version (14.0) than being linked (13.3)
   [2/27] Compiling C++ object 
gandiva-glib/libgandiva-glib.1500.dylib.p/function-registry.cpp.o
   FAILED: gandiva-glib/libgandiva-glib.1500.dylib.p/function-registry.cpp.o
   ccache c++ -Igandiva-glib/libgandiva-glib.1500.dylib.p -I. -I../c_glib 
-I/opt/homebrew/Cellar/apache-arrow/14.0.1_2/include 
-I/opt/homebrew/Cellar/glib/2.78.3/include 
-I/opt/homebrew/Cellar/glib/2.78.3/include/glib-2.0 
-I/opt/homebrew/Cellar/glib/2.78.3/lib/glib-2.0/include 
-I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include 
-I/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/ffi 
-fdiagnostics-color=always -Wall -Winvalid-pch -std=c++17 -O3 
-Wmissing-declarations -MD -MQ 
gandiva-glib/libgandiva-glib.1500.dylib.p/function-registry.cpp.o -MF 
gandiva-glib/libgandiva-glib.1500.dylib.p/function-registry.cpp.o.d -o 
gandiva-glib/libgandiva-glib.1500.dylib.p/function-registry.cpp.o -c 
../c_glib/gandiva-glib/function-registry.cpp
   ../c_glib/gandiva-glib/function-registry.cpp:115:45: error: no member named 
'default_function_registry' in namespace 'gandiva'
     auto gandiva_function_registry = gandiva::default_function_registry();
                                      ~~~~~~~~~^
   1 error generated.
   [4/27] Generating arrow-glib/Arrow-1.0.gir with a custom command (wrapped by 
meson to set env)
   ld: warning: dylib 
(/opt/homebrew/Cellar/apache-arrow/14.0.1_2/lib/libarrow_acero.dylib) was built 
for newer macOS version (14.0) than being linked (13.3)
   ld: warning: dylib 
(/opt/homebrew/Cellar/apache-arrow/14.0.1_2/lib/libarrow.dylib) was built for 
newer macOS version (14.0) than being linked (13.3)
   ninja: build stopped: subcommand failed.
   ```
   
   Is there a way to avoid such errors by building GLib with a reference to 
local Arrow C++ build?
   
   
   ### Component(s)
   
   GLib


-- 
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