[Debian-med-packaging] Bug#957206: dh_testroot: error: Package needs targeted root but builder has not provided a gain-root command via ${DEB_GAIN_ROOT_CMD}
Niels Thykier
niels at thykier.net
Tue Dec 1 20:21:12 GMT 2020
Andreas Tille:
> Control: tags -1 pending
>
> Hi,
>
> upstream of fis-gtm package[1] confirmed that the build needs some root
> permissions. Thus I've set
>
> Rules-Requires-Root: yes
>
> When trying to build with pbuilder I get:
>
> dh_testroot
> dh_testroot: error: Package needs targeted root but builder has not provided a gain-root command via ${DEB_GAIN_ROOT_CMD}
> make: *** [debian/rules:21: binary] Error 25
>
>
> How can this be fixed?
>
> Kind regards
>
> Andreas.
>
>
> [1] https://salsa.debian.org/med-team/fis-gtm
>
You want "Rules-Requires-Root: binary-targets".
~Niels
More information about the Debian-med-packaging
mailing list