Bug#721291: cddlib: FTBFS - latexmk: not found (override_dh_auto_clean-indep always run)

Aaron M. Ucko ucko at debian.org
Fri Aug 30 01:43:25 UTC 2013


Source: cddlib
Version: 094g-3
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Builds of cddlib in minimal environments geared for its
architecture-dependent binary packages (as on the autobuilders) have
been failing:

   fakeroot debian/rules clean
  dh clean --parallel --with-autoreconf
     dh_testdir -O--parallel -O--with-autoreconf
     debian/rules override_dh_auto_clean-indep
  make[1]: Entering directory `/«PKGBUILDDIR»'
  cd doc && latexmk -C
  /bin/sh: 1: latexmk: not found
  make[1]: *** [override_dh_auto_clean-indep] Error 127
  make[1]: Leaving directory `/«PKGBUILDDIR»'
  make: *** [clean] Error 2

Because there's only a single clean target, with no -arch or -indep
variants, defining an override_dh_auto_clean-indep target from which
to run latexmk -C isn't as effective as one might hope; I'd suggest
instead running the command unconditionally and simply ignoring any
errors that might result:

clean:
	dh $@ --parallel --with-autoreconf
	-cd doc  &&  latexmk -C

At any rate, could you please look into it?

Thanks!



More information about the debian-science-maintainers mailing list