Boost logo

Boost-Build :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-04-10 11:50:52


Hello all,

I am running into some trouble with the BBv2 Sun toolset. My user-
config.jam looks like this:

using sun
   : 5.8
   : /opt/sunstudio11/SUNWspro/bin/CC
   ;

When I run bjam --v2 in libs/function/test, I get the following error:

/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/build/
feature.jam:557: in feature.subfeature from module feature
error: "version" already declared as a subfeature of "<toolset>"
specific to sun
/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/tools/
common.jam:175: in common.check-init-parameters from module common
/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/tools/
sun.jam:29: in sun.init from module sun
/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/build/
toolset.jam:26: in toolset.using from module toolset
/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/build/
project.jam:756: in using from module user-config
/u/dgregor/user-config.jam:3: in modules.load from module user-config
/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/build-
system.jam:125: in load from module build-system
/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/
kernel/modules.jam:261: in import from module modules
/nfs/magrathea/home/user3/dgregor/Projects/boost/tools/build/v2/
kernel/bootstrap.jam:121: in boost-build from module
/nfs/magrathea/home/user3/dgregor/Projects/boost/boost-build.jam:12:
in module scope from module

Now, if I take the "5.8" out of user-config.jam, everything seems to
work fine. The problem seems to be this line near the beginning of
tools/build/v2/tools/sun.jam:

        feature.subfeature toolset sun : version ;

At the risk of sounding foolish, can we just take out this line?
Doing so makes everything work as expected, and none of the other
toolsets seem to have it...

        Doug


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