-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Problem description
bcp neither copies (to the output-path) nor --lists concept_check dependency for bimap
Problem reproduction
cd $HOMEgit clone https://github.com/boostorg/boost.git boostcd boostgit checkout boost-1.86.0git submodule update --init./bootstrap.sh./b2 tools/bcp./dist/bin/bcp --list bimap- Nothing from
concept_check(onlylibs/bimap/include/boost/bimap/detail/concept_tags.hpp) mkdir $HOME/boost_for_bimap./dist/bin/bcp bimap $HOME/boost_for_bimap- Try to compile simple C++ program using
#include "boost/bimap/bimap.hppproviding following include directories to compiler (I used gcc 9.4.0 on Ubuntu 20.04 LTS but it should not matter):
- $HOME/boost_for_bimap
- $HOME/boost_for_bimap/libs/bimap/include
- Observe compile error:
In file included from $HOME/boost_for_bimap/libs/bimap/include/boost/bimap/bimap.hpp:61,
from $HOME/<my_simple_program>.cpp:<line_number>,
$HOME/boost_for_bimap/libs/bimap/include/boost/bimap/detail/bimap_core.hpp:31:10: fatal error: boost/concept_check.hpp: No such file or directory
31 | #include <boost/concept_check.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Inconsistency with boostdep
./dist/bin/boostdep --list-dependencies bimap
correctly outputs concept_check as first primary dependency:
Primary dependencies for bimap:
concept_check:
<boost/concept_check.hpp>
from <boost/bimap/detail/bimap_core.hpp>
from <boost/bimap/list_of.hpp>
from <boost/bimap/multiset_of.hpp>
from <boost/bimap/set_of.hpp>
from <boost/bimap/unconstrained_set_of.hpp>
from <boost/bimap/unordered_multiset_of.hpp>
from <boost/bimap/unordered_set_of.hpp>
from <boost/bimap/vector_of.hpp>