Boost logo

Boost-Build :

From: Jürgen Hunold (hunold_at_[hidden])
Date: 2006-08-16 02:22:42


Hi Rene !

An'n Middeweken 16 August 2006, 07:58 hett Rene Rivera schreven:
> > This just broke all my build :-))
>
> Sorry :-(

Well, that's the risk of using HEAD ;-))

> > Please find a patch attached.
> > Okay to commit ?
> Sure :-)

Okay, coming soon to HEAD.

> Question though... How did it break your build? Where you using
> host-os/target-os already?

Well, the default initialization went amok because it detected "unix" and this
was not in the default value list.

Message is:
--------snip-------------
boost/tools/build/v2/build/feature.jam:155: in feature.set-default from module
feature
error: The specified default value, 'unix' is invalid
error: allowed values are: amiga aix bsd cygwin darwin dos emx freebsd hpux
linux netbsd openbsd osf qnx qnxnto sgi solaris sun sunos svr4 sysv ultrix
unixware vms windows
boost/tools/build/v2/tools/builtin.jam:73: in load from module builtin
boost/tools/build/v2/kernel/modules.jam:261: in import from module modules
boost/tools/build/v2/build-system.jam:26: in load from module build-system
boost/tools/build/v2/kernel/modules.jam:261: in import from module modules
boost/tools/build/v2/kernel/bootstrap.jam:132: in boost-build from module
/rmc/hunold/src/boost-build.jam:1: in module scope from module
---snap-------

And then the fix was obvious: add unix as default value and a check for
linux ;-))

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57  ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99  ! Lister Straße 15
* juergen.hunold_at_[hidden]   ! www.ivembh.de

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