-
Notifications
You must be signed in to change notification settings - Fork 4k
[DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error #46737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: |
|
@github-actions crossbow submit -g conan |
|
Revision: 9692eed Submitted crossbow builds: ursacomputing/crossbow @ actions-b471051ec7
|
|
@github-actions crossbow submit -g conan |
|
Revision: d76fb6b Submitted crossbow builds: ursacomputing/crossbow @ actions-a066ea7665
|
|
@github-actions crossbow submit -g conan |
|
Revision: c751f99 Submitted crossbow builds: ursacomputing/crossbow @ actions-721add8033
|
|
@github-actions crossbow submit -g conan |
|
Revision: cbda3b4 Submitted crossbow builds: ursacomputing/crossbow @ actions-3d10d87fac
|
|
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. |
|
|
|
We should not change Can we update Docker image for Conan instead? |
|
@github-actions crossbow submit -g conan |
|
Revision: ec495bf Submitted crossbow builds: ursacomputing/crossbow @ actions-ebe8a68077
|
|
@kou Thank you for your advice. Could you tell me "docker image" means? I understand Should we modify upstream side? |
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 |
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. |
|
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. |
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. |
|
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 |
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. |
|
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.