List Info

Thread: Feature Validation Problem




Feature Validation Problem
user name
2006-05-21 18:09:36
Building serialization tests yields the following,
presumably unless I
configure stlport.

bjam --v2 test_exported msvc-8.0
Building Boost.Regex with the optional Unicode/ICU support
disabled.
Please refer to the Boost.Regex documentation for more
information
(and if you don't know what ICU is then you probably don't
need it).
c:/boost/tools/build/v2/build\feature.jam:430: in
validate-value-string from module feature
error: "stlport" is not a known value of feature
<stdlib>
error: legal values: "native"
c:/boost/tools/build/v2/build\feature.jam:314: in
expand-subfeatures-aux from module feature
c:/boost/tools/build/v2/build\feature.jam:372: in
feature.expand-subfeatures from module feature
c:/boost/tools/build/v2/build\property.jam:153: in
property.expand-subfeatures-in-conditions from module
property
c:/boost/tools/build/v2/build\property-set.jam:383: in
property-set.create-from-user-input from module property-set
c:/boost/tools/build/v2/build\targets.jam:1398: in
targets.main-target-requirements from module targets
c:/boost/tools/build/v2/build\targets.jam:1469: in
targets.create-typed-target from module targets
c:/boost/tools/build/v2/tools\testing.jam:93: in make-test
from module testing
c:/boost/tools/build/v2/tools\testing.jam:147: in run from
module testing
Jamfile.v2:46: in run-template from module
Jamfile</c:/boost/libs/serialization/test>
Jamfile.v2:76: in run-invoke from module
Jamfile</c:/boost/libs/serialization/test>
Jamfile.v2:195: in test-bsl-run_archive from module
Jamfile</c:/boost/libs/serialization/test>
Jamfile.v2:220: in test-bsl-run_polymorphic_archive from
module Jamfile</c:/boost/libs/serialization/test>
Jamfile.v2:267: in modules.load from module
Jamfile</c:/boost/libs/serialization/test>
c:/boost/tools/build/v2/build\project.jam:306: in
load-jamfile from module project
c:/boost/tools/build/v2/build\project.jam:68: in load from
module project
c:/boost/tools/build/v2/build\project.jam:164: in
project.find from module project
c:/boost/tools/build/v2\build-system.jam:147: in load from
module build-system
c:\boost\tools\build\v2/kernel\modules.jam:261: in
import from module modules
c:\boost\tools\build\v2/kernel/bootstrap.jam:132: in
boost-build from module
c:\boost\boost-build.jam:12: in module scope from module

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Feature Validation Problem
user name
2006-05-23 15:08:43
On Sunday 21 May 2006 22:09, David Abrahams wrote:
> Building serialization tests yields the following,
presumably unless I
> configure stlport.
>
> bjam --v2 test_exported msvc-8.0
> Building Boost.Regex with the optional Unicode/ICU
support disabled.
> Please refer to the Boost.Regex documentation for more
information
> (and if you don't know what ICU is then you probably
don't need it).
> c:/boost/tools/build/v2/build\feature.jam:430: in
validate-value-string
> from module feature error: "stlport" is not
a known value of feature

I get this too. I wonder why I don't get the same error
when running bjam in 
status. I'll look into this.

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Feature Validation Problem
user name
2006-05-23 15:26:59
On Tuesday 23 May 2006 19:08, Vladimir Prus wrote:
> On Sunday 21 May 2006 22:09, David Abrahams wrote:
> > Building serialization tests yields the following,
presumably unless I
> > configure stlport.
> >
> > bjam --v2 test_exported msvc-8.0
> > Building Boost.Regex with the optional Unicode/ICU
support disabled.
> > Please refer to the Boost.Regex documentation for
more information
> > (and if you don't know what ICU is then you
probably don't need it).
> > c:/boost/tools/build/v2/build\feature.jam:430: in
validate-value-string
> > from module feature error: "stlport"
is not a known value of feature
>
> I get this too. I wonder why I don't get the same
error when running bjam
> in status. I'll look into this.

Okay, running in 'status' works because
libs/iostreams/test/Jamfile.v2 has 

   import stlport ;

The good question now is what's the right solution:

1. We can add 'import stlport' to serialization's
test/Jamfile.v2
2. We can disabling validation of the 'stdlib' feature
used in condition of 
conditional requirements.

(1) looks better to me. Comments?

- Volodya


-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Feature Validation Problem
user name
2006-05-24 06:21:06
> 1. We can add 'import stlport' to serialization's
test/Jamfile.v2
> 2. We can disabling validation of the 'stdlib'
feature used in condition of
> conditional requirements.
>
> (1) looks better to me. Comments?
>
> - Volodya

  How does one disable the validation of a specific feature?
I have
some dynamically extended features that need this.

-- 
Bojan Resnik
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )