Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-18 03:27:23


Hi Jürgen,

> > _Each_ sub-project compiles like a charm when bjam is invoked in the
> > sub-project's top-level directory. When building from the common
> > top-level directory (= project-root for all sub-projects), bjam
> > chokes with the message above when finding more than 6 build-project
> > rules. I've tried several combinations of my 10 sub-projects but I
> > can only build 6 of them at a time.
>
> Please forget the number of build-project lines. The problem occurs as
> soon as two sub-project refer to the same library from my main project.

The only reason this could happen if when the stage rules is passed two
targets with the same name but with diffent properties. Now, how the
properties differ and where the targets were created. I don't know ;-),
because the error message is <adjenctive censored out>

Ok, I've tried to improve that I getting the following on one testcase:

error: Duplicate name of actual target: <pd>hello
error: previous virtual target { gcc%gcc.link-hello.STAGED_EXE
{ gcc%gcc.compile.c++-hello.OBJ { hello.CPP } } }
error: created from Jamfile:2
error: another virtual target { gcc%gcc.link-hello.STAGED_EXE
{ gcc%gcc.compile.c++-hello.OBJ { hello.CPP } } }
error: created from Jamfile:2
error: added properties: <debug-symbols>on <inlining>off <optimization>off
<runtime-debugging>on <variant>debug
error: removed properties: <debug-symbols>off <define>NDEBUG <inlining>full
<optimization>speed <runtime-debugging>off <variant>release

Which maybe could be formatted better, but at least have move information.
I've comitted the change just now, and would appreciate if you show me the
new error message.

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk