bincrafters / community

Central repository for issues and recipes
http://bincrafters.readthedocs.io/en/latest/
MIT License
218 stars 36 forks source link

[boost_chrono] Build failure in Docker container when using 'RelWithDebInfo' mode. #683

Open hylandnp opened 5 years ago

hylandnp commented 5 years ago

Package and Environment Details

Conan profile

[settings] os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=8 compiler.libcxx=libstdc++11 build_type=RelWithDebInfo [options] [build_requires] [env]

Steps to reproduce

Either build or attempt to install the 'boost_chrono' dependency in Conan with '-s build_type=RelWithDebInfo' and '--build=missing' parameters. In given Docker image, use '-pr=RelWithDebInfo' as profile.

Compilation will fail with missing header error message from 'boost_preprocessor' library. Compilation on host machine with same configuration succeeds.

Logs

log_snippet.txt

solvingj commented 5 years ago

I believe we've seen this before. I will have to look into it over the weekend.

solvingj commented 5 years ago

For posterity, the actual error message is here:

/home/conan/.conan/data/boost_mpl/1.69.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/mpl/include/boost/mpl/aux_/integral_wrapper.hpp:22:10: fatal error: boost/preprocessor/cat.hpp: No such file or directory
 #include <boost/preprocessor/cat.hpp>