From owner-freebsd-python@FreeBSD.ORG Thu Apr 3 22:51:51 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AC13AB9 for ; Thu, 3 Apr 2014 22:51:51 +0000 (UTC) Received: from mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53B75946 for ; Thu, 3 Apr 2014 22:51:51 +0000 (UTC) Received: by mail-qg0-f54.google.com with SMTP id a108so2581207qge.13 for ; Thu, 03 Apr 2014 15:51:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=bdhKTAMpL2+ZMm+TZzJhg7ejPNhZ8Ynx1ICHzht2ZUc=; b=hpUH5zKq8LyU0m5q8Iz3hYs6x4zIGt0a+BeOnZbG+EZo/jhgzqOC41vRbpdJW/wH36 K7Ie3nX97/MA296KeIbWNKPwQGOFt1Tys8XYYuUekHKgwpnHela8PBR07GL/FMaNsZXF P1lveytoe3S3tpOCb+A2EXzpKVDI09kD/7PCW5fE58/4JryHwXZBexroph4+6i4bERTL w8huH9S94Rq96Yw3xHFo91LBbUnVdYMS/VzLt92SNEXj3c2/FLwN9NzO6pj+w1badHfD 6oZJz2y9oA49f7RycY5Ntu6ekd7+wF02JDqUEX2uljJOx3kp3/Qlk7cL0vEiM3s/ayul JCDA== X-Gm-Message-State: ALoCoQk669mpdMLtUpivwLaZLMXjCg1ybQmiG/Gr0FPtJVL0ljpxepDz9Jv0KwEn6VAjn002okik X-Received: by 10.229.96.199 with SMTP id i7mr6097114qcn.20.1396565510028; Thu, 03 Apr 2014 15:51:50 -0700 (PDT) MIME-Version: 1.0 Sender: jmmv@meroh.net Received: by 10.96.83.102 with HTTP; Thu, 3 Apr 2014 15:51:29 -0700 (PDT) X-Originating-IP: [2620:0:1003:1021:4979:6f7a:9a1a:e020] In-Reply-To: References: <20140403190156.GA83695@mastodon.meroh.net> <20140403192420.GA36985@mastodon.meroh.net> From: Julio Merino Date: Thu, 3 Apr 2014 18:51:29 -0400 X-Google-Sender-Auth: NsD3Zq0XfyqI5bf7ZngprbldefM Message-ID: Subject: Re: Make python27 build as an unprivileged user To: Antoine Brodin Content-Type: text/plain; charset=ISO-8859-1 Cc: python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 22:51:51 -0000 On Thu, Apr 3, 2014 at 3:30 PM, Antoine Brodin 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