Package: xml-light
Version: 2.2-1
Severity: serious
Tags: patch

Your package is failing to build on hppa with the following error:

[...]
make[1]: Entering directory `/build/buildd/xml-light-2.2'
ocamlyacc xml_parser.mly
ocamlc  xml.mli
ocamlc  dtd.mli
make[1]: *** No rule to make target `xml_parser.cmi', needed by 
`xml_parser.cmo'. Stop.
make[1]: Leaving directory `/build/buildd/xml-light-2.2'
make: *** [build-stamp] Error 2
[...]

A full build log can be found at
<http://buildd.debian.org/fetch.php?pkg=xml-light&arch=hppa&ver=2.2-1&stamp=1135302695&file=log>.

This error is reproducible on i386 in unstable.  The problem is that the
Makefile doesn't declare a dependency from xml_parser.mli on xml_parser.mly,
because you only have the rule

.mly.ml:
        ocamlyacc $<

at the bottom.  I don't know why this worked previously, but at least with
the current version of make, this means make doesn't know xml_parser.mli has
been built and therefore can't use it to build xml_parser.cmi.

A make rule that *does* work is this:

%.mli %.ml: %.mly
        ocamlyacc $<

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to