|
Boost-Build : |
Subject: Re: [Boost-build] Doc build failure on release branch
From: Daniel James (daniel_james_at_[hidden])
Date: 2008-10-09 03:19:29
2008/10/9 Daniel James <daniel_james_at_[hidden]>:
>
> I was actually building on linux with windows newlines, because my
> windows machine isn't working (the point was to test a bug in
> quickbook). But since the comment explained the error I was getting I
> think it'll probably be the same on cygwin. Although, rereading the
> comment, it might not make sense for linux as it doesn't explain why
> linux would use a windows newline. I've attached an extract of the
> build log, it contains a mix of windows newlines (in the command for
> running xsltproc) and unix newlines.
Oh, if you look a few lines earlier in the code the problem is
obvious, it's assuming that the newline used in the jamfile is the
correct one to use:
http://svn.boost.org/trac/boost/browser/trunk/tools/build/v2/tools/common.jam?rev=48570#L501
If you set nl to '\r\n' in the NT block, and '\n' in the other block
it might work better I think Eric's patch works because with it the
windows newline is no longer at the end of a variable, so if what I
suggested isn't possible, it's probably fine. I'll test it tonight if
needed.
Daniel
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