Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 21:30:38 +0200
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        Julio Merino <jmmv@freebsd.org>
Cc:        python@freebsd.org
Subject:   Re: Make python27 build as an unprivileged user
Message-ID:  <CAALwa8mEB7wZRhBCJ5n=ejAAQcz35_J6V8OoUpVXAhAs9SvY5w@mail.gmail.com>
In-Reply-To: <20140403192420.GA36985@mastodon.meroh.net>
References:  <20140403190156.GA83695@mastodon.meroh.net> <CAALwa8koQy2U2_t=vkZ_KdpDSVyrj6mAxHnR4wqjNPyXvXV=gg@mail.gmail.com> <20140403192420.GA36985@mastodon.meroh.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 3, 2014 at 9:24 PM, Julio Merino <jmmv@freebsd.org> wrote:
> 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.

koobs' new python34 port (not committed yet) packages fine as non
root, so it seems doable.

Cheers,

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mEB7wZRhBCJ5n=ejAAQcz35_J6V8OoUpVXAhAs9SvY5w>