Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-12-29 14:48:09


It seems that the Jamfile for the date-time regression tests is making
GCC 2.95.x regression testing fail with this:

/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/boost-base.jam:1585: in find-compatible-subvariant
*** argument error
* rule split-target-subvariant ( target-var properties-var toolset-var
variant-var : subvariant )
* called with: ( sv-target sv-properties sv-toolset sv-variant : )
* missing argument subvariant
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/boost-base.jam:2032:see definition of rule
'split-target-subvariant' being called
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/boost-base.jam:1654: in link-libraries
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/boost-base.jam:1857: in generate-dependencies
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/boost-base.jam:1964: in subvariant-target
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/boost-base.jam:2057: in main-target
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/boost-base.jam:1369: in declare-local-target
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/testing.jam:64: in boost-test
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/testing.jam:552: in run
Jamfile:218: in load-jamfiles
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/tools/
build/v1/bootstrap.jam:21: in boost-build
/.automount/magrathea/root/home/user3/dgregor/Projects/boost/boost-
build.jam:16: in module scope

The following patch, which I've already applied, seems to fix the
problem. However, that USE_DATE_TIME_PRE_1_33_FACET_IO define seems
rather strange to me; is that really what was intended for the
serialization tests?

        Doug

Index: Jamfile
===================================================================
RCS file: /cvsroot/boost/boost/libs/date_time/test/Jamfile,v
retrieving revision 1.34
diff -u -r1.34 Jamfile
--- Jamfile 28 Nov 2005 13:20:35 -0000 1.34
+++ Jamfile 29 Dec 2005 19:45:26 -0000
@@ -183,6 +183,8 @@

   local DATE_TIME_PROPERTIES = <define>BOOST_DATE_TIME_STATIC_LINK
<define>BOOST_ALL_NO_LIB <define>USE_DATE_TIME_PRE_1_33_FACET_IO
      std::locale-support toolset::require-boost-spirit-support ;
+ local DATE_TIME_DYNAMIC_PROPERTIES = <define>BOOST_ALL_DYN_LINK
<runtime-link>dynamic <define>USE_DATE_TIME_PRE_1_33_FACET_IO
<define>BOOST_ALL_NO_LIB
+ std::locale-support toolset::require-boost-spirit-support ;

   test-suite date_time_serialization
     :


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk