Boost logo

Boost-Maint :

Subject: Re: [Boost-maint] Spam (10.533):Re: [boost] Conflicts when building libraries at root
From: Beman Dawes (bdawes_at_[hidden])
Date: 2015-01-05 08:29:18


On Sun, Jan 4, 2015 at 10:48 AM, Jürgen Hunold <jhunold_at_gmx.eu> wrote:

> Hi Peter,
>
> Am Sonntag, 4. Januar 2015, 17:06:42 schrieb Peter Dimov:
> > On Windows, at least, when I do ./b2 toolset=msvc-8.0 at Boost root, I
> get
> >
> > error: Name clash for '<pstage\lib>libboost_system-vc80-mt-gd-1_58.lib'
> > error:
> > error: Tried to build the target twice, with property sets having
> > error: these incompatible properties:
> > error:
> > error: - <warnings>all
> > error: - <address-model>32 <architecture>x86 <warnings>on
> >
> > When I add --without-context --without-coroutine, I now get
>
> Known issue, see
>
> http://lists.boost.org/boost-build/2014/12/27774.php et. al.
>
> > Ah. --without-endian. Builds now.
>
> Yes, I've pushed a PR for Boost.Endian in Oktober:
>
> https://github.com/boostorg/endian/pull/7
>
> I've applied one of the suggested resolutions (rename build to benchmark)
but the boost-wide b2 build still fails.

The error message is:

error: Name clash for '<pstage\lib>libboost_system-vc140-mt-1_58.lib'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error: - <warnings>all
error: - <address-model>32 <architecture>x86 <warnings>on
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.

To get it to work, I have to use:

>b2 --without-test --without-context --without-coroutine

Here is another b2 build that works:

>b2 --with-system --with-filesystem --with-timer --with-chrono

But this one fails:

>b2 --with-system --with-filesystem --with-timer --with-chrono --with-test
...
error: Name clash for '<pstage\lib>libboost_system-vc140-mt-gd-1_58.lib'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error: - <asynch-exceptions>off
error: - <asynch-exceptions>on
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.

Note: bin.v2 deleted before each b2 attempt.

This fails:

>b2 --with-system --with-test

but this works:

>b2 --with-test

That last one builds system, chrono, timer, and test. All with
asynch-exceptions-on.

I'm at a loss.

--Beman


Boost-Maint list run by bdawes at acm dot org