Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcp does not copy or list concept_check as bimap dependency #22

Open
alexramzy opened this issue Sep 15, 2024 · 0 comments
Open

bcp does not copy or list concept_check as bimap dependency #22

alexramzy opened this issue Sep 15, 2024 · 0 comments

Comments

@alexramzy
Copy link

alexramzy commented Sep 15, 2024

Problem description

bcp neither copies (to the output-path) nor --lists concept_check dependency for bimap

Problem reproduction

  1. cd $HOME
  2. git clone https://github.com/boostorg/boost.git boost
  3. cd boost
  4. git checkout boost-1.86.0
  5. git submodule update --init
  6. ./bootstrap.sh
  7. ./b2 tools/bcp
  8. ./dist/bin/bcp --list bimap
  9. Nothing from concept_check (only libs/bimap/include/boost/bimap/detail/concept_tags.hpp)
  10. mkdir $HOME/boost_for_bimap
  11. ./dist/bin/bcp bimap $HOME/boost_for_bimap
  12. Try to compile simple C++ program using #include "boost/bimap/bimap.hpp providing 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
  1. 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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant