kou commented on issue #41333: URL: https://github.com/apache/arrow/issues/41333#issuecomment-2071297187
It seems that Protobuf's CMake package isn't used: https://github.com/msys2/MINGW-packages/actions/runs/8782545754/job/24096849170?pr=20692#step:11:614 ```text -- Found Protobuf: D:/M/msys64/clang64/lib/libprotobuf.dll.a (found version "4.25.3") -- Providing CMake module for FindProtobufAlt as part of ArrowFlight CMake package -- Using pkg-config package for protobuf that is used by arrow-flight for static link ``` (`protobuf.pc` is used instead.) Could you try this? ```diff diff --git a/mingw-w64-arrow/PKGBUILD b/mingw-w64-arrow/PKGBUILD index ec1ef286c..843a65841 100644 --- a/mingw-w64-arrow/PKGBUILD +++ b/mingw-w64-arrow/PKGBUILD @@ -84,7 +84,7 @@ build() { export _cmake_build_type="Debug" fi - MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \ + MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=;-DARROW_PACKAGE_PREFIX=" \ ${MINGW_PREFIX}/bin/cmake.exe -Wno-dev \ -G Ninja \ -DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \ ``` Or we may be able to omit CMake package paths: ```diff diff --git a/mingw-w64-arrow/PKGBUILD b/mingw-w64-arrow/PKGBUILD index ec1ef286c..f08e53000 100644 --- a/mingw-w64-arrow/PKGBUILD +++ b/mingw-w64-arrow/PKGBUILD @@ -101,7 +101,6 @@ build() { -DARROW_HDFS=ON \ -DARROW_JSON=ON \ -DARROW_PACKAGE_KIND=${MINGW_PACKAGE_PREFIX} \ - -DARROW_PACKAGE_PREFIX=${MINGW_PREFIX} \ -DARROW_PARQUET=ON \ -DARROW_S3=ON \ -DARROW_USE_GLOG=OFF \ @@ -112,7 +111,6 @@ build() { -DARROW_WITH_SNAPPY=ON \ -DARROW_WITH_ZLIB=ON \ -DARROW_WITH_ZSTD=ON \ - -DBOOST_ROOT=${MINGW_PREFIX} \ -DPARQUET_BUILD_EXECUTABLES=ON \ -DPARQUET_REQUIRE_ENCRYPTION=ON \ -DPython3_EXECUTABLE=${MINGW_PREFIX}/bin/python \ ``` -- 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]
