raulcd opened a new issue, #34027: URL: https://github.com/apache/arrow/issues/34027
### Describe the bug, including details regarding any error messages, version, and platform. This issue is to track the porting of some patches that are required in order to build for vcpkg. Those should be ported to the main repo. The vcpkg PR can be seen here: https://github.com/microsoft/vcpkg/pull/29279 At the moment there are two identified issues, one with `utf8proc` and one with `thrift` on Windows. The initial issue with `utf8_proc`: ``` CMake Error at cmake_modules/Findutf8proc.cmake:31 (message): 2.2.0 Call Stack (most recent call first): /home/raulcd/code/vcpkg/scripts/buildsystems/vcpkg.cmake:843 (_find_package) cmake_modules/ThirdpartyToolchain.cmake:280 (find_package) cmake_modules/ThirdpartyToolchain.cmake:2622 (resolve_dependency) CMakeLists.txt:498 (include) ``` This is due to the REQUIRED_VERSION on cpp/cmake_modules/ThirdpartyToolchain.cmake: ``` resolve_dependency(utf8proc REQUIRED_VERSION "2.2.0" PC_PACKAGE_NAMES libutf8proc) ``` The issue with thrift on Windows: ``` CMake Error at D:/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ThriftAlt (missing: ThriftAlt_LIB) (found version "0.16.0") Call Stack (most recent call first): D:/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) D:/installed/x64-windows-static/share/arrow/FindThriftAlt.cmake:164 (find_package_handle_standard_args) C:/a/1/s/scripts/buildsystems/vcpkg.cmake:843 (_find_package) D:/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/share/cmake-3.25/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) D:/installed/x64-windows-static/share/arrow/ArrowConfig.cmake:105 (find_dependency) C:/a/1/s/scripts/buildsystems/vcpkg.cmake:843 (_find_package) CMakeLists.txt:24 (find_package) ``` ### Component(s) C++, Release -- 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]
