Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Tried to build the target twice
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2016-07-11 15:29:22

On Sun, Jul 10, 2016 at 12:47 PM, Dmitry Moskalchuk <dm_at_[hidden]> wrote:

> Hello,
> 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:
> error: Tried to build the target twice, with property sets having
> error: these incompatible properties:
> error:
> error: - none
> error: - none
> error:
> error: Please make sure to have consistent requirements for these
> error: properties everywhere in your project, especially for install
> error: targets.
> 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.

Don't really know.

> 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?

I don't think it's the static & shared at the same time though. Because if
I do:

cd boost-root/status
b2 -n -d0 --dump-tests link=shared,static

There are no errors.

What is the b2 invocation that is causing the errors for you?

-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams -
-- rrivera/ (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-testing list run by mbergal at