Opened 13 years ago
Closed 12 years ago
#3736 closed Bugs (fixed)
bjam fails for Sun compilers on Solaris
Reported by: | 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 , 13 years ago
Component: | bjam → build |
---|---|
Owner: | changed from | to
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Version: | Boost 1.41.0 → Boost 1.42.0 |
This bug was supposedly fixed in 1.41.x, but is still present in 1.42.0
comment:4 by , 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 , 12 years ago
The bug seems to be fixed in 1.44. Thanks for getting back to me. stephen.clamage@…
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [58451]) Do not treat 'sun-stlport' feature value as two subfeatures.
Fixes #3736. Patch from K. Noel Belcourt.