- Package:
- src:cdparanoia
- Source:
- src:cdparanoia
- Submitter:
- Lucas Nussbaum
- Date:
- 2025-12-15 19:05:03 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/cdparanoia_3.10.2+debian-14_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.
severity 1043879 normal
tags 1043879 patch
thanks
Hello. This happens because of the way config.guess and config.sub are
handled by debian/rules.
Instead of overriding dh_update_autotools_config, I propose to let it
work in the normal way, but putting files called config.guess and
config.sub in place before the buils starts, as in the attached patch.
Then dh_update_autotools_config will not only replace them by the
master copies at /usr/share/misc, but also it will remember that it
needs to remove the files in the clean target, fixing this bug.
(Note: To make debian/rules shorter, it would be also possible to do
touch config.guess config.sub
instead of copying the files from configure.guess and configure.sub,
as dh_update_autotools_config will update the files no matter what)
Thanks.