Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 21:06:03 +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:  <CAALwa8koQy2U2_t=vkZ_KdpDSVyrj6mAxHnR4wqjNPyXvXV=gg@mail.gmail.com>
In-Reply-To: <20140403190156.GA83695@mastodon.meroh.net>
References:  <20140403190156.GA83695@mastodon.meroh.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Cheers,

Antoine (with hat: portmgr)



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