Control: tags -1 moreinfo

David (Plasma) Paul:
> Package: debhelper
> Version: 13.5.2
> Severity: wishlist
> 
> Request For Comments
> ====================
> 
> For the specific, special case where "Rules-Requires-Root: no" is
> explicitly declared in debian/control of a source package which uses
> debhelper and no overriding DEB_RULES_REQUIRES_ROOT environment variable
> is set, dh_testroot ought to return successfully. In other words, for
> such a source package, when all build dependencies are met, manually
> executing
> ```
> $ debian/rules binary
> ```
> as a non-root user and without a DEB_RULES_REQUIRES_ROOT environment
> variable set should result in a successful build of the associated
> binary packages.
> 
> Debhelper already parses the "Build-Depends:" header in debian/control
> for what compatibility level to use, so it should be trivial to
> additionally parse the "Rules-Requires-Root:" header to check for this
> special case. If, however, a DEB_RULES_REQUIRES_ROOT environment
> variable is present (such as for testing purposes), its value should
> take precedence, of course.
> 
> This proposed change would require a minor amendment to Debian Policy ยง
> 5.6.31, in particular a modification of the final sentence.
> 
> I believe that this change would be entirely backwards-compatible with
> older build environment such as backports. I will no doubt be corrected
> by you, dear reader, if this is not the case.
> 
> [...]

Hi,

I think I am missing a rationale / What problem are you trying to solve
with this change/RFC?.

Thanks,
~Niels

Reply via email to