Re: [Boost-docs] [boostbook] doc build broken on cygwin

Subject: Re: [Boost-docs] [boostbook] doc build broken on cygwin
From: Eric Niebler (eric_at_[hidden])
Date: 2010-06-03 18:04:14


On 6/3/2010 11:33 AM, Steven Watanabe wrote:
> AMDG
>
> Eric Niebler wrote:
>> Interesting that here we use file:///home/... and on trunk we use
>> file:///C:/cygwin/home.
>>
>
> Yep.
>
>>> For some reason, cygwin xsltproc doesn't seem to accept
>>> win32 paths. Does it work if you manually change
>>> boostbook_catalog.xml to use cygwin paths (file:///home/...)?
>>> I tried to do this adjustment automatically, but apparently
>>> it doesn't quite work.
>>>
>>
>> I can confirm that manually editing the catalog file and running the
>> xsltproc command from the command line fixes the problem. (If I just run
>> bjam again, the catalog gets overwritten and it fails again.)
>>
>> I wonder if the recent changes made by you an Beman described here
>> (http://tinyurl.com/299jndd) are responsible.
>
> Yes. I just committed a fix. Can you try again?

Not there yet ...

Eric_at_AERIX ~/boost/org/trunk/libs/foreach/doc
$ bjam
...patience...
...found 1246 targets...
...updating 3 targets...
quickbook.quickbook-to-boostbook
../../../bin.v2/libs/foreach/doc/gcc-3.4.4/debug/foreach.xml
Generating Output File:
C:\cygwin\home\Eric\boost\org\trunk\bin.v2\libs\foreach\doc\gcc-3.4.4\debug\
foreach.xml
foreach.qbk:41: warning: in column:30, [br] and \n are deprecated.
foreach.qbk:375: warning: in column:50, [br] and \n are deprecated.
foreach.qbk:377: warning: in column:51, [br] and \n are deprecated.
foreach.qbk:378: warning: in column:97, [br] and \n are deprecated.
foreach.qbk:380: warning: in column:49, [br] and \n are deprecated.
foreach.qbk:381: warning: in column:64, [br] and \n are deprecated.
xslt-xsltproc.windows
../../../bin.v2/libs/foreach/doc/gcc-3.4.4/debug/foreach.docbook
warning: failed to load external entity "reference.xsl"
compilation error: file
C%3A%5Ccygwin%5Chome%5CEric%5Cboost%5Corg%5Ctrunk%5Ctools%5Cboostbook%5Cxsl%
5Cdocbook.xsl line 13 element include
xsl:include : unable to load reference.xsl

    XML_CATALOG_FILES="../../../bin.v2/boostbook_catalog.xml"
export XML_CATALOG_FILES
 "xsltproc" --stringparam boost.defaults "Boost" --xinclude -o
"../../../bin.v2/libs/foreach/doc/gcc
-3.4.4/debug/foreach.docbook"
"C:\cygwin\home\Eric\boost\org\trunk\tools\boostbook\xsl\docbook.xsl"
"C:\cygwin\home\Eric\boost\org\trunk\bin.v2\libs\foreach\doc\gcc-3.4.4\debug\foreach.xml"

...failed xslt-xsltproc.windows
../../../bin.v2/libs/foreach/doc/gcc-3.4.4/debug/foreach.docbook...
...skipped <phtml>standalone_HTML.manifest for lack of
<p../../../bin.v2/libs/foreach/doc/gcc-3.4.4/
debug>foreach.docbook...
...failed updating 1 target...
...skipped 1 target...
...updated 1 target...

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC