[Debichem-devel] cp2k FTBFS due to saxon/xml breakage on some arches

Michael Banck mbanck at debian.org
Tue Mar 4 13:35:01 UTC 2014


Hi,

On Mon, Mar 03, 2014 at 04:30:22PM +0100, Michael Banck wrote:
> do you have an idea what could've gone wrong on kfreebsd-* and sparc for
> cp2k_2.5.0-1?  They all fail like this:
> 
> |(cd tools/manual; saxonb-xslt -o index.html -ext:on cp2k_input.xml
> |cp2k_input.xsl)
> |Error on line 5 column 20 of cp2k_input.xml:
> |  SXXP0003: Error reported by XML parser: malformed reference in entity
> |value: "&"
> |Transformation failed: Run-time errors were reported

For reference, those are the first five lines of the generated xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="cp2k_input.xsl"?>
<!DOCTYPE documentElement[
<!ENTITY quot """>
<!ENTITY amp "&">

I don't see what's wrong with this.

One option I thought of was to move the generation of the input
reference HTML to build-indep, as it is only needed for cp2k-data.
Would make the packaging more complex, though.


Michael



More information about the Debichem-devel mailing list