h-vetinari opened a new issue, #55357:
URL: https://github.com/apache/arrow/issues/55357

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Not sure what changed, but in 
https://github.com/conda-forge/arrow-cpp-feedstock/pull/2062, osx-arm64 builds 
(which we still have to cross-compile due to #50143) are failing to find aws 
with
   ```
   CMake Error at cmake_modules/ThirdpartyToolchain.cmake:316 (find_package):
     By not providing "FindAWSSDKAlt.cmake" in CMAKE_MODULE_PATH this project
     has asked CMake to find a package configuration file provided by
     "AWSSDKAlt", but CMake did not find one.
   
     Could not find a package configuration file provided by "AWSSDKAlt"
     (requested version 1.11.0) with any of the following names:
   
       AWSSDKAlt.cps
       awssdkalt.cps
       AWSSDKAltConfig.cmake
       awssdkalt-config.cmake
   
     Add the installation prefix of "AWSSDKAlt" to CMAKE_PREFIX_PATH or set
     "AWSSDKAlt_DIR" to a directory containing one of the above files.  If
     "AWSSDKAlt" provides a separate development package or SDK, be sure it has
     been installed.
   Call Stack (most recent call first):
     cmake_modules/ThirdpartyToolchain.cmake:4348 (resolve_dependency)
     CMakeLists.txt:542 (include)
   ```
   Other platforms (including osx-64 natively, as well as the cross-compiled 
linux-ppc64le) have no problems finding the SDK.
   
   Unlikely to be the cause, but while I'm at it, lz4 (as part of finding orc) 
is also not found on osx-arm64, though it's certainly present in the host 
environment, and found without issue on the other platforms
   ```
   -- LZ4_HOME: 
   -- Could not find LZ4 in system search paths.
   CMake Warning at cmake_modules/FindorcAlt.cmake:29 (find_package):
     Found package configuration file:
   
       
/Users/runner/miniforge3/conda-bld/apache-arrow_1793511839767/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/cmake/orc/orcConfig.cmake
   
     but it set orc_FOUND to FALSE so package "orc" is considered to be NOT
     FOUND.  Reason given by package:
   
     orc could not be found because dependency LZ4Alt could not be found.
   
   Call Stack (most recent call first):
     cmake_modules/ThirdpartyToolchain.cmake:316 (find_package)
     cmake_modules/ThirdpartyToolchain.cmake:4149 (resolve_dependency)
     CMakeLists.txt:542 (include)
   
   
   -- Found orcAlt: $PREFIX/lib/liborc.dylib (found version "2.3.1")
   ```
   
   CC @raulcd, since you recently touched the affected portions of 
`cpp/cmake_modules/ThirdpartyToolchain.cmake` in 
https://github.com/apache/arrow/commit/275b44b0cdcd2c84bdf5f92aa3a5f3dd76863a91
   
   ### Component(s)
   
   C++


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