Date: Thu, 3 Apr 2014 15:24:20 -0400 From: Julio Merino <jmmv@freebsd.org> To: Antoine Brodin <antoine@FreeBSD.org> Cc: python@freebsd.org Subject: Re: Make python27 build as an unprivileged user Message-ID: <20140403192420.GA36985@mastodon.meroh.net> In-Reply-To: <CAALwa8koQy2U2_t=vkZ_KdpDSVyrj6mAxHnR4wqjNPyXvXV=gg@mail.gmail.com> References: <20140403190156.GA83695@mastodon.meroh.net> <CAALwa8koQy2U2_t=vkZ_KdpDSVyrj6mAxHnR4wqjNPyXvXV=gg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 03, 2014 at 09:06:03PM +0200, Antoine Brodin wrote: > On Thu, Apr 3, 2014 at 9:01 PM, Julio Merino <jmmv@freebsd.org> wrote: > > Hello, > > > > I needed the patch below to be able to build python27 when using ports as > > an unprivileged user. It is a bit too coarse-grained, but I think ports > > does not offer a finer-grained mechanism to indicate that only the staging > > phase needs root. > > > > (Note that pkgsrc marks all python packages as requiring root for the > > stage phase... and I suppose it's because of the same problem I encountered.) > > > > What do you think? (If you think this is OK, I'll need an explicit approval > > to commit.) > > Hi, > > It's better to understand and fix the cause of the failure as non-root > than putting NEED_ROOT. pkgsrc has had the "need root" requirement in place for _years_ and people have tried to fix it before. For these reasons, I don't think it's a trivial thing to do this and I certainly do not have the time to investigate it at the moment.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140403192420.GA36985>