From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-13 09:21:57
> I've noticed what seems to be a bug related to the creation of
> features. I declare a feature in one Jamfile. When I then execute bjam
> from my project root directory, everything seems to go OK.
> However, if I execute bjam from the directory containing the Jamfile
> in which the feature is defined, bjam tells me that:
> /usr/local/boost-build/new/feature.jam:125: in feature from module
> error: feature already defined:
> in feature declaration:
> feature "enable-my-feature" : "off" "on" : "propagated"
> So, it seems that bjam gets confused when it is executed on a non-root
> directory. It doesn't seem to matter how I initiate the build; that
> is, I can request the target via its 'use-project' name or its fully
> qualified name...it's doesn't seem to matter.
> Is this a known bug? Or am I perhaps doing something wrong?
this is not a known bug and I cannot reproduce it locally. Could you take a
small project on which the problem is seen, pack it, and sent it to me, so
that I can reproduce?
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