Package: src:pycode-browser
Version: 1:1.02+git20171115-1
Severity: serious
Tags: ftbfs patch

Dear maintainer:

I tried to build this package in buster but the build entered an
endless loop and did never end. The endless loop also happens here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pycode-browser.html

The problem is in pybooksrc/Makefile which reads like this:

        while (grep  Warning $${logfile}| grep -iq run); do \
          pdflatex $<; \
        done

This is probably to detect this Warning message:

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

but the iterated pdflatex runs now generate the following Warning
messages, of which the second one matches "Warning" and "run":

Package Babel Warning: The package option english' should not be used
--> Package geometry Warning: The marginal notes overrun the paper.
LaTeX Font Warning: Font shape OML/cmtt/m/n' undefined
LaTeX Font Warning: Font shape OMS/cmtt/m/n' undefined
LaTeX Font Warning: Some font shapes were not available, defaults substituted.

Suggested fix below.

Thanks.

--- a/pybooksrc/Makefile
+++ b/pybooksrc/Makefile
@@ -16,6 +16,6 @@ install:
 %.pdf: %.tex
        pdflatex $<
        logfile=$$(echo $< | sed 's/tex/log/'); \
-       while (grep  Warning $${logfile}| grep -iq run); do \
+       set -e; while grep -q Rerun $${logfile}; do \
          pdflatex $<; \
        done

Reply via email to