community icon indicating copy to clipboard operation
community copied to clipboard

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

Open hylandnp opened this issue 6 years ago • 2 comments
trafficstars

Package and Environment Details

  • Package Name/Version: boost_chrono/1.69.0
  • Operating System+version: Linux Ubuntu 16.04
  • Compiler+version: gcc-8
  • Docker image: nhbs/bimandscan-conan-build:gcc8-x64 (custom image based on conanio/gcc8 with pre-installed profiles and some additional dev. tools)
  • Conan version: conan 1.13.0
  • Python version: Python 3.7.0

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

hylandnp avatar Mar 14 '19 12:03 hylandnp

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

solvingj avatar Mar 15 '19 04:03 solvingj

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>

solvingj avatar Mar 15 '19 04:03 solvingj