kou commented on PR #45194:
URL: https://github.com/apache/arrow/pull/45194#issuecomment-2578730090

   The verify-rc-source-python-macos-conda-amd64 failure:
   
   
https://github.com/ursacomputing/crossbow/actions/runs/12658197249/job/35274591929#step:6:1653
   
   ```text
   [ 58%] Linking CXX shared library ../../release/libarrow.dylib
   
/private/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/miniforge/envs/conda-source/bin/x86_64-apple-darwin13.4.0-ranlib:
 file: ../../release/libarrow.a(statistics.cc.o) has no symbols
   
/private/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/miniforge/envs/conda-source/bin/x86_64-apple-darwin13.4.0-ranlib:
 file: ../../release/libarrow.a(ios.mm.o) has no symbols
   dyld[25474]: Library not loaded: @rpath/libLLVM-17.dylib
     Referenced from: <965482E3-555F-3044-BAF8-893F7A2ED82D> 
/private/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/miniforge/pkgs/llvm-tools-17.0.6-hbedff68_1/bin/llvm-ar
     Reason: tried: 
'/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/install/lib/libLLVM-17.dylib'
 (no such file), '/libLLVM-17.dylib' (no such file), 
'/private/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/miniforge/pkgs/llvm-tools-17.0.6-hbedff68_1/bin/../lib/libLLVM-17.dylib'
 (no such file), 
'/private/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/miniforge/pkgs/llvm-tools-17.0.6-hbedff68_1/bin/../lib/libLLVM-17.dylib'
 (no such file), 
'/private/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/miniforge/pkgs/llvm-tools-17.0.6-hbedff68_1/bin/../lib/libLLVM-17.dylib'
 (no such file), 
'/private/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/miniforge/pkgs/llvm-tools-17.0.6-hbedff68_1/bin/../lib/libLLVM-17.dylib'
 (no such file), '/usr/local/lib/libLLVM-17.dylib' (no such file), 
'/usr/lib/libLLVM-17.dylib' (no such file, not in dyld cache)
   Error running link command: Subprocess abortedmake[2]: *** 
[src/arrow/CMakeFiles/arrow_static.dir/build.make:595: release/libarrow.a] 
Error 1
   ```
   
   `libLLVM-17.dylib` isn't found in the candidates when we use `llvm-ar`.
   
   `libLLVM-17.dylib` is included in https://anaconda.org/conda-forge/libllvm17 
in conda but the candidates doesn't include any `libllvm17` path. The 
candidates include https://anaconda.org/conda-forge/llvm-tools related paths 
instead.
   
   The candidates include `$ARROW_HOME/lib` 
(`/var/folders/vr/pjd30pz953q8qrl27dlgxb280000gn/T/arrow-HEAD.XXXXX.eUNVmHs5/install/lib/`)
 because we have `DYLD_LIBRARY_PATH=`: 
https://github.com/apache/arrow/blob/4ede48c89b8ec80bbd1895357f272c5fb61bc9b6/dev/release/verify-release-candidate.sh#L879
   
   We may need to add `${CONDA_PREFIX}/lib` to `DYLD_LIBRARY_PATH` when we use 
conda.


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