[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}

Andreas Tille andreas at an3as.eu
Tue Dec 1 20:08:23 GMT 2020


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

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list