community icon indicating copy to clipboard operation
community copied to clipboard

boost_locale requires patching to work with use_icu=True

Open spavlovskyi opened this issue 7 years ago • 0 comments
trafficstars

Description of Problem, Request, or Question

boost_locale fails build with use_icu=True

Package Details (Include if Applicable)

  • Package Name/Version: boost_locale/1.67.0@bincrafters/testing
  • Operating System: any

Steps to reproduce (Include if Applicable)

conan install -o use_icu=True boost_locale/1.67.0@bincrafters/testing --build missing

the issue is two-fold:

  • icu 59.1 can't be built on recent linux, this is trivial to fix by overriding with 62.1, but still nice to have fixed boost_locale recipe
  • boost_locale tries to access boost_thread when using icu. this can be fixed by removing "thread", from source_only_deps and adding "boost_thread/1.67.0@bincrafters/testing", to requires. though you probably want to make it conditional on use_icu

spavlovskyi avatar Sep 27 '18 18:09 spavlovskyi