Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-03-29 12:13:41


Jürgen Hunold wrote:
> Hi !
>
> I've checked out the RC_1_34_0 branch add tried to compile bjam using cygwin
> bash.
> The compile fails with:
>
> ./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
> assertion "!strcmp( l->string, "c:\\foo\\bar" )" failed: file "expand.c", line
> 714
>
> (full output attached).
>
> It seems this is the mysterious path issue again.

Grrr :-(

> Any Ideas ?

Not really.

> What information do you need to debug this ?

Hm, I think the only info would be what this code.. does for your cygwin
install...

     char cygpath[256];
     cygwin_conv_to_posix_path("c:\\foo\\bar", cygpath);

The key info is the value of "cygpath". The above is part of the
var_expand_unit_test function in expand.c. So perhaps you can run the
jam0.exe in GDB, set a break point at the above point, and see what happens.

Unfortunately the docs on cygwin_conv_to_posix_path are rather slim
<http://www.cygwin.com/cygwin-api/func-cygwin-conv-to-posix-path.html>
so using it is a hit and miss effort.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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