Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 18:51:29 -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:  <CAFY7cWAMZ9vy7GtoRLK-R5sogNkqq%2BtHQPVSpmduq5%2BmLhxxyQ@mail.gmail.com>
In-Reply-To: <CAALwa8mEB7wZRhBCJ5n=ejAAQcz35_J6V8OoUpVXAhAs9SvY5w@mail.gmail.com>
References:  <20140403190156.GA83695@mastodon.meroh.net> <CAALwa8koQy2U2_t=vkZ_KdpDSVyrj6mAxHnR4wqjNPyXvXV=gg@mail.gmail.com> <20140403192420.GA36985@mastodon.meroh.net> <CAALwa8mEB7wZRhBCJ5n=ejAAQcz35_J6V8OoUpVXAhAs9SvY5w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 3, 2014 at 3:30 PM, Antoine Brodin <antoine@freebsd.org> wrote:
> koobs' new python34 port (not committed yet) packages fine as non
> root, so it seems doable.

Sorry but I don't see how that's relevant. Python 3.4 is a much more
modern package than 2.7 and many things may have changed in its build
infrastructure.

Yes, fixing the root cause is doable for sure, and I agree with you
that, ideally, this should be properly fixed. But: I don't think it's
worth our time considering that: 1) this is for the "old" 2.x branch
and 2) some knowledgeable people have already tried and failed at
doing so.

As things currently are, the python27 package is broken when building
from ports as non-root.  (Which by the way is annoying for
architectures without prebuilt packages; I have found this problem
under powerpc64!)

What I'm proposing is that we trivially workaround the problem by
*temporarily* defining NEED_ROOT and later investigating the failure.
Doing the former does not preclude the latter, but at least fixes the
obvious bug.

I don't want to put words on your mouth, but what I think you are
proposing is that we leave the package broken for an arbitrary
(possibly infinite) amount of time until someone decides to track and
fix the root cause. If you are offering to investigate this relatively
soon as the maintainer that's perfect though.

So up to you really! If you do not agree with the workaround, I will
at least file a PR for proper tracking.

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFY7cWAMZ9vy7GtoRLK-R5sogNkqq%2BtHQPVSpmduq5%2BmLhxxyQ>