FS#77908 - [arrow] broken ARROW_FLIGHT_REQUIRE_TLSCREDENTIALSOPTIONS detection

Attached to Project: Community Packages
Opened by loqs (loqs) - Sunday, 19 March 2023, 20:47 GMT
Last edited by Toolybird (Toolybird) - Thursday, 31 August 2023, 20:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
arrow's detection of TlsCredentialsOptions required by grpc is broken [1] with abseil-cpp requiring C++17 [2][3][4] but C++11 being specified by arrow. Upstream issues [5][6]. Do you think a new upstream issue should be opened as [6] has been closed?
Workaround [7].
Refactor PKGBUILD [8] (no functional changes)
+ Update usage of cmake.
+ Drop depends on vendored double-conversion jemalloc uriparser.
+ Drop boost-libs (only headers used).
+ Move rapidjson and xsimd to makedepends (only headers used).
+ Drop variables no longer used by build recipe.
+ Drop use of ARROW_PYTHON (deprecated option which only selects dependencies required for python support)
+ Add ARROW_CSV=ON dependency of python see above.
+ Drop dependency on python-numpy see above.
Update to arrow 11.0.0 [9]

Additional info:
* arrow 10.0.1-7
* grpc 1.52.1-1
* abseil-cpp 20230125.1-2
[1] arrow-10.0.1-7-x86_64-build.log.xz
[2] arrow-10.0.1-7-x86_64-build.cmake-debug.log.xz
[3] https://github.com/abseil/abseil-cpp/commit/97ab3dcfd6490434202e4ab00b2eaba9449e42a1
[4] https://github.com/abseil/abseil-cpp/blob/20230125.1/CMakeLists.txt#L219
[5] https://github.com/apache/arrow/issues/32415
[6] https://github.com/apache/arrow/issues/32799
[7] PKGBUILD.diff.1
[8] PKGBUILD.diff.2
[9] PKGBUILD.diff.3

Steps to reproduce:
$ git clone https://github.com/archlinux/svntogit-community --single-branch --branch 'packages/arrow' arrow
$ cd arrow/trunk/
$ extra-x86_64-build
Observe messages
-- A proper version of gRPC could not be found to support TlsCredentialsOptions in Arrow Flight.
-- You may need a newer version of gRPC (>= 1.27), or the gRPC API has changed and Flight must be updated to match.
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 31 August 2023, 20:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  arrow 13.0.0-1
Comment by loqs (loqs) - Tuesday, 02 May 2023, 18:02 GMT
Updated PKGBUILD.diff.3 to update to arrow 12.0.0 instead of 11.0.0. Only change with respect to packaging is the removal of a plasma related variable as it has been dropped upstream.
Comment by loqs (loqs) - Thursday, 13 July 2023, 19:14 GMT
Fixed upstream in commit [1]. Updated PKGBUILD.diff.1 incorporating backport of that commit [2]. Updated PKGBUILD.diff.2 refactor [3]. Updated PKBUILD.diff.3 to 12.0.1 [4] including compatibility fix for apache-orc 1.9.0. [5].

[1] https://github.com/apache/arrow/commit/2a2c253c57b4299a98ee3c7ad84b1d9479e39b8b
[2] PKGBUILD.diff.1
[3] PKGBUILD.diff.2
[4] PKGBUILD.diff.3
[5] https://github.com/apache/arrow/commit/377811f47dfbcc57a4fd3b4b90aea96e2d6587fb

Loading...