Boost logo

Boost-Build :

Subject: Re: [Boost-build] feature treated as a subfeature
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2009-12-21 17:17:40


On Dec 18, 2009, at 3:13 AM, Vladimir Prus wrote:

> On Tuesday 09 September 2008 00:40:22 K. Noel Belcourt wrote:
>
>>
>> On Sep 8, 2008, at 2:21 PM, K. Noel Belcourt wrote:
>>
>>> When building on my Linux system, with the sun-5.9 compilers, I try
>>> to use the stdlib=sun-stlport feature (defined in sun.jam). I get
>>> this error from the build system.
>>>
>>> bjam sun-5.9 stdlib=sun-stlport
>>>
>>> /var/scratch/boost/tools/build/v2/build/feature.jam:466: in
>>> validate-
>>> value-string from module feature
>>> error: "sun" is not a known value of feature <stdlib>
>>> error: legal values: "native" "sun-stlport" "stlport"
>>
>> I've attached a patch which seems to fix this problem and, hopefully,
>> doesn't cause any other problems. Can someone look this over and see
>> if it looks okay? Basically the patch says if a feature has a
>> subfeature (which <stdlib> does) and the value-string (sun-stlport)
>> is not in the list of valid features ( $($(feature).values) ), then
>> proceed as before (split the string into subfeatures and validate the
>> subfeatures.
>
> After an embarrassing delay, I've checked in
> this change (suitably adjusted for recent changes):
>
> https://svn.boost.org/trac/boost/changeset/58451
>
> Noel, could you check whether you still need any local changes in
> feature.jam?

It seems to work fine without my local changes.

Thanks Volodya!

-- Noel


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