- Package:
- src:ldapvi
- Source:
- src:ldapvi
- Submitter:
- Lucas Nussbaum
- Date:
- 2025-08-17 18:01:11 UTC
- Severity:
- normal
- Tags:
Hi, This package fails to build a source package after a successful build (dpkg-buildpackage ; dpkg-buildpackage -S). This is probably a clear violation of Debian Policy section 4.9 (clean target), but this is filed as severity:minor for now, because a discussion on debian-devel showed that we might want to revisit the requirement of a working 'clean' target. More information about this class of issues, included common problems and solutions, is available at https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild Relevant part of the build log: The full build log is available from: http://qa-logs.debian.net/2023/08/13/ldapvi_1.7-10_unstable.log If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.
Hi Rhonda, This happens because configure is saved to configure.save and then moved back again in the "dh_clean" step. In the next build, dh_auto_clean calls "make distclean" that removes the configure file. make distclean is not called in the first build because there is no GNUMakefile in the first build, but it is generated as a part of the first build's process. IMHO, the easier solution would be either of these: * Change dh_clean to dh_auto_clean * Patch GNUMakefile.in to *not* remove configure. I've attached a patch for the first solution. Please consider applying if you find this OK. Best, Nilesh