Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-12-08 03:37:33


Hi Volodya !

On Wednesday 08 December 2004 09:15, Vladimir Prus wrote:
> Hi J?rgen,
>
> > I'm getting strange build errors since the weekend. Sorry for the
> > late report, but I could only check my cron runs yesterday :-((
> >
> > When going to the boost root and running "bjam --v2" I get
> >
> > hunold_at_lin17 ~/packages/boost $ bjam --v2
> > /ive/hunold/packages/boost/tools/build/v2/build/targets.jam:1265:
> > in targets.tag-name from module targets error: Both <tag> and
> > <name> properties specified
> > /ive/hunold/packages/boost/tools/build/v2/tools/stage.jam:128: in
> > construct from module object(stage-target-class)@1

Ahh. I've missed the "stage.jam" in the second line.
I was confused by the fact that bjam didn't mention the offending
Jamfile...

> The error says you have both <tag> and <name> properties on some
> 'stage' rule. Could you check what stage rules have <tag>
> requirement, and give the their definition?

Well, I've only found

stage install : libs/$(libraries)/build
: <so-version>1.32.0
<location>$(lib-locate) <tag>@$(rename-rule)
;

in $BOOST_ROOT/Jamfile.v2 line 127.

Okay, I've solved the issue by making "install" explicit which it should
have been from beginning, I think. Or else bjam will _always_ try to
install to /usr/local ... . Patch attached ;-)

Now it fails when doing "bjam --v2 -n install"

hunold_at_lin17 ~/packages/boost $ bjam --v2 -n install
/ive/hunold/packages/boost/tools/build/v2/build/targets.jam:1265: in
targets.tag-name from module targets
error: Both <tag> and <name> properties specified
/ive/hunold/packages/boost/tools/build/v2/tools/stage.jam:128: in
construct from module object(stage-target-class)@1
/

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
 --Boundary-00=_N1rtBUPDCLKdPof Content-Type: text/x-diff;
charset="iso-8859-15";
name="Jamfile.v2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Jamfile.v2.diff"
Index: Jamfile.v2
=================================RCS file: /cvsroot/boost/boost/Jamfile.v2,v
retrieving revision 1.13
diff -u -5 -p -r1.13 Jamfile.v2
--- Jamfile.v2	3 Dec 2004 12:35:52 -0000	1.13
+++ Jamfile.v2	8 Dec 2004 08:34:09 -0000
@@ -126,11 +126,12 @@ else
stage install : libs/$(libraries)/build 
: <so-version>1.32.0 
<location>$(lib-locate) <tag>@$(rename-rule)
;
- 
+
+explicit install ; 
#build-project libs/test/build ;
#build-project libs/date_time/build ;
#build-project libs/regex/build ;
#build-project libs/signals/build ;
 --Boundary-00=_N1rtBUPDCLKdPof-- 

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