|
Boost-Build : |
From: Juergen Hunold (hunold_at_[hidden])
Date: 2005-01-22 04:50:51
Hi Volodya !
On Friday 21 January 2005 17:08, Vladimir Prus wrote:
> Some time ago we've discussed how best to apply naming conversion to
> target names, such as 'd' letters for debug builds. I've committed
> some changes resulted from that discussion.
>
> Here is the summary of changes:
> The <tag> feature now must be present only once in build properties,
> and its value must the have the form '@rule.name'. The mentioned rule
> will be called to compute the name of each created virtual target
> that has <tag> in properties.
>
> The rule should match this prototype:
>
> rule name ( name : type ? : property-set )
Volodya, could you please add an example for this ?
I admit I'm lost :-)
> Things left to do:
> - rename 'stage' to 'install'
> - implement proper versioning support for dynamic libraries
That would be cool.
> If there are any problems with my changes, let me know.
Yes, it broke the Qt-toolset.
To reproduce, please add
stage dist : canvas : <location>. <hardcode-dll-paths>true ;
to examples/qt/jamfile.
V2 then crashes with
bjam --v2 gcc-3.4 dist
/home/hunold/packages/boost/tools/build/v2/build/property-set.jam:46: in
object(property-set)@48.__init__ from module object(property-set)@48
error: Invalid property: '/usr/local/qt-x11-commercial-3.3.3/lib'
/home/hunold/packages/boost/tools/build/v2/kernel/class.jam:92: in new
from module class
(builtin):-1: in property-set.create from module property-set
(full backtrace attached in failure.txt.)
I'm working around this for now by making all my stage rules explicit as
this stop bjam from evaluting the rules. But I can't stage
anymore ;-((
This is not urgent (at least for me) as I'm still only evaluating ;-)
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 -- * 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=_8Hi8BV3xz6l6k8j Content-Type: text/plain; charset="iso-8859-1"; name="failure.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="failure.txt" cd /home/hunold/packages/boost/tools/build/v2/example/qt/ bjam --v2 gcc-3.4 dist /home/hunold/packages/boost/tools/build/v2/build/property-set.jam:46: in object(property-set)@48.__init__ from module object(property-set)@48 error: Invalid property: '/usr/local/qt-x11-commercial-3.3.3/lib' /home/hunold/packages/boost/tools/build/v2/kernel/class.jam:92: in new from module class (builtin):-1: in property-set.create from module property-set /home/hunold/packages/boost/tools/build/v2/tools/stage.jam:132: in adjust-properties from module object(stage-target-class)@1 /home/hunold/packages/boost/tools/build/v2/tools/stage.jam:154: in construct from module object(stage-target-class)@1 /home/hunold/packages/boost/tools/build/v2/build/targets.jam:1118: in object(stage-target-class)@1.generate from module object(stage-target-class)@1 /home/hunold/packages/boost/tools/build/v2/build/targets.jam:750: in generate-really from module object(main-target)@2 /home/hunold/packages/boost/tools/build/v2/build/targets.jam:723: in object(main-target)@2.generate from module object(main-target)@2 /home/hunold/packages/boost/tools/build/v2/build-system.jam:151: in load from module build-system /home/hunold/packages/boost/tools/build/v2/example/../kernel/modules.jam:259: in import from module modules /home/hunold/packages/boost/tools/build/v2/example/../kernel/bootstrap.jam:120: in boost-build from module /home/hunold/packages/boost/tools/build/v2/example/boost-build.jam:2: in module scope from module Compilation exited abnormally with code 1 at Sat Jan 22 10:47:25 --Boundary-00=_8Hi8BV3xz6l6k8j--
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