Opened 13 years ago

Closed 12 years ago

#3736 closed Bugs (fixed)

bjam fails for Sun compilers on Solaris

Reported by: stephen.clamage@… Owned by: Vladimir Prus
Milestone: Component: build
Version: Boost 1.42.0 Severity: Regression
Keywords: Cc: serguei.sprogis@…

Description

bjam --dump-tests --toolset=sun -j4 failed, incorrectly complaining about a wrong stdlib feature:

'sun is not a known value of feature stdlib'

I think tools/build/v2/tools/sun.jam contains correct line: feature.extend stdlib : sun-stlport ;

The problem occurs in tools/build/v2/build/feture.jam in the validate-value-string() function. This function gets two arguments:

feature=stdlib value-string=sun-stlport

it divides 'sun-stlport' value into two values: 'sun' and 'stlport' (line 473):

values = [ regex.split $(value-string) - ] ;

which is probably wrong, and then this function immediately complains abut wrong value 'sun' (Line 482).

Change History (6)

comment:1 by Steven Watanabe, 13 years ago

Component: bjambuild
Owner: changed from René Rivera to Vladimir Prus

comment:2 by Vladimir Prus, 13 years ago

Resolution: fixed
Status: newclosed

(In [58451]) Do not treat 'sun-stlport' feature value as two subfeatures.

Fixes #3736. Patch from K. Noel Belcourt.

comment:3 by stephen.clamage@…, 13 years ago

Resolution: fixed
Status: closedreopened
Version: Boost 1.41.0Boost 1.42.0

This bug was supposedly fixed in 1.41.x, but is still present in 1.42.0

comment:4 by Marshall Clow, 12 years ago

Is this still a problem? I don't have access to a sun machine - but running the above command on my mac does not generate the errors that you report (lots of other errors, like missing compilers, but not that one)

comment:5 by stephen.clamage@…, 12 years ago

The bug seems to be fixed in 1.44. Thanks for getting back to me. stephen.clamage@…

comment:6 by Marshall Clow, 12 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.