You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jefferson Carpenter (Jira)" <ji...@apache.org> on 2022/07/06 18:28:00 UTC

[jira] [Commented] (ARROW-16993) [C++] cmake: `cannot create imported target "Boost::headers"`

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

Jefferson Carpenter commented on ARROW-16993:
---------------------------------------------

[~lidavidm] That sounds like a good explanation to me, I don't think you missed something.  I'll let you know if this isn't resolved after that issue is closed.

> [C++] cmake: `cannot create imported target "Boost::headers"`
> -------------------------------------------------------------
>
>                 Key: ARROW-16993
>                 URL: https://issues.apache.org/jira/browse/ARROW-16993
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Jefferson Carpenter
>            Priority: Major
>         Attachments: CMakeError.log, CMakeOutput.log
>
>
> Hi,
> I just tried to build arrow/cpp using cmake, and on the master branch I get the error
>  
> {code:java}
> arrow-build $ cmake -DARROW_PARQUET=ON -DCMAKE_BUILD_TYPE=DEBUG ../arrow/cpp/
> ...
> CMake Error at cmake_modules/ThirdpartyToolchain.cmake:873 (add_library):
>   add_library cannot create imported target "Boost::headers" because another
>   target with the same name already exists.
> Call Stack (most recent call first):
>   cmake_modules/ThirdpartyToolchain.cmake:139 (build_boost)
>   cmake_modules/ThirdpartyToolchain.cmake:236 (build_dependency)
>   cmake_modules/ThirdpartyToolchain.cmake:1014 (resolve_dependency)
>   CMakeLists.txt:552 (include) 
> ...
> -- Configuring incomplete, errors occurred!
> See also "/app/arrow-build/CMakeFiles/CMakeOutput.log".
> See also "/app/arrow-build/CMakeFiles/CMakeError.log".{code}
> and CMake exits with status 1.  The project configures successfully on the apache-arrow-8.0.0 tag.  Running a git bisect, the defect was introduced in the commit:
> {noformat}
> d653b71d79fc381c43f59d3095cc1c9fb0c1cf7c
> ARROW-16168: [C++][CMake] Use target to add include paths{noformat}
> I have attached CMakeOutput.log and CMakeError.log.
> Thanks!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)