Uh oh!
There was an error while loading. Please reload this page.
[DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error - #46737
[DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error#46737hiroyuki-sato wants to merge 5 commits into
Conversation
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
hiroyuki-sato
commented
Jun 7, 2025
@github-actions crossbow submit -g conan |
Revision: 9692eed Submitted crossbow builds: ursacomputing/crossbow @ actions-b471051ec7
|
hiroyuki-sato
commented
Jun 8, 2025
@github-actions crossbow submit -g conan |
Revision: d76fb6b Submitted crossbow builds: ursacomputing/crossbow @ actions-a066ea7665
|
hiroyuki-sato
commented
Jun 9, 2025
@github-actions crossbow submit -g conan |
Revision: c751f99 Submitted crossbow builds: ursacomputing/crossbow @ actions-721add8033
|
hiroyuki-sato
commented
Jun 9, 2025
@github-actions crossbow submit -g conan |
Revision: cbda3b4 Submitted crossbow builds: ursacomputing/crossbow @ actions-3d10d87fac
|
hiroyuki-sato
commented
Jun 9, 2025
Hello, @kou IIUC, RapidJSON must build from source code due to INBOX RapidJSON too old(0.12) on the conan-image(Ubuntu 16.04). Here are the results of my investigation. |
kou
commented
Jun 9, 2025
We should not change Can we update Docker image for Conan instead? |
hiroyuki-sato
commented
Jun 9, 2025
@github-actions crossbow submit -g conan |
Revision: ec495bf Submitted crossbow builds: ursacomputing/crossbow @ actions-ebe8a68077
|
hiroyuki-sato
commented
Jun 9, 2025
@kou Thank you for your advice. Could you tell me "docker image" means? I understand Should we modify upstream side? https://github.com/conan-io/conan-docker-tools/blob/master/images/README.md#official-docker-images |
kou
commented
Jun 9, 2025
Ah, conan-io/conan-docker-tools doesn't provide images that are based on newer Ubuntu yet? BTW, why is RapidJSON provided by Ubuntu related? Conan has RapidJSON 1.1.0: https://github.com/conan-io/conan-center-index/blob/master/recipes/rapidjson/config.yml We should use it instead of RapidJSON provided by Ubuntu.
How did you do? We have a script for it: https://github.com/apache/arrow/blob/main/ci/conan/merge_upstream.sh |
hiroyuki-sato
commented
Jun 9, 2025
Yes. (Ubuntu 16.04 is the latest).
Before creating this PR. the status was the below.
conan-maximum built RapidJSON from source code. So, conan-maximum build passed. However, arrow/ci/conan/all/conanfile.py Line 374 in 0e5249b I think that this is the reson of build failure. IIUC, both( Changing I don't know how to fix yet. It seems I need fix upstream side.
I'll try this. |
hiroyuki-sato
commented
Jun 9, 2025
Hello, @amoeba. Do you have any idea how to fix the problem. I found your name from the commit log. I'm not familiar with conan. |
kou
commented
Jun 9, 2025
Does it mean "we use bundled RapidJSON in apache/arrow"? We must use Conan's RapidJSON not bundled RapidJSON. |
In general, we must not use bundled dependencies with Conan. We must use dependencies in Conan instead with Conan. |
hiroyuki-sato
commented
Jun 9, 2025
Does
I meant I understand the follwoing The goal,
But I don't know what configuration file should we change for use Conan's RapidJSON in the |
kou
commented
Jun 9, 2025
I haven't checked build log but it must not use bundled RapidJSON.
You must not use "build RapidJSON from source". I think that you use it as "we use bundled RapidJSON" or "we use RapidJSON in Conan". But we can build RapidJSON from source OR use pre-built RapidJSON with Conan.
We must always use RapidJSON in Conan when RapidJSON is needed. We can build RapidJSON or pre-built RapidJSON in Conan.
We need check full CMake log to consider how to fix this problem. If our CMake configuration couldn't find RapidJSON provided by Conan, we must fix our CMake configuration. |
kou
commented
Jun 9, 2025
hiroyuki-sato
commented
Jun 9, 2025
Thanks! resolved by #46744. |
Rationale for this change
conan-minimumcan't find RapidJSON package.https://github.com/ursacomputing/crossbow/actions/runs/15484349076/job/43595828887#step:6:1006
What changes are included in this PR?
Build RapidJSON from source if necessary.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.