You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/03/16 12:15:00 UTC

[jira] [Resolved] (ARROW-15851) [C++] Can't build Arrow 7.0 with preset ninja-release-flight

     [ https://issues.apache.org/jira/browse/ARROW-15851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Li resolved ARROW-15851.
------------------------------
    Fix Version/s: 8.0.0
       Resolution: Fixed

Issue resolved by pull request 12637
[https://github.com/apache/arrow/pull/12637]

> [C++] Can't build Arrow 7.0 with preset ninja-release-flight
> ------------------------------------------------------------
>
>                 Key: ARROW-15851
>                 URL: https://issues.apache.org/jira/browse/ARROW-15851
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 7.0.0
>         Environment: Ubuntu 20.04
> GCC 11.2
>            Reporter: Stephen Danauskas
>            Assignee: David Li
>            Priority: Minor
>              Labels: build-failure, pull-request-available
>             Fix For: 8.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Using the following steps, on Ubuntu 20.04 (docker image) I'm unable to perform the setup for Arrow. Sorry if this isn't the correct place to post this, issue tracker on github sent me over here
>  
>  
> {code:java}
> git checkout e90472e35b40f58b17d408438bb8de1641bfe6ef
> git submodule update --init
> cd cpp/
> mkdir build
> cd build
> cmake .. --preset ninja-release-flight
>  
> {code}
>  
>  
> {code:java}
> CMake Error at cmake_modules/ThirdpartyToolchain.cmake:3388 (get_target_property):
>   get_target_property() called with non-existent target "re2::re2".
> Call Stack (most recent call first):
>   cmake_modules/ThirdpartyToolchain.cmake:159 (build_grpc)
>   cmake_modules/ThirdpartyToolchain.cmake:239 (build_dependency)
>   cmake_modules/ThirdpartyToolchain.cmake:3557 (resolve_dependency)
>   CMakeLists.txt:546 (include)
> CMake Error at cmake_modules/ThirdpartyToolchain.cmake:3566 (get_target_property):
>   get_target_property() called with non-existent target "gRPC::grpc++".
> Call Stack (most recent call first):
>   CMakeLists.txt:546 (include)
> CMake Error at cmake_modules/ThirdpartyToolchain.cmake:3581 (message):
>   Cannot find grpc++ headers in
>   /home/dev/apache_arrow/arrow/cpp/build/grpc_ep-install/include
> Call Stack (most recent call first):
>   CMakeLists.txt:546 (include)
>  
> {code}
>  
> it works with just ninja-release, but I don't have flight in that case



--
This message was sent by Atlassian Jira
(v8.20.1#820001)