On Sat, Apr 28, 2012 at 09:08:02PM -0700, Russ Allbery wrote: > Package: dh-autoreconf > Version: 6 > Severity: normal > > I'm not exactly sure whose bug this is, but I'll start here. > > I have a package (gnubg) which uses mkinstalldirs. After the first > build and clean cycle, mkinstalldirs has been deleted by > dh_autoreconf_clean. But then running autoreconf doesn't bring it > back, which means that the build fails. > > As near as I can tell, autoreconf updates mkinstalldirs if it exists, > but if it's been deleted, it doesn't copy it into the source tree, > which leads to build failures when the package is built twice in > sequence. > > This may actually be a bug in autoreconf; I'm not sure whether it > should be reassigned there, or whether it's something dh-autoreconf > should deal with.
Thanks for the bug report, I feared that something like this happens somewhere. A solution on the dh-autoreconf would be to switch from the current checksum and delete approach to a hardlink + restore approach. If we change dh-autoreconf to do this in jessie, we should do a rebuild of all things build-depending on it to make sure that nothing breaks (for example, because a file is updated in place and the hardlink thus not working). But I really believe that automake should reinstall that file if it is missing. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
pgpBAG2JVxGMW.pgp
Description: PGP signature

