[ https://issues.apache.org/jira/browse/ARROW-16993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Li updated ARROW-16993: ----------------------------- Summary: [C++] cmake: `cannot create imported target "Boost::headers"` (was: cmake: `cannot create imported target "Boost::headers"`) > [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)