[CI] example-cpp-minimal-build-static-system-dependency build failure after update UriParser
Describe the bug, including details regarding any error messages, version, and platform.
Before rebase, example-cpp-minimal-build-static-system-dependency passed, but after rebase to latest, build failed.
I created an issue for testing.
https://github.com/apache/arrow/pull/51671#issuecomment-5943962820
https://github.com/ursacomputing/crossbow/actions/runs/36951711028/job/110665870368#step:3:992
-- ARROW_ZSTD_BUILD_VERSION: 1.5.7
-- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for _M_ARM64
-- Looking for _M_ARM64 - not found
-- Looking for __SIZEOF_INT128__
-- Looking for __SIZEOF_INT128__ - found
-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
-- Building (vendored) mimalloc from source
-- xsimd: Building xsimd from source
-- xsimd: xsimd v14.2.0
-- Could NOT find uriparser (missing: uriparser_DIR)
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'liburiparser'
-- Package 'liburiparser', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find uriparserAlt (missing: uriparser_PC_FOUND) (Required is at
least version "0.9.6")
Call Stack (most recent call first):
/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FinduriparserAlt.cmake:56 (find_package_handle_standard_args)
cmake_modules/ThirdpartyToolchain.cmake:316 (find_package)
cmake_modules/ThirdpartyToolchain.cmake:3335 (resolve_dependency)
CMakeLists.txt:542 (include)
Component(s)
Continuous Integration
I ran CI on this PR(#51683) and reproduced the issue.
https://github.com/apache/arrow/pull/51683#issuecomment-5945329825 https://github.com/ursacomputing/crossbow/actions/runs/36962284596/job/110698353582#step:3:987
I'll look into it later myself, but it may be faster to ask the person who fixed it to take a look. @imtherealnaska Do you have any idea what might be causing this?
Will take a look at it . Give me some time
We just have to add the following diff as far as I can tell. @hiroyuki-sato do you want to update your PR with it?
diff --git a/cpp/examples/minimal_build/system_dependency.dockerfile b/cpp/examples/minimal_build/system_dependency.dockerfile
index 773cd52baa..ac7cef3496 100644
--- a/cpp/examples/minimal_build/system_dependency.dockerfile
+++ b/cpp/examples/minimal_build/system_dependency.dockerfile
@@ -34,6 +34,7 @@ RUN apt-get update -y -q && \
libre2-dev \
libsnappy-dev \
libthrift-dev \
+ liburiparser-dev \
libutf8proc-dev \
libzstd-dev \
pkg-config \
@raulcd , @imtherealnaska Thanks! I applied the patch. #51683
Issue resolved by pull request 51683 https://github.com/apache/arrow/pull/51683