On Wed, May 15, 2019 at 02:21:49PM +0200, Guillem Jover wrote:

> > To be precise, if I apply the patch below to hello-traditional_2.10-5
> > and do "dpkg-buildpackage -uc -us -b" in a sid chroot, I get a .deb
> > package with all files owned by "sanvila/sanvila".
> 
> Ah. :) Ok let's try to see whether the current spec/doc is enough or
> whether it'd need improvements. So it would be great if you could go
> over /usr/share/doc/dpkg-dev/rootless-builds.txt.gz and see whether
> you can figure it out with just that? Also assuming you were not aware
> of that doc, where do you think it could have been referred from so
> that it would be easy to get to?

Yes, I read the document (following a link from lintian), and no,
I was not able to figure out.

(BTW: The document speaks about "the builder", who is exactly this
mysterious character? dpkg-deb? sbuild? the person doing the build?)

> (Briefly checking it now again, I think it should spell out dpkg-deb's
> --root-owner-group option on the prototyping/preparation section.)

Ok, I see it now. So, I should use Rules-Requires-Root: no and
also add --root-owner-group to the "dpkg --build" call, right?
Should I also add a versioned build-depends on dpkg-dev?

Thanks.

Reply via email to