On 10/08/23 at 14:38 +0200, Lucas Nussbaum wrote: > On 08/08/23 at 10:26 +0200, Helmut Grohne wrote: > > Are we ready to call for consensus on dropping the requirement that > > `debian/rules clean; dpkg-source -b` shall work or is anyone interested > > in sending lots of patches for this? > > My reading of the discussion is that there's sufficient interest for > ensuring that building-source-after-successful-binary-build works. > > Also, for most packages, fixes are trivial, and can be implemented as > durable fixes (not requiring changes for each upstream release). > > So my proposal would be to file bugs against affected packages, with > severity:minor for now (even it is a clear policy violation). > The bugs would be properly usertagged to allow tracking, and point to a > wiki page where we can share recipes for specific issues. > > The rate at which packages are fixed could be useful input to determine > if we can just live with that requirement, or if we needed to change > policy. > > After some time, when enough bugs are fixed, the severity could be > increased to release-critical. And to ensure that we don't regress again > on this, this check could easily be added to archive rebuilds.
Hi, I prepared this wiki page: https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild And I plan to use the following bug template: ---------- From: {{ fullname }} <{{ email }}> To: sub...@bugs.debian.org Subject: {{ package }}: Fails to build source after successful build Source: {{ package }} Version: {{ version }} Severity: minor Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-sab-{{ date_without_slashes }} ftbfs-source-after-build 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: {% for line in extract %}> {{ line }} {% endfor %} The full build log is available from: http://qa-logs.debian.net/{{ date }}/{{ filename }} 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. ---------- I will first focus on packages where 'dpkg-buildpackage -S' fails after a successful build. I might do the same work for packages where 'dpkg-buildpackage -b' fails after a successful build. Lucas