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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   👋 trying to build the latest release, but run into some build issue. The 
error log is as below:
   
   
   <details>
   <summary>error build log</summary>
   
   ```
   [16/101] clang++ -Iarrow-glib/libarrow-glib.1500.dylib.p -I. -I../c_glib 
-I/opt/homebrew/Cellar/brotli/1.1.0/include 
-I/opt/homebrew/Cellar/lz4/1.9.4/include 
-I/opt/homebrew/Cellar/zstd/1.5.5/include 
-I/opt/homebrew/Cellar/utf8proc/2.9.0/include 
-I/opt/homebrew/Cellar/apache-arrow/15.0.2/include 
-I/opt/homebrew/Cellar/pcre2/10.43/include 
-I/opt/homebrew/Cellar/glib/2.80.0/include 
-I/opt/homebrew/Cellar/glib/2.80.0/include/glib-2.0 
-I/opt/homebrew/Cellar/glib/2.80.0/lib/glib-2.0/include 
-I/opt/homebrew/opt/gettext/include 
-I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi 
-fdiagnostics-color=always -Wall -Winvalid-pch -std=c++17 -O3 
-Wmissing-declarations -Wno-incompatible-function-pointer-types 
-DUTF8PROC_EXPORTS -MD -MQ 
arrow-glib/libarrow-glib.1500.dylib.p/composite-array.cpp.o -MF 
arrow-glib/libarrow-glib.1500.dylib.p/composite-array.cpp.o.d -o 
arrow-glib/libarrow-glib.1500.dylib.p/composite-array.cpp.o -c 
../c_glib/arrow-glib/composite-array.cpp
   FAILED: arrow-glib/libarrow-glib.1500.dylib.p/composite-array.cpp.o
   clang++ -Iarrow-glib/libarrow-glib.1500.dylib.p -I. -I../c_glib 
-I/opt/homebrew/Cellar/brotli/1.1.0/include 
-I/opt/homebrew/Cellar/lz4/1.9.4/include 
-I/opt/homebrew/Cellar/zstd/1.5.5/include 
-I/opt/homebrew/Cellar/utf8proc/2.9.0/include 
-I/opt/homebrew/Cellar/apache-arrow/15.0.2/include 
-I/opt/homebrew/Cellar/pcre2/10.43/include 
-I/opt/homebrew/Cellar/glib/2.80.0/include 
-I/opt/homebrew/Cellar/glib/2.80.0/include/glib-2.0 
-I/opt/homebrew/Cellar/glib/2.80.0/lib/glib-2.0/include 
-I/opt/homebrew/opt/gettext/include 
-I/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/ffi 
-fdiagnostics-color=always -Wall -Winvalid-pch -std=c++17 -O3 
-Wmissing-declarations -Wno-incompatible-function-pointer-types 
-DUTF8PROC_EXPORTS -MD -MQ 
arrow-glib/libarrow-glib.1500.dylib.p/composite-array.cpp.o -MF 
arrow-glib/libarrow-glib.1500.dylib.p/composite-array.cpp.o.d -o 
arrow-glib/libarrow-glib.1500.dylib.p/composite-array.cpp.o -c 
../c_glib/arrow-glib/composite-array.cpp
   ../c_glib/arrow-glib/composite-array.cpp:613:10: error: cannot initialize 
return object of type 'const gint64 *' (aka 'const long *') with an rvalue of 
type 'const typename LargeListArray::offset_type *' (aka 'const long long *')
     return garrow_base_list_array_get_value_offsets<arrow::LargeListArray>(
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.
   ```
   
   </details>
   
   full build log, 
https://github.com/Homebrew/homebrew-core/actions/runs/8344623050/job/22837685244
   relates to Homebrew/homebrew-core#166595
   
   
   ### 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