You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "hiroyuki-sato (via GitHub)" <gi...@apache.org> on 2025/06/07 15:37:30 UTC

[PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

hiroyuki-sato opened a new pull request, #46737:
URL: https://github.com/apache/arrow/pull/46737

   ### Rationale for this change
   
   `conan-minimum` can't find RapidJSON package.
   
   https://github.com/ursacomputing/crossbow/actions/runs/15484349076/job/43595828887#step:6:1006
   
   
   ```
   -- Conan: Including build module from '/root/.conan2/p/opens291bcb59a86d6/p/lib/cmake/conan-official-openssl-variables.cmake'
   -- Providing CMake module for FindThriftAlt as part of Parquet CMake package
   -- pkg-config package for thrift that is used by parquet for static link isn't found
   CMake Warning at cmake_modules/FindRapidJSONAlt.cmake:29 (find_package):
     By not providing "FindRapidJSON.cmake" in CMAKE_MODULE_PATH this project
     has asked CMake to find a package configuration file provided by
     "RapidJSON", but CMake did not find one.
   
     Could not find a package configuration file provided by "RapidJSON"
     (requested version 1.1.0) with any of the following names:
   
       RapidJSONConfig.cmake
       rapidjson-config.cmake
   
     Add the installation prefix of "RapidJSON" to CMAKE_PREFIX_PATH or set
     "RapidJSON_DIR" to a directory containing one of the above files.  If
     "RapidJSON" provides a separate development package or SDK, be sure it has
     been installed.
   Call Stack (most recent call first):
     cmake_modules/ThirdpartyToolchain.cmake:310 (find_package)
     cmake_modules/ThirdpartyToolchain.cmake:2538 (resolve_dependency)
     CMakeLists.txt:618 (include)
   
   
   CMake Error at /root/.conan2/p/cmakee7c682f30a1a9/p/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
     Could NOT find RapidJSONAlt (missing: RAPIDJSON_INCLUDE_DIR) (Required is
     at least version "1.1.0")
   Call Stack (most recent call first):
     /root/.conan2/p/cmakee7c682f30a1a9/p/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
   ```
   
   ### What changes are included in this PR?
   
   TODO
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   No.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954959724

   Does `conan-maximum`(not minimum) use `bundled RapidJSON`?
   
   > Does it mean "we use bundled RapidJSON in apache/arrow"?
   
   
   I meant `conan-minimul` currently, try to use the RapidJSON provided by Ubuntu, (`SYSTEM`)
   Neither not `bundled RapidJSON` or the original source.
   My point was `conan-minimum` must build RapidJSON from source.
   
   I understand the follwoing
   
   The goal,
   
   |  group                   | RapidJSON        |  RapidJSON type      |
   |------------------|-----------------|----|
   | conan-minimum |  Build from source | RapidJson using Conan's RapidJSON | 
   | conam-maximum |  Build from source | Bundled RapidJSON?? |
   
   
   But I don't know what configuration file should we change for use Conan's RapidJSON in the `conan-manimum` yet.
   Do we need to modify upstream side? (not in the arrow project)
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954809052

   Hello, @amoeba. Do you have any idea how to fix the problem. I found your name from the commit log.
   https://github.com/conan-io/conan-center-index/commit/69d04bdd12372cc8f164142753cef0d6de56930e
   
   I'm not familiar with conan.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2952685404

   Revision: 9692eed0031c5b257d2e870ce6fb898d2ea92700
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-b471051ec7](https://github.com/ursacomputing/crossbow/branches/all?query=actions-b471051ec7)
   
   |Task|Status|
   |----|------|
   |conan-maximum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-b471051ec7-github-conan-maximum)](https://github.com/ursacomputing/crossbow/actions/runs/15509307273/job/43668107596)|
   |conan-minimum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-b471051ec7-github-conan-minimum)](https://github.com/ursacomputing/crossbow/actions/runs/15509307191/job/43668107568)|


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2952680980

   @github-actions crossbow submit -g conan


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954396802

   Revision: cbda3b4b2376b6d1583dfea004586bd92726ee41
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-3d10d87fac](https://github.com/ursacomputing/crossbow/branches/all?query=actions-3d10d87fac)
   
   |Task|Status|
   |----|------|
   |conan-maximum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-3d10d87fac-github-conan-maximum)](https://github.com/ursacomputing/crossbow/actions/runs/15524534627/job/43702248994)|
   |conan-minimum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-3d10d87fac-github-conan-minimum)](https://github.com/ursacomputing/crossbow/actions/runs/15524534471/job/43702248681)|


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954446878

   We should not change `conanfile.py` only for our CI.
   We have `ci/conan/` to prevent a new release that breaks Conan packaging. So `conanfile.py` must be synchronized with upstream ( https://github.com/conan-io/conan-center-index/tree/master/recipes/arrow ).
   
   Can we update Docker image for Conan instead?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954863874

   > IIUC, both(`conon-maximum` and `conan-minimum` ) must be build RapidJSON from source.
   
   Does it mean "we use bundled RapidJSON in apache/arrow"?
   
   We must use Conan's RapidJSON not bundled RapidJSON.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato closed pull request #46737: [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error
URL: https://github.com/apache/arrow/pull/46737


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954487308

   Revision: ec495bfca2164cb5feda731cbd76bfe4012a47d1
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-ebe8a68077](https://github.com/ursacomputing/crossbow/branches/all?query=actions-ebe8a68077)
   
   |Task|Status|
   |----|------|
   |conan-maximum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-ebe8a68077-github-conan-maximum)](https://github.com/ursacomputing/crossbow/actions/runs/15525575115/job/43704750262)|
   |conan-minimum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-ebe8a68077-github-conan-minimum)](https://github.com/ursacomputing/crossbow/actions/runs/15525575132/job/43704750227)|


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2952678529

   <!--
     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
   -->
   
   Thanks for opening a pull request!
   
   If this is not a [minor PR](https://github.com/apache/arrow/blob/main/CONTRIBUTING.md#Minor-Fixes). 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](http://theapacheway.com/open/#:~:text=Openness%20allows%20new%20users%20the,must%20happen%20in%20the%20open.) of the Apache Arrow project.
   
   Then could you also rename the pull request title in the following format?
   
       GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}
   
   or
   
       MINOR: [${COMPONENT}] ${SUMMARY}
   
   See also:
   
     * [Other pull requests](https://github.com/apache/arrow/pulls/)
     * [Contribution Guidelines - Contributing Overview](https://arrow.apache.org/docs/developers/overview.html)
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954357509

   @github-actions crossbow submit -g conan


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954697279

   > Could you tell me **"docker image"** means? IIUC, this build run on [`conanio/gcc11-ubuntu16.04: gcc 11`](https://github.com/conan-io/conan-docker-tools/blob/master/images/README.md#official-docker-images) on Ubuntu 16.04. https://github.com/apache/arrow/blob/main/.env#L102-L106 This image doesn't belongs to this project. What image should we modify?
   
   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.
    
   > I understand `ci/conan` directory is the copy of [conan-center-index](https://github.com/conan-io/conan-center-index/tree/master/recipes/arrow) like homebrew #45460. It seems that the current directory doesn't synchronize the latest. I synchronized and latest. After the synchronization, both test has been failed.
   
   How did you do? We have a script for it: https://github.com/apache/arrow/blob/main/ci/conan/merge_upstream.sh


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954435086

   :warning: GitHub issue #46736 **has been automatically assigned in GitHub** to PR creator.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954485168

   @github-actions crossbow submit -g conan


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954359286

   Revision: c751f99cbd664750893f5e03da49ac8d1b5b6bf0
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-721add8033](https://github.com/ursacomputing/crossbow/branches/all?query=actions-721add8033)
   
   |Task|Status|
   |----|------|
   |conan-maximum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-721add8033-github-conan-maximum)](https://github.com/ursacomputing/crossbow/actions/runs/15524063351/job/43701111786)|
   |conan-minimum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-721add8033-github-conan-minimum)](https://github.com/ursacomputing/crossbow/actions/runs/15524063353/job/43701111795)|


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954433513

   Hello, @kou 
   
   IIUC, RapidJSON must build from source code due to INBOX RapidJSON too old(0.12) on the conan-image(Ubuntu 16.04).
   I don't have 100% sure correctly change, But CI passed. What do you think this change?
   
   Here are the results of my investigation.
   https://github.com/apache/arrow/issues/46736#issuecomment-2951546997
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954988035

   > Does `conan-maximum`(not minimum) use `bundled RapidJSON`?
   
   I haven't checked build log but it must not use bundled RapidJSON.
   
   > > Does it mean "we use bundled RapidJSON in apache/arrow"?
   > 
   > I meant `conan-minimul` currently, try to use the RapidJSON provided by Ubuntu, (`SYSTEM`) Neither not `bundled RapidJSON` or the original source. My point was `conan-minimum` must build RapidJSON from source.
   
   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.
    
   > I understand the follwoing
   > 
   > The goal,
   > group 	RapidJSON 	RapidJSON type
   > conan-minimum 	Build from source 	RapidJson using Conan's RapidJSON
   > conam-maximum 	Build from source 	Bundled RapidJSON??
   
   We must always use RapidJSON in Conan when RapidJSON is needed. We can build RapidJSON or pre-built RapidJSON in Conan.
   
   > But I don't know what configuration file should we change for use Conan's RapidJSON in the `conan-manimum` yet. Do we need to modify upstream side? (not in the arrow project)
   
   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.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2955063053

   https://github.com/apache/arrow/pull/46744


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954866363

   In general, we must use bundled dependencies with Conan. We must use dependencies in Conan instead with Conan.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2953490521

   @github-actions crossbow submit -g conan


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954394831

   @github-actions crossbow submit -g conan


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2953491328

   Revision: d76fb6b689ceb45e095d66c499e752eaaf1fcd7b
   
   Submitted crossbow builds: [ursacomputing/crossbow @ actions-a066ea7665](https://github.com/ursacomputing/crossbow/branches/all?query=actions-a066ea7665)
   
   |Task|Status|
   |----|------|
   |conan-maximum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-a066ea7665-github-conan-maximum)](https://github.com/ursacomputing/crossbow/actions/runs/15514484255/job/43679593143)|
   |conan-minimum|[![GitHub Actions](https://github.com/ursacomputing/crossbow/actions/workflows/crossbow.yml/badge.svg?branch=actions-a066ea7665-github-conan-minimum)](https://github.com/ursacomputing/crossbow/actions/runs/15514484197/job/43679592999)|


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954514933

   @kou Thank you for your advice.
   
   Could you tell me **"docker image"** means?
   IIUC, this build run on [`conanio/gcc11-ubuntu16.04: gcc 11`](https://github.com/conan-io/conan-docker-tools/blob/master/images/README.md#official-docker-images) on Ubuntu 16.04.
   https://github.com/apache/arrow/blob/main/.env#L102-L106
   This image doesn't belongs to this project.
   What image should we modify?
   
   I understand `ci/conan` directory is the copy of [conan-center-index](https://github.com/conan-io/conan-center-index/tree/master/recipes/arrow) like homebrew #45460.
   It seems that the current directory doesn't synchronize the latest.
   I synchronized and latest. After the synchronization, both test has been failed.
   
   Should we modify [upstream](https://github.com/conan-io/conan-center-index/tree/master/recipes/arrow) side?  
   
   https://github.com/conan-io/conan-docker-tools/blob/master/images/README.md#official-docker-images
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2954790597

   > Ah, conan-io/conan-docker-tools doesn't provide images that are based on newer Ubuntu yet?
   
   Yes. (Ubuntu 16.04 is the latest).
   https://hub.docker.com/u/conanio
   
   > 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
   
   Before creating this PR. the status was the below.
   
   | group          | status | RapidJSON     |
   |----------------|--------|---------------|
   | conan-maximum: | passed |  Build 1.1.0  |
   | conan-minimum: | failed |  Not build    |
   
   conan-maximum built RapidJSON from source code. So, conan-maximum build passed.
   `conan-maximum` build wihth `ARROW_CONAN_WITH_JSON=ON`, It set `arrow/*with-json=true` in the `conan` command)
   
   However, `conam-minumum` doesn't set `ARROW_CONAN_WITH_JSON` option. All of settings use default.
   https://github.com/apache/arrow/issues/46736#issuecomment-2951546997
   As a reusult, It try to use the RapidJSON provided by Ubuntu. But It use `RapidJSON 0.12`.
   https://github.com/apache/arrow/blob/0e5249b0e8f060f8ee5136579bfeed8c92d0d1ab/ci/conan/all/conanfile.py#L374
   I think that this is the reson of build failure.
   
   IIUC, both(`conon-maximum` and `conan-minimum` ) must be build RapidJSON from source. 
   
   Changing `tc.variables["RapidJSON_SOURCE"] = "SYSTEM"` to `tc.variables["RapidJSON_SOURCE"] = "AUTO"` solve
   `conan-minimum` issue. I think `AUTO` means build from source if needed.
   But you told me it's not proper way.
   
   I don't know how to fix yet. It seems I need fix upstream side.
   
   > How did you do? We have a script for it: https://github.com/apache/arrow/blob/main/ci/conan/merge_upstream.sh
   
   I'll try this.
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [DNM] GH-46736: [CI][Dev] conan-minimum build failure with RapidJSON missing error [arrow]

Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on PR #46737:
URL: https://github.com/apache/arrow/pull/46737#issuecomment-2955132355

   Thanks! resolved by #46744.
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org