Boost Testing :
Subject: Tried to build the target twice
From: Dmitry Moskalchuk (dm_at_[hidden])
Date: 2016-07-10 13:47:57
Last couple of days I see the following problem running Boost regression
tests for Android:
error: Name clash for '<p/home/cislave/.crystax/ci-boost/regression/android-21-x86-gnu-develop/test/develop/regression/x86/test/results/boost/bin.v2/libs/gil/test/__boost_check_library__.test/gcc-4.9/release/link-static/target-os-android/threading-multi>__boost_check_library__.test'
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error: - none
error: - none
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
Does anybody known what that means? It's obviously result of the recent changes in Boost sources, since it appears just couple of days ago, but I have no idea where to see to fix that.
I suspect it has something to the fact we're running b2 with both static and shared variants enabled simultaneously. As far as I know, none of the Boost publishing testers do that - they all run b2 either with static or shared Boost libraries, but not with both static _and_ shared at the same time. It looks like the path for target doesn't take into account static/shared linking variant and produce the same target name for both of them, causing this error. What do you think?
-- Dmitry Moskalchuk