[xml/sgml-pkgs] Bug#296957: xsltproc: Does not write output file.

Kurt Roeckx Kurt Roeckx <kurt@roeckx.be>, 296957@bugs.debian.org
Sat, 26 Feb 2005 00:43:50 +0100

Package: xsltproc
Version: 1.1.12-5


Building dict-jargon (4.4.4-5) fails on amd64.  I have been
trying to debug this, and this seems to be caused by xsltproc not
writing it's output file.

I've straced it on both i386 and amd64, and they seem to be doing
about the same thing.

I see this in both straces:
[pid 22916] execve("/usr/bin/xsltproc", ["xsltproc", "--nonet", "--xinclude", "-o", "/tmp/xmlto.6NX5i4/jargon-web.proc", "/tmp/xmlto-xsl.ckj4uX", "/usr/src/dict-jargon-4.4.4/jargsrc-4.4.4/jargon-web.xml"], [/* 15 vars */]) = 0

(Except that the temp dir and pid are different, of course)

The strace are very much alike, except for 2 things:
This call happens in a different order:
[pid 22916] open("/usr/src/dict-jargon-4.4.4/jargsrc-4.4.4/docbook-xsl-1.61.0/common/l10n.xsl", O_RDONLY) = 3

On i386, that is the last file he opens before writing the
output, on amd64 it happens before this:
[pid 22916] open("/usr/src/dict-jargon-4.4.4/jargsrc-4.4.4/docbook-xsl-1.61.0/common/l10n.xml", O_RDONLY) = 3
[pid 22916] open("/usr/src/dict-jargon-4.4.4/jargsrc-4.4.4/docbook-xsl-1.61.0/common/l10n.dtd", O_RDONLY) = 4

The other difference is that on i386 it actually opens the output
file for writing and on amd64 it doesn't.

I have no idea what else I can do to find out what the problem is
exactly but let me know how I can help find the cause of this.