[ 
https://issues.apache.org/jira/browse/ARROW-15851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17501574#comment-17501574
 ] 

David Li commented on ARROW-15851:
----------------------------------

Thanks for confirming. I'll get a PR up when I get a chance.

> [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
>            Priority: Minor
>              Labels: build-failure
>
> 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)

Reply via email to