Bug#687651: dose3 source does not clean properly so cannot be built twice
Source:dose3
Version:3.1
After building dose3 with dpkg-buildpackage -uc -us, a second attempt
to build will fail with:
dpkg-source: info: building dose3 using existing ./dose3_3.1.orig.tar.gz
dpkg-source: error: cannot represent change to doc/debcheck-primer/debcheck-primer.dvi: binary file contents changed
dpkg-source: error: add doc/debcheck-primer/debcheck-primer.dvi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b dose3-3.1 gave error exit status 2
The doc/debcheck-primer/ dir contains a load of files that the
Makefile clean rules looks like it should have tidied up, but they are
still there:
debcheck-primer.{dvi,log,haux,html,toc,bbl,blg}
Even though the makefiles says:
clean:
-rm -f $(MAIN).{dvi,aux,toc,haux,htoc,log,bbl,blg} version.tex
clearly this isn't get run.
And it can't be run at this stage because the top-level
../../Makefile.config _has_ been removed.
The clean rule seems to be $(OCAMLBUILD) -clean which is beyond my ken
so I can't easily debug this further.
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
Reply to: