reassign 327459 xsltproc
thanks

Hi,

I'm reassiging this to xsltproc, since this obvisouly isn't a bug
in happy.


Ian: the thing to run is:
xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl conftest.xml

The configure script goes over a few path's and that's the one
that should work, and does for some people and doesn't for a few
others.

In the log that Blars mailed, you'll first see:
warning: failed to load external entity 
"/usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl"
cannot parse /usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl

That's from the first call with
/usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl,
almost all the nexts lines are from the good call.  The
next line that's not part of it is:
warning: failed to load external entity
"/usr/share/sgml/docbook/docbook-xsl-st
ylesheets*/html/docbook.xsl", which is like the 10th last
line or something.

Because the script fails to detect the correct path, it
ends up with no path, end you end up with using
"/html/docbook.xsl" instead, which isn't supposed to work.
However, I don't understand why you sometimes get return
code 0.

There also seems to be a simular failure building
something else:
http://buildd.debian.org/fetch.php?&pkg=evince&ver=0.4.0-1&arch=ia64&stamp=1126143473&file=log&as=raw

This also doesn't really seem to be arch specific, since
the buildd for powerpc failed while I can't reproduce it
on powerpc.

My first guess would that there was some (build)
dependency missing somewhere, but that doesn't look like
it's the case.

An other options was that it was trying to download
something from internet, and it does try it.  But that
doesn't seem to have any effect on the result.  Then I
get:
xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl conftest.xml 
; echo $?
error : connection refused
conftest.xml:3: warning: failed to load external entity 
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
                                                            ^
<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1"><title>A DocBook Test Document</title><meta 
name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body 
bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><div class="book" lang="en"><div 
class="titlepage"><div><div><h1 class="title"><a name="test"></a>A DocBook Test 
Document</h1></div></div><hr></div><div class="toc"><p><b>Table of 
Contents</b></p><dl><dt><span class="chapter"><a href="#id-one">1. A Chapter 
Title</a></span></dt><dt><span class="chapter"><a href="#id-two">2. Another 
Chapter Title</a></span></dt></dl></div><div class="chapter" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a name="id-one"></a>Chapter 1. A 
Chapter Title</h2></div></div></div><p>This is a paragraph, referencing <a 
href="#id-two" title="Chapter 2. Another Chapter Title">Chapter 2, <i>Another 
Chapter Title</i></a>.</p></div><div class="chapter" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="id-two"></a>Chapter 2. Another Chapter 
Title</h2></div></div></div><p>This is another paragraph, referencing <a 
href="#id-one" title="Chapter 1. A Chapter Title">Chapter 1, <i>A Chapter 
Title</i></a>.</p></div></div></body></html>
0

(I really dislike that's it's trying to get things from
the net by default.  This also means it's using something
outside of main.)

I have no other ideas what the problem could be.


Kurt


Reply via email to