Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-06-23 06:23:30


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Volodya !

On Wednesday 23 June 2004 12:59, Vladimir Prus wrote:
> Hi Jürgen,

> Ok, I see the same error message. However, I'm not sure it's V2 bug.
> Consider
>
> help-project/app3/main/Jamfile
>
> and
>
> help-project/app4/main/Jamfile
>
> Both declare exe called app1 and stage them into ../../bin -- i.e. to
> binaries with the same name are staged to the same location, thereby
> causing the error.

Fixed this in new project (attached). It now includes the missing .o
and .lib files from extern library.

And now get the correct (!) error message:

bjam -j8 gcc-3.4.0
bjam Version 2
LINUX
PYTHON_PATH
/ive/hunold/packages/boost/tools/build/v2/build/virtual-target.jam:822:
in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pbin>extern_lib.a
error: previous virtual target
{ common%common.copy-extern_lib.STATIC_LIB
{ ../extern/extern_lib.STATIC_LIB } }
error: created from app3/main/Jamfile:14
error: another virtual target { common%common.copy-extern_lib.STATIC_LIB
{ ../extern/extern_lib.STATIC_LIB } }
error: created from app4/main/Jamfile:14
error: added properties: none
error: removed properties: none

(in virtual/output.txt)

> I suspect that the original error you had was for another reason.
> I've just comitted the attached patch, which makes the error message
> unconditional but also fixes a typo which causes locations for
> targets to be always reported as same. Could you try rerunning your
> original testcase?

The same with my main projects. Sorry for duplicating the stage-targets
on the first test...

Yours,

Jürgen

- --
* Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau
* voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover
* fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover
* hunold_at_[hidden] ! www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA2WgyljbJ/LLrxrYRAmEAAKCHd3BmYT7Yw3eIHPNOiMKXb13mbgCgyOxT
3aS06uOl7C3gSHjnIyBz4eY=
=V6zE
-----END PGP SIGNATURE-----
 --Boundary-00=_ygW2Acf4dUB8aCH Content-Type: application/x-tbz;
name="virtual.tar.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="virtual.tar.bz2"

[Attachment content not displayed.] --Boundary-00=_ygW2Acf4dUB8aCH--


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