wgtmac commented on PR #40508:
URL: https://github.com/apache/arrow/pull/40508#issuecomment-2025269658

   > So it seems this breaks the macOS wheel builds for Python 3.8, 3.9 and 
3.10 (but not 3.11 and 3.12). The error is related to a protobuf symbol, and 
ORC uses protobuf:
   > 
   > ```
   > ImportError: 
dlopen(/Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/test-arm64-env/lib/python3.8/site-packages/pyarrow/lib.cpython-38-darwin.so,
 0x0002): symbol not found in flat namespace 
'__ZN6google8protobuf2io19ZeroCopyInputStream8ReadCordEPN4absl12lts_202401164CordEi'
   > ```
   > 
   > The symbol is 
`google::protobuf::io::ZeroCopyInputStream::ReadCord(absl::lts_20240116::Cord*, 
int)`.
   > 
   > @wgtmac Is ORC 2.0 building its own protobuf from scratch? Answer: it 
should not, we're passing `PROTOBUF_HOME` to ORC's CMake.
   
   Right, ORC should use what we provide here: 
https://github.com/apache/arrow/blob/a9b2cc2c962f064c3fa5504909f122e9bcabda3f/cpp/cmake_modules/ThirdpartyToolchain.cmake#L4386-L4396


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