nveloso commented on PR #45470:
URL: https://github.com/apache/arrow/pull/45470#issuecomment-2679968849

   Yup, that was it. I completely missed that curl command.
   
   Now it is failing to build `abseil:x64-linux`:
   ```
   Building abseil:[email protected]...
   -- Using cached abseil-abseil-cpp-20240116.2.tar.gz.
   -- Extracting source /opt/vcpkg/downloads/abseil-abseil-cpp-20240116.2.tar.gz
   -- Using source at 
/opt/vcpkg/buildtrees/abseil/src/20240116.2-eaa4a5f5c0.clean
   -- Configuring x64-linux-dbg
   -- Configuring x64-linux-rel
   -- Building x64-linux-dbg
   CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
       Command failed: 
/opt/_internal/pipx/venvs/cmake/lib/python3.12/site-packages/cmake/data/bin/cmake
 --build . --config Debug --target install -- -v -j5
       Working Directory: /opt/vcpkg/buildtrees/abseil/x64-linux-dbg
       See logs for more information:
         /opt/vcpkg/buildtrees/abseil/install-x64-linux-dbg-out.log
         /opt/vcpkg/buildtrees/abseil/install-x64-linux-dbg-err.log
   
   Call Stack (most recent call first):
     installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 
(vcpkg_execute_build_process)
     installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 
(vcpkg_cmake_build)
     ports/abseil/portfile.cmake:34 (vcpkg_cmake_install)
     scripts/ports.cmake:191 (include)
   
   
   error: building abseil:x64-linux failed with: BUILD_FAILED
   Elapsed time to handle abseil:x64-linux: 2.5 s
   Please ensure you're using the latest port files with `git pull` and `vcpkg 
update`.
   Then check for known issues at:
     
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+abseil
   You can submit a new issue at:
     
https://github.com/microsoft/vcpkg/issues/new?title=[abseil]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Fopt%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
   ```
   When I check the output log I see this:
   ```
   [11/238] /usr/bin/c++  
-I/opt/vcpkg/buildtrees/abseil/src/20240116.2-eaa4a5f5c0.clean -fPIC -g -Wall 
-Wextra -Wcast-qual -Wconversion-null -Wformat-security -Wmissing-declarations 
-Woverlength-strings -Wpointer-arith -Wundef -Wunused-local-typedefs 
-Wunused-result -Wvarargs -Wvla -Wwrite-strings -DNOMINMAX -maes -msse4.1 -MD 
-MT 
absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o
 -MF 
absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o.d
 -o 
absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o
 -c 
/opt/vcpkg/buildtrees/abseil/src/20240116.2-eaa4a5f5c0.clean/absl/random/internal/randen_hwaes.cc
   c++: error: unrecognized command-line option '-maes'
   c++: error: unrecognized command-line option '-msse4.1'
   ```
   It looks like these options are specific to x86 and not to arm architecture.
   
   I tried using the latest release of vcpkg 
([2025.02.14](https://github.com/microsoft/vcpkg/releases/tag/2025.02.14)) and 
it worked. For this I disabled all the patching it does.
   If you thing this should be part of this PR I can check which patches should 
be applied and have a different patch file for musl systems.


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