Bug#510362: dh-make-perl: should not run 'make test' under fakeroot

Russ Allbery rra at debian.org
Thu Jan 1 00:34:58 UTC 2009


gregor herrmann <gregoa at debian.org> writes:

> Summary:
> * A build is only attempted with "--build".
> * "--build" calls "fakeroot debian/rules binary".
> * This needs root or fakeroot.
>
> We can of course think about other possibilities on how to build the
> package but in the end we always will need (fake)root privileges.

dh-make-perl echo what dpkg-buildpackage does, namely call debian/rules
build first and then fakeroot debian/rules binary, which will do the build
(and hence the test) as the regular user and only obtain fake root
privileges for the install and package build.  Or it could even just run
dpkg-buildpackage instead of calling the target directly.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the pkg-perl-maintainers mailing list