[Debichem-devel] Bug#901154: msxpertsuite: Does not trap errors in upstream Makefile

Santiago Vila sanvila at unex.es
Sat Jun 9 15:10:12 BST 2018


Package: msxpertsuite
Version: 5.3.0-1
Severity: serious

In Bug #896141, where the build fails because of new Tex Live,
Adrian Bunk points out why the build process does not stop
as soon as there is an error.

Quote:

> > ./preface.tex:122:  ==> Fatal error occurred, no output PDF file produced!
> > Transcript written on massxpert-doc.log.
>
> Why doesn't the build stop at that point?

This is in fact a violation of Policy 4.6, "Error trapping in makefiles":

https://www.debian.org/doc/debian-policy/#error-trapping-in-makefiles

so I'm reporting it here separately.


I have not tested it, but maybe the fix could be as easy as removing the
hyphen prefix from pdflatex command in these two Makefiles:

massxpert/user-manual/Makefile
minexpert/user-manual/Makefile

Thanks.



More information about the Debichem-devel mailing list