On Sun, Jan 05, 2025 at 10:47:31PM +0000, Ian Jackson wrote: > Package: dpkg > Version: 1.22.13 > Control: block 1092190 by -1 > > Hi. > > (Firstly, I should say thank you very much to Niels Thykier for your > work on Rules-Requires-Root. Tidying this up is a big job which > you've been doing very well. Speaking personally I have really > appreciated the interactions I've had with you over my packages. > Now, though, I'm afraid I come with the change request:) > > It seems likely to me that there will continue to be packages in the > wild which this behavioural change will break - particularly including > packages not part of Debian, packages from old Debian release, and > perhaps whole derivative distros. > > In order to allow us to build old packages with new tooling, or > out-of-distro packages, or whatever, I think dpkg-buildpackage should > have a way to request the previous (bookworm-and-earlier) behaviour. > > I looked through the manpage and found --rules-requires-root, but that > says that it disregards the Rules-Requires-Root field entirely, which > isn't right. (And might also break things...) > > Could we please have a command line option to just change the default, > so that trixie's dpkg-buildpackage can be used in circumstances where > bookworm's would have worked ?
Niels Thykier asked me to send my opinion here. 1/ I agree with Ian concern about build packages that are not in testing unstable. Providing working package building tools and alowing users to build their own packages is an important part of what make Debian free software. 2/ I consider --rules-requires-root to be a sufficient work-around _provided_ it is clearly documented in the release notes (and not just dpkg-dev NEWS) that this option can be used when a package FTBFS due to a permission issue. Also the manpage need to be updated, it currently says --rules-requires-root Do not honor the Rules-Requires-Root field, falling back to its legacy default value binary-targets (since dpkg 1.19.1). which is a bit confusing for packages that do not have a Rules-Requires-Root field. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here.