From owner-freebsd-python@FreeBSD.ORG Sun Feb 19 08:20:19 2012 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8039106566B; Sun, 19 Feb 2012 08:20:19 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [IPv6:2a02:6b8:0:1402::1]) by mx1.freebsd.org (Postfix) with ESMTP id 376FE8FC14; Sun, 19 Feb 2012 08:20:19 +0000 (UTC) Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward16.mail.yandex.net (Yandex) with ESMTP id 27C42D22D23; Sun, 19 Feb 2012 12:20:18 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329639618; bh=iuLkxx+sMIUH8aZhMlN0YMR7NqiNT8ZVuNk031sV0dk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=FV3JxlwTm6FhhGRt/S5cMu85RJquPJWayhusZ6TrR6uJO9Pclv/l0U2GI3kGdmySM z7e6jJtDfp8N8b2UeYpyxwN0jwl2oKMZW+xVTfHNtFllCpJbGjTvo+zsKAX/fYwxVz FKokjPoxapyCCOgk7MSy8FOwx6vfTWjnVtqtldvY= Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id A8BF06A00F0; Sun, 19 Feb 2012 12:20:17 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1329639617; bh=iuLkxx+sMIUH8aZhMlN0YMR7NqiNT8ZVuNk031sV0dk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=YJM+MjuZoG7llxUjMew8ke9eyiZhkF0eLvdqYnPfFyCUL/Si2gzjNXAhROdob/fl/ CnzMPVVGnrVlG1Z7ZZ2uAt/UpCLaeZNsU2uKFZryuXoDv2V6txMtoC9Po2xLJElXto HXPNR1ZDNU5JUgvLqI2WDOybZbCtcK7nHsx6p8iA= Received: from unknown (unknown [178.76.224.133]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KGrG6dK8-KHrGpZle; Sun, 19 Feb 2012 12:20:17 +0400 X-Yandex-Spam: 1 Message-ID: <4F40B091.3000108@yandex.ru> Date: Sun, 19 Feb 2012 12:19:29 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.1) Gecko/20120214 Thunderbird/10.0.1 MIME-Version: 1.0 To: Brian McCann References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, python@FreeBSD.org Subject: Re: FreeBSD Port: py27-dbutils-1.1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 08:20:19 -0000 Hi. Brian McCann wrote on 08.12.2011 01:14: > Not sure who this is going to, so I'll say "To whom it may concern". > > I'm trying to "make package" for py-dbutils, and it's failing. It's > trying to tar up various files in > "/usr/local/lib/python2.7/site-packages/DBUtils", which doesn't exist > because the make install deleted them when it build the egg file. > Anyone have any ideas on how to make this work? > > --Brian It's because this port looking for setuptools first: """ try: from setuptools import setup except ImportError: from distutils.core import setup """ So the things will be broken if someone will try to package/install it in a system where setuptools is installed. Since nobody depends on this port, I just converted it to setuptools, so problem should be gone. -- Regards, Ruslan Tinderboxing kills... the drives. From owner-freebsd-python@FreeBSD.ORG Mon Feb 20 03:42:44 2012 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5AAA106564A for ; Mon, 20 Feb 2012 03:42:44 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f07:14d3:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 6669C8FC0C for ; Mon, 20 Feb 2012 03:42:44 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f07:14d3:1::5]) by mail.farley.org (8.14.5/8.14.5) with ESMTP id q1K3gh5s081706 for ; Sun, 19 Feb 2012 22:42:43 -0500 (EST) (envelope-from scf@FreeBSD.org) Date: Sun, 19 Feb 2012 22:42:43 -0500 (EST) From: "Sean C. Farley" To: freebsd-python@FreeBSD.org Message-ID: User-Agent: Alpine 2.02 (BSF 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL, TO_NO_BRKTS_DIRECT autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.farley.org Cc: Subject: Install shared objects into site-packages X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 03:42:44 -0000 I am using virtualenv --no-site-packages (the default now) to be able to build an environment on both FreeBSD and Linux. The issue I am running into is that _sqlite3.so from databases/py-sqlite3 is being installed into site-packages as opposed to lib-dynload. On the CentOS we are using, _sqlite3.so is installed in lib-dynload. I tried a bit to change the port's setup.py, but I have not been successful. How can databases/py-sqlite3 and other ports that are typically part of Python by default be made to install into lib-dynload? These are the one that lang/python27 disables: disabled_module_list = ["_bsddb", "_sqlite3", "_tkinter", "gdbm", "mpz"] Thank you. Sean -- scf@FreeBSD.org From owner-freebsd-python@FreeBSD.ORG Mon Feb 20 11:07:13 2012 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1493106566B for ; Mon, 20 Feb 2012 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 861188FC20 for ; Mon, 20 Feb 2012 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1KB7DSd090221 for ; Mon, 20 Feb 2012 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1KB7CMZ090219 for freebsd-python@FreeBSD.org; Mon, 20 Feb 2012 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Feb 2012 11:07:12 GMT Message-Id: <201202201107.q1KB7CMZ090219@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-python@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 11:07:13 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/163112 python Updates bsd.python.mk to support Zope 2.11, 2.13 o ports/163063 python [PATCH] fix for ports-mgmt/portbuilder o ports/162421 python lang/python32 fails to build (undefined reference to ` o ports/160717 python port: lang/python27 causing other ports to hang during o ports/159215 python Mk/bsd.python.mk: PYTHON_VERSION is ignored o ports/156759 python [patch] lang/python: kevent does not accept KQ_NOTE_EX o ports/156425 python lang/python26: Needs to include -L/usr/local/lib/pth i o ports/156076 python [patch] databases/py-sqlite3: Undefined symbol "sqlite o ports/155970 python [PATCH] lang/python: speed up upgrade-site-packages o ports/155936 python lang/python27 Pthread: previous declaration of ... o ports/155526 python [PATCH] devel/py-elementtree: ignore if python >= 2.5 f ports/154209 python [PATCH] lang/python: Install symlink for ptags o ports/153952 python lang/python26 + pth fails to reconfigure cflags to inc o ports/153167 python Problem with signals, threads, and subprocesses in lan o ports/152224 python [patch] fix installed permissions for lang/python27 o ports/151534 python lang/python26 + WITH_PTH doesn't install correctly o ports/149167 python lang/python26 fails to build _ctypes on Sheevaplug (AR o ports/146957 python Mk/bsd.python.mk: PYTHONOPTIMIZE=1 in environ(7) break o ports/146823 python [patch] lang/python26: knob to build _ctypes module ag o ports/146644 python lang/python26: WITH_PTH option breaks most ports depen o ports/140968 python x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4 o ports/136917 python [patch] lang/python26: gettext detection o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken 23 problems total. From owner-freebsd-python@FreeBSD.ORG Tue Feb 21 08:29:11 2012 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 104DC1065675 for ; Tue, 21 Feb 2012 08:29:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id F32268FC1A for ; Tue, 21 Feb 2012 08:29:10 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id q1L8TA9H078906 for ; Tue, 21 Feb 2012 08:29:10 GMT (envelope-from linimon@FreeBSD.org) Date: Tue, 21 Feb 2012 08:29:10 GMT Message-Id: <201202210829.q1L8TA9H078906@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: python@FreeBSD.org Cc: Subject: FreeBSD ports that you maintain which are currently scheduled for deletion X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 08:29:11 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically schedule removal of ports that have been judged to have outlived their usefulness. Often, this is due to a better alternative having become available and/or the cessation of development on the existing port. In some cases, ports are marked for removal because they fail to build and install correctly from their sources, or otherwise fail in operation. The ports, and the reason and date that they have been scheduled for removal, are listed below. If no one has stepped forward before that time to propose a way to fix the problems (such as via a PR), the ports will be deleted. portname: databases/py25-bsddb description: Python bindings to the Berkeley DB library maintainer: python@FreeBSD.org deprecated because: This was only needed for mail/py-spambayes. Now it's not expiration date: 2012-03-17 build errors: none. overview: http://portsmon.FreeBSD.org/portoverview.py?category=databases&portname=py25-bsddb If this problem is one that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-python@FreeBSD.ORG Tue Feb 21 11:30:21 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCD621065676; Tue, 21 Feb 2012 11:30:21 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A3D188FC17; Tue, 21 Feb 2012 11:30:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1LBULOu067199; Tue, 21 Feb 2012 11:30:21 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1LBULEU067189; Tue, 21 Feb 2012 11:30:21 GMT (envelope-from edwin) Date: Tue, 21 Feb 2012 11:30:21 GMT Message-Id: <201202211130.q1LBULEU067189@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/165359: lang/python27 fails to create package on world WITHOUT_NIS X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 11:30:21 -0000 Synopsis: lang/python27 fails to create package on world WITHOUT_NIS Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Tue Feb 21 11:30:20 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=165359 From owner-freebsd-python@FreeBSD.ORG Wed Feb 22 13:24:06 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B0181065679; Wed, 22 Feb 2012 13:24:06 +0000 (UTC) (envelope-from scheidell@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6BF8FC0A; Wed, 22 Feb 2012 13:24:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1MDO5Pq068253; Wed, 22 Feb 2012 13:24:06 GMT (envelope-from scheidell@freefall.freebsd.org) Received: (from scheidell@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1MDO55V068249; Wed, 22 Feb 2012 13:24:05 GMT (envelope-from scheidell) Date: Wed, 22 Feb 2012 13:24:05 GMT Message-Id: <201202221324.q1MDO55V068249@freefall.freebsd.org> To: douglas@douglasthrift.net, scheidell@FreeBSD.org, freebsd-python@FreeBSD.org From: scheidell@FreeBSD.org Cc: Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 13:24:06 -0000 Synopsis: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it State-Changed-From-To: closed->suspended State-Changed-By: scheidell State-Changed-When: Wed Feb 22 13:22:46 UTC 2012 State-Changed-Why: Reopening pr, set to suspended. This will need more thought. http://www.freebsd.org/cgi/query-pr.cgi?pr=118301 From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 11:11:29 2012 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0763F106566C; Fri, 24 Feb 2012 11:11:29 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD5E8FC08; Fri, 24 Feb 2012 11:11:28 +0000 (UTC) Received: by vcmm1 with SMTP id m1so2152406vcm.13 for ; Fri, 24 Feb 2012 03:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2I906/e1Y7bPZQNr/+ZE7Rel2jhm1OiyI1wG8DJmOnE=; b=BYqpdQATsLMhjS13ULrBYya1gBJC49/UScZP3jmuTzlMB6EVT9hrIamdONr4+g9lLr YjZHmI2K1fzCASa0/cnRweo6kfG5j2kINXcniB5F+brR2CjcR9Vm1gMASvFT8lcw7Iw2 uO641o9EVfmOcCUP4y5+T8+TgpKr1KTNHjyX4= MIME-Version: 1.0 Received: by 10.220.147.198 with SMTP id m6mr757915vcv.49.1330080412836; Fri, 24 Feb 2012 02:46:52 -0800 (PST) Sender: lwhsu.freebsd@gmail.com Received: by 10.220.96.142 with HTTP; Fri, 24 Feb 2012 02:46:52 -0800 (PST) In-Reply-To: References: Date: Fri, 24 Feb 2012 18:46:52 +0800 X-Google-Sender-Auth: 2Kh2B7D3Zf0cWQwudvM9Sw4c4GI Message-ID: From: Li-Wen Hsu To: "Sean C. Farley" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-python@freebsd.org Subject: Re: Install shared objects into site-packages X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 11:11:29 -0000 On Mon, Feb 20, 2012 at 11:42, Sean C. Farley wrote: > I am using virtualenv --no-site-packages (the default now) to be able to > build an environment on both FreeBSD and Linux. =C2=A0The issue I am runn= ing into > is that _sqlite3.so from databases/py-sqlite3 is being installed into > site-packages as opposed to lib-dynload. =C2=A0On the CentOS we are using= , > _sqlite3.so is installed in lib-dynload. > > I tried a bit to change the port's setup.py, but I have not been successf= ul. > =C2=A0How can databases/py-sqlite3 and other ports that are typically par= t of > Python by default be made to install into lib-dynload? > > These are the one that lang/python27 disables: > disabled_module_list =3D ["_bsddb", "_sqlite3", "_tkinter", "gdbm", "mpz"= ] Hi Sean, After reading databases/py-sqlite3/Makeilfe from NetBSD's pkgsrc, I have this patch: http://people.freebsd.org/~lwhsu/patch/py-sqlite3__lib-dynload.diff Due to time constraint, I haven't test it with virtualenv, please tell me if it works. I think changing the install destination of these built-in modules to the default position is right direction. But this patch is not a good solution, we need to handle PYDISTUTILS_INSTALLARGS better instead of putting between bsd.port.{pre,post}.mk . Please tell me if there is a better way to do this. Thanks. Li-Wen --=20 Li-Wen Hsu http://lwhsu.org From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 15:50:17 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C38E91065672; Fri, 24 Feb 2012 15:50:17 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 966FA8FC19; Fri, 24 Feb 2012 15:50:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1OFoHEj041029; Fri, 24 Feb 2012 15:50:17 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1OFoHwY041025; Fri, 24 Feb 2012 15:50:17 GMT (envelope-from edwin) Date: Fri, 24 Feb 2012 15:50:17 GMT Message-Id: <201202241550.q1OFoHwY041025@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/165451: lang/python27 has incorrect CFLAGS when building with clang resulting in problems with pow() [patch] [redports] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 15:50:17 -0000 Synopsis: lang/python27 has incorrect CFLAGS when building with clang resulting in problems with pow() [patch] [redports] Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Feb 24 15:50:17 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=165451 From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 16:00:37 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75EC5106564A for ; Fri, 24 Feb 2012 16:00:37 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 56AC38FC13 for ; Fri, 24 Feb 2012 16:00:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1OG0bk9049413 for ; Fri, 24 Feb 2012 16:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1OG0b1A049409; Fri, 24 Feb 2012 16:00:37 GMT (envelope-from gnats) Date: Fri, 24 Feb 2012 16:00:37 GMT Message-Id: <201202241600.q1OG0b1A049409@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Volodymyr Kostyrko Cc: Subject: Re: ports/165451: lang/python27 has incorrect CFLAGS when building with clang resulting in problems with pow() [patch] [redports] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volodymyr Kostyrko List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 16:00:37 -0000 The following reply was made to PR ports/165451; it has been noted by GNATS. From: Volodymyr Kostyrko To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/165451: lang/python27 has incorrect CFLAGS when building with clang resulting in problems with pow() [patch] [redports] Date: Fri, 24 Feb 2012 17:57:01 +0200 This is a multi-part message in MIME format. --------------030901050504050902030506 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I'm sorry, last patch was without PORTVERSION bump. -- Sphinx of black quartz judge my vow. --------------030901050504050902030506 Content-Type: text/plain; name="patch.python27.fwrapv.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch.python27.fwrapv.txt" ZGlmZiAtdXJOIHB5dGhvbjI3L01ha2VmaWxlIC9ob21lL2FyY2FkZS9zdm4vcmVkcG9ydHMv bGFuZy9weXRob24yNy9NYWtlZmlsZQotLS0gcHl0aG9uMjcvTWFrZWZpbGUJMjAxMi0wMi0x OSAwMDowODoyNS4wMDAwMDAwMDAgKzAyMDAKKysrIC9ob21lL2FyY2FkZS9zdm4vcmVkcG9y dHMvbGFuZy9weXRob24yNy9NYWtlZmlsZQkyMDEyLTAyLTI0IDE3OjQyOjI3LjAzNzQzNDg2 NSArMDIwMApAQCAtNyw3ICs3LDcgQEAKIAogUE9SVE5BTUU9CXB5dGhvbjI3CiBQT1JUVkVS U0lPTj0JMi43LjIKLVBPUlRSRVZJU0lPTj0JNAorUE9SVFJFVklTSU9OPQk1CiBDQVRFR09S SUVTPQlsYW5nIHB5dGhvbiBpcHY2CiBNQVNURVJfU0lURVM9CSR7UFlUSE9OX01BU1RFUl9T SVRFU30KIE1BU1RFUl9TSVRFX1NVQkRJUj0JJHtQWVRIT05fTUFTVEVSX1NJVEVfU1VCRElS fQpkaWZmIC11ck4gcHl0aG9uMjcvZmlsZXMvcGF0Y2gtY2xhbmctZndyYXB3IC9ob21lL2Fy Y2FkZS9zdm4vcmVkcG9ydHMvbGFuZy9weXRob24yNy9maWxlcy9wYXRjaC1jbGFuZy1md3Jh cHcKLS0tIHB5dGhvbjI3L2ZpbGVzL3BhdGNoLWNsYW5nLWZ3cmFwdwkxOTcwLTAxLTAxIDAz OjAwOjAwLjAwMDAwMDAwMCArMDMwMAorKysgL2hvbWUvYXJjYWRlL3N2bi9yZWRwb3J0cy9s YW5nL3B5dGhvbjI3L2ZpbGVzL3BhdGNoLWNsYW5nLWZ3cmFwdwkyMDEyLTAyLTI0IDE3OjI1 OjE0LjM5ODQzNDU0NSArMDIwMApAQCAtMCwwICsxLDM0IEBACitkaWZmIC11ciB4L2NvbmZp Z3VyZSB5L2NvbmZpZ3VyZQorLS0tIHgvY29uZmlndXJlCTIwMTEtMDYtMTEgMTg6NDY6Mjgu MDAwMDAwMDAwICswMzAwCisrKysgeS9jb25maWd1cmUJMjAxMi0wMi0yNCAxNzoyMzo0NC4y NDk0MzQ4MjMgKzAyMDAKK0BAIC01NDE4LDYgKzU0MTgsMTMgQEAKKyAgICAgICAgIGlmICIk Q0MiIC12IC0taGVscCAyPi9kZXYvbnVsbCB8Z3JlcCAtLSAtZndyYXB2ID4gL2Rldi9udWxs OyB0aGVuCisgICAgICAgICAgICBXUkFQPSItZndyYXB2IgorICAgICAgICAgZmkKKysKKysJ IyBDbGFuZyBhbHNvIG5lZWRzIC1md3JhcHYKKysJY2FzZSAkQ0MgaW4KKysJCSpjbGFuZyop IFdSQVA9Ii1md3JhcHYiCisrCQkJOzsKKysJZXNhYworKworIAljYXNlICRhY19jdl9wcm9n X2NjX2cgaW4KKyAJeWVzKQorIAkgICAgaWYgdGVzdCAiJFB5X0RFQlVHIiA9ICd0cnVlJyA7 IHRoZW4KK2RpZmYgLXVyIHgvY29uZmlndXJlLmluIHkvY29uZmlndXJlLmluCistLS0geC9j b25maWd1cmUuaW4JMjAxMS0wNi0xMSAxODo0NjoyOC4wMDAwMDAwMDAgKzAzMDAKKysrKyB5 L2NvbmZpZ3VyZS5pbgkyMDEyLTAyLTI0IDE3OjI0OjQ4LjEzNzQzNDM3OCArMDIwMAorQEAg LTkzMSw2ICs5MzEsMTMgQEAKKyAgICAgICAgIGlmICIkQ0MiIC12IC0taGVscCAyPi9kZXYv bnVsbCB8Z3JlcCAtLSAtZndyYXB2ID4gL2Rldi9udWxsOyB0aGVuCisgICAgICAgICAgICBX UkFQPSItZndyYXB2IgorICAgICAgICAgZmkKKysKKysJIyBDbGFuZyBhbHNvIG5lZWRzIC1m d3JhcHYKKysJY2FzZSAkQ0MgaW4KKysJCSpjbGFuZyopIFdSQVA9Ii1md3JhcHYiCisrCQkJ OzsKKysJZXNhYworKworIAljYXNlICRhY19jdl9wcm9nX2NjX2cgaW4KKyAJeWVzKQorIAkg ICAgaWYgdGVzdCAiJFB5X0RFQlVHIiA9ICd0cnVlJyA7IHRoZW4K --------------030901050504050902030506-- From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 16:10:16 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 799041065677 for ; Fri, 24 Feb 2012 16:10:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5B20A8FC0C for ; Fri, 24 Feb 2012 16:10:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1OGAGRe058316 for ; Fri, 24 Feb 2012 16:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1OGAGE3058315; Fri, 24 Feb 2012 16:10:16 GMT (envelope-from gnats) Date: Fri, 24 Feb 2012 16:10:16 GMT Message-Id: <201202241610.q1OGAGE3058315@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Volodymyr Kostyrko Cc: Subject: Re: ports/165451: lang/python27 has incorrect CFLAGS when building with clang resulting in problems with pow() [patch] [redports] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volodymyr Kostyrko List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 16:10:16 -0000 The following reply was made to PR ports/165451; it has been noted by GNATS. From: Volodymyr Kostyrko To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/165451: lang/python27 has incorrect CFLAGS when building with clang resulting in problems with pow() [patch] [redports] Date: Fri, 24 Feb 2012 18:01:21 +0200 This is a multi-part message in MIME format. --------------030101090701010807020601 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Oh, I was wrong again, patch failed to apply cleanly. Relevant redports build: https://redports.org/buildarchive/20120224165929-32787/ -- Sphinx of black quartz judge my vow. --------------030101090701010807020601 Content-Type: text/plain; name="patch.python27.fwrapv.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch.python27.fwrapv.txt" ZGlmZiAtdXJOIHB5dGhvbjI3L01ha2VmaWxlIC9ob21lL2FyY2FkZS9zdm4vcmVkcG9ydHMv bGFuZy9weXRob24yNy9NYWtlZmlsZQotLS0gcHl0aG9uMjcvTWFrZWZpbGUJMjAxMi0wMi0x OSAwMDowODoyNS4wMDAwMDAwMDAgKzAyMDAKKysrIC9ob21lL2FyY2FkZS9zdm4vcmVkcG9y dHMvbGFuZy9weXRob24yNy9NYWtlZmlsZQkyMDEyLTAyLTI0IDE3OjQyOjI3LjAzNzQzNDg2 NSArMDIwMApAQCAtNyw3ICs3LDcgQEAKIAogUE9SVE5BTUU9CXB5dGhvbjI3CiBQT1JUVkVS U0lPTj0JMi43LjIKLVBPUlRSRVZJU0lPTj0JNAorUE9SVFJFVklTSU9OPQk1CiBDQVRFR09S SUVTPQlsYW5nIHB5dGhvbiBpcHY2CiBNQVNURVJfU0lURVM9CSR7UFlUSE9OX01BU1RFUl9T SVRFU30KIE1BU1RFUl9TSVRFX1NVQkRJUj0JJHtQWVRIT05fTUFTVEVSX1NJVEVfU1VCRElS fQpkaWZmIC11ck4gcHl0aG9uMjcvZmlsZXMvcGF0Y2gtY2xhbmctZndyYXB3IC9ob21lL2Fy Y2FkZS9zdm4vcmVkcG9ydHMvbGFuZy9weXRob24yNy9maWxlcy9wYXRjaC1jbGFuZy1md3Jh cHcKLS0tIHB5dGhvbjI3L2ZpbGVzL3BhdGNoLWNsYW5nLWZ3cmFwdwkxOTcwLTAxLTAxIDAz OjAwOjAwLjAwMDAwMDAwMCArMDMwMAorKysgL2hvbWUvYXJjYWRlL3N2bi9yZWRwb3J0cy9s YW5nL3B5dGhvbjI3L2ZpbGVzL3BhdGNoLWNsYW5nLWZ3cmFwdwkyMDEyLTAyLTI0IDE3OjU4 OjM1LjAzMTQzNDYxMSArMDIwMApAQCAtMCwwICsxLDMyIEBACistLS0gY29uZmlndXJlCTIw MTEtMDYtMTEgMTg6NDY6MjguMDAwMDAwMDAwICswMzAwCisrKysgY29uZmlndXJlCTIwMTIt MDItMjQgMTc6MjM6NDQuMjQ5NDM0ODIzICswMjAwCitAQCAtNTQxOCw2ICs1NDE4LDEzIEBA CisgICAgICAgICBpZiAiJENDIiAtdiAtLWhlbHAgMj4vZGV2L251bGwgfGdyZXAgLS0gLWZ3 cmFwdiA+IC9kZXYvbnVsbDsgdGhlbgorICAgICAgICAgICAgV1JBUD0iLWZ3cmFwdiIKKyAg ICAgICAgIGZpCisrCisrCSMgQ2xhbmcgYWxzbyBuZWVkcyAtZndyYXB2CisrCWNhc2UgJEND IGluCisrCQkqY2xhbmcqKSBXUkFQPSItZndyYXB2IgorKwkJCTs7CisrCWVzYWMKKysKKyAJ Y2FzZSAkYWNfY3ZfcHJvZ19jY19nIGluCisgCXllcykKKyAJICAgIGlmIHRlc3QgIiRQeV9E RUJVRyIgPSAndHJ1ZScgOyB0aGVuCistLS0gY29uZmlndXJlLmluCTIwMTEtMDYtMTEgMTg6 NDY6MjguMDAwMDAwMDAwICswMzAwCisrKysgY29uZmlndXJlLmluCTIwMTItMDItMjQgMTc6 MjQ6NDguMTM3NDM0Mzc4ICswMjAwCitAQCAtOTMxLDYgKzkzMSwxMyBAQAorICAgICAgICAg aWYgIiRDQyIgLXYgLS1oZWxwIDI+L2Rldi9udWxsIHxncmVwIC0tIC1md3JhcHYgPiAvZGV2 L251bGw7IHRoZW4KKyAgICAgICAgICAgIFdSQVA9Ii1md3JhcHYiCisgICAgICAgICBmaQor KworKwkjIENsYW5nIGFsc28gbmVlZHMgLWZ3cmFwdgorKwljYXNlICRDQyBpbgorKwkJKmNs YW5nKikgV1JBUD0iLWZ3cmFwdiIKKysJCQk7OworKwllc2FjCisrCisgCWNhc2UgJGFjX2N2 X3Byb2dfY2NfZyBpbgorIAl5ZXMpCisgCSAgICBpZiB0ZXN0ICIkUHlfREVCVUciID0gJ3Ry dWUnIDsgdGhlbgo= --------------030101090701010807020601-- From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 16:50:06 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DE14106564A for ; Fri, 24 Feb 2012 16:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0D2548FC0C for ; Fri, 24 Feb 2012 16:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1OGo5iH098440 for ; Fri, 24 Feb 2012 16:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1OGo5VA098438; Fri, 24 Feb 2012 16:50:05 GMT (envelope-from gnats) Date: Fri, 24 Feb 2012 16:50:05 GMT Message-Id: <201202241650.q1OGo5VA098438@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Michael Scheidell Cc: Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Scheidell List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 16:50:06 -0000 The following reply was made to PR ports/118301; it has been noted by GNATS. From: Michael Scheidell To: bug-followup@FreeBSD.org, gabor@freebsd.org, lwhsu@FreeBSD.org, sunpoet@FreeBSD.org, python@freebsd.org Cc: nivit@FreeBSD.org, vivanov@ivanov-nest.com, lars.eggert@nokia.com Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it Date: Fri, 24 Feb 2012 11:43:23 -0500 (EST) --ELM1330101803-86909-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" As promissed, attached is a patch to back out portrevision 3, or, most specifically, leave it as an option knob, default off. It packages just fine, with and without: http://people.freebsd.org/~scheidell/py27-setuptools-0.6c11_4.WITHOUT.log (the default, just like it did before portrevision 3) and, with: (with option knob set) by looking at Makefile, and pkg-plist changes, I think I correctly wrapped !defines() around all the changed things. (note: this sat for 3 years. python@ got 'open pr' emails, once a week, so, speak up now, or forever hold your peace. or nra members, your piece) I can tell you this packages, both ways, leaves no left overs, but I can't tell you if it solves the original problem with the knob, or the problem created with revision 3. But I can tell you, it looks like this attached patch reverses revision 3. Please, if you have any stake in this, test it, or, in when this gets committed, don't complain. -- Michael Scheidell, CTO SECNAP Network Security Corporation http://people.freebsd.org/~scheidell ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ ______________________________________________________________________ --ELM1330101803-86909-0_ Content-Transfer-Encoding: 7bit Content-Type: text/x-patch Content-Disposition: attachment; filename="pr_118301_devel_py-setuptools.patch" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/py-setuptools/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 8 Jan 2012 01:51:58 -0000 1.24 +++ Makefile 24 Feb 2012 16:35:57 -0000 @@ -7,7 +7,7 @@ PORTNAME= setuptools PORTVERSION= 0.6c11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,6 +21,8 @@ PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//} +OPTIONS= EASYINSTALL "Use With Python easy-install" off + .include .if ${PYTHON_SUFFIX} < 25 @@ -31,13 +33,18 @@ PLIST_SUB+= PYTHON_OLD="@comment " .endif +.if defined(WITH_EASYINSTALL) SUB_FILES= pkg-install SUB_LIST= EASYINSTALL_PTH=${EASYINSTALL_PTH} +PLIST_SUB+= EASYINSTALL="" EASYINSTALL_PTH= ${PYTHON_SITELIBDIR}/easy-install.pth pre-install: PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +.else +PLIST_SUB+= EASYINSTALL="@comment " +.endif post-install: ${INSTALL_DATA} ${WRKSRC}/site.py ${PYTHON_SITELIBDIR} @@ -45,8 +52,10 @@ ${PYTHON_CMD} ${opt} -m compileall -l -x \ '^[^s][^i]?[^t]?[^e]?[^.][^p][^y]$$' ${PYTHON_SITELIBDIR} .endfor +.if defined(WITH_EASYINSTALL) ${CP} ${EASYINSTALL_PTH} ${EASYINSTALL_PTH}.dist PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/devel/py-setuptools/pkg-plist,v retrieving revision 1.13 diff -u -r1.13 pkg-plist --- pkg-plist 8 Jan 2012 01:51:58 -0000 1.13 +++ pkg-plist 24 Feb 2012 16:35:57 -0000 @@ -3,8 +3,9 @@ bin/easy_install-%%PYVER%% %%PYTHON_SITELIBDIR%%/setuptools.pth @unexec if cmp -s %B/easy-install.pth %B/easy-install.pth.dist; then rm %B/easy-install.pth; fi -%%PYTHON_SITELIBDIR%%/easy-install.pth.dist -@exec if [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi +@unexec if [ ! -f %B/easy-install.pth.dist ]; then rm %B/easy-install.pth; fi +%%EASYINSTALL%%%%PYTHON_SITELIBDIR%%/easy-install.pth.dist +%%EASYINSTALL%%@exec if [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi %%PYTHON_SITELIBDIR%%/site.py %%PYTHON_SITELIBDIR%%/site.pyc %%PYTHON_SITELIBDIR%%/site.pyo --ELM1330101803-86909-0_-- From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 17:03:32 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EAA31065670; Fri, 24 Feb 2012 17:03:32 +0000 (UTC) (envelope-from scheidell@secnap.net) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id E51BA8FC0C; Fri, 24 Feb 2012 17:03:31 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id CAD46621C06; Fri, 24 Feb 2012 11:43:24 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.net; h= message-id:content-transfer-encoding:content-type:content-type :mime-version:x-mailer:from:from:date:date:subject:subject; s= dkim; t=1330101803; x=1331916203; bh=lWfvdjYSvee2GOvuD1O+50aFUnm QooPOPmlBHIf9Ur8=; b=QqplCVOXQ9N5rcEM57jgJ/jKb9eEXjMjSkV21+SyOlL /yWjSH64GGaLqfeX6U3pxamvbaifTkhiUHMGMCB1/udYtvRwr/DO5LA3Rw4zXGil 61VzgquPYMWhTz3s54W220GO0VQ2xoyvpZ/3DA7lqnsIf5aifMIFZdjbjs0ym4j0 = X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.18 at mx1.secnap.com.ionspam.net Received: from scanner.secnap.net (unknown [10.70.1.4]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id BCBF9621C03; Fri, 24 Feb 2012 11:43:23 -0500 (EST) Received: by scanner.secnap.net (Postfix, from userid 1001) id B31561D401; Fri, 24 Feb 2012 11:43:23 -0500 (EST) To: bug-followup@FreeBSD.org, gabor@freebsd.org, lwhsu@FreeBSD.org, sunpoet@FreeBSD.org, python@freebsd.org Date: Fri, 24 Feb 2012 11:43:23 -0500 (EST) Sender: scheidell@secnap.net From: Michael Scheidell X-Loop: scheidell@secnap.net X-Mailer: ELM [version 2.4ME+ PL124c (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ELM1330101803-86909-0_" Content-Transfer-Encoding: 7bit Message-Id: <20120224164323.B31561D401@scanner.secnap.net> Cc: nivit@FreeBSD.org, vivanov@ivanov-nest.com, lars.eggert@nokia.com Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 17:03:32 -0000 --ELM1330101803-86909-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" As promissed, attached is a patch to back out portrevision 3, or, most specifically, leave it as an option knob, default off. It packages just fine, with and without: http://people.freebsd.org/~scheidell/py27-setuptools-0.6c11_4.WITHOUT.log (the default, just like it did before portrevision 3) and, with: (with option knob set) by looking at Makefile, and pkg-plist changes, I think I correctly wrapped !defines() around all the changed things. (note: this sat for 3 years. python@ got 'open pr' emails, once a week, so, speak up now, or forever hold your peace. or nra members, your piece) I can tell you this packages, both ways, leaves no left overs, but I can't tell you if it solves the original problem with the knob, or the problem created with revision 3. But I can tell you, it looks like this attached patch reverses revision 3. Please, if you have any stake in this, test it, or, in when this gets committed, don't complain. -- Michael Scheidell, CTO SECNAP Network Security Corporation http://people.freebsd.org/~scheidell ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ ______________________________________________________________________ --ELM1330101803-86909-0_ Content-Transfer-Encoding: 7bit Content-Type: text/x-patch Content-Disposition: attachment; filename="pr_118301_devel_py-setuptools.patch" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/py-setuptools/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 8 Jan 2012 01:51:58 -0000 1.24 +++ Makefile 24 Feb 2012 16:35:57 -0000 @@ -7,7 +7,7 @@ PORTNAME= setuptools PORTVERSION= 0.6c11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,6 +21,8 @@ PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//} +OPTIONS= EASYINSTALL "Use With Python easy-install" off + .include .if ${PYTHON_SUFFIX} < 25 @@ -31,13 +33,18 @@ PLIST_SUB+= PYTHON_OLD="@comment " .endif +.if defined(WITH_EASYINSTALL) SUB_FILES= pkg-install SUB_LIST= EASYINSTALL_PTH=${EASYINSTALL_PTH} +PLIST_SUB+= EASYINSTALL="" EASYINSTALL_PTH= ${PYTHON_SITELIBDIR}/easy-install.pth pre-install: PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +.else +PLIST_SUB+= EASYINSTALL="@comment " +.endif post-install: ${INSTALL_DATA} ${WRKSRC}/site.py ${PYTHON_SITELIBDIR} @@ -45,8 +52,10 @@ ${PYTHON_CMD} ${opt} -m compileall -l -x \ '^[^s][^i]?[^t]?[^e]?[^.][^p][^y]$$' ${PYTHON_SITELIBDIR} .endfor +.if defined(WITH_EASYINSTALL) ${CP} ${EASYINSTALL_PTH} ${EASYINSTALL_PTH}.dist PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/devel/py-setuptools/pkg-plist,v retrieving revision 1.13 diff -u -r1.13 pkg-plist --- pkg-plist 8 Jan 2012 01:51:58 -0000 1.13 +++ pkg-plist 24 Feb 2012 16:35:57 -0000 @@ -3,8 +3,9 @@ bin/easy_install-%%PYVER%% %%PYTHON_SITELIBDIR%%/setuptools.pth @unexec if cmp -s %B/easy-install.pth %B/easy-install.pth.dist; then rm %B/easy-install.pth; fi -%%PYTHON_SITELIBDIR%%/easy-install.pth.dist -@exec if [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi +@unexec if [ ! -f %B/easy-install.pth.dist ]; then rm %B/easy-install.pth; fi +%%EASYINSTALL%%%%PYTHON_SITELIBDIR%%/easy-install.pth.dist +%%EASYINSTALL%%@exec if [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi %%PYTHON_SITELIBDIR%%/site.py %%PYTHON_SITELIBDIR%%/site.pyc %%PYTHON_SITELIBDIR%%/site.pyo --ELM1330101803-86909-0_-- From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 18:45:38 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 970331065677; Fri, 24 Feb 2012 18:45:38 +0000 (UTC) (envelope-from douglaswth@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 48CE78FC15; Fri, 24 Feb 2012 18:45:38 +0000 (UTC) Received: by pbcxa7 with SMTP id xa7so3200080pbc.13 for ; Fri, 24 Feb 2012 10:45:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=o7w3W0NTBbyHK7k0lB7YEsweJk6VQsr6w6Yvia6Yh5M=; b=xLKQvxZhIHuItuFsU3fMaaKiKgeGKaR9nXq4tTvlv89JTl15xD0u7jFU2UsCx5FPFM 2GoUF5mUEdc1kbPkdilHEnqo/sKoOrRFGyG10uUCam7QBHvTAJZJY+/EquJ1a6B2UrBJ G2RACzrM4jjUGtOVM4WQlpmr6JcN963JPp2PM= MIME-Version: 1.0 Received: by 10.68.229.67 with SMTP id so3mr3689091pbc.163.1330107485042; Fri, 24 Feb 2012 10:18:05 -0800 (PST) Received: by 10.68.29.3 with HTTP; Fri, 24 Feb 2012 10:18:05 -0800 (PST) In-Reply-To: <20120224164323.B31561D401@scanner.secnap.net> References: <20120224164323.B31561D401@scanner.secnap.net> Date: Fri, 24 Feb 2012 10:18:05 -0800 Message-ID: From: Douglas Thrift To: Michael Scheidell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: nivit@freebsd.org, bug-followup@freebsd.org, vivanov@ivanov-nest.com, python@freebsd.org, lars.eggert@nokia.com, sunpoet@freebsd.org, lwhsu@freebsd.org, gabor@freebsd.org Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 18:45:38 -0000 On Fri, Feb 24, 2012 at 8:43 AM, Michael Scheidell wrote: > As promissed, attached is a patch to back out portrevision 3, or, most sp= ecifically, leave it as an option knob, default > off. > > It packages just fine, with and without: > > http://people.freebsd.org/~scheidell/py27-setuptools-0.6c11_4.WITHOUT.log= =C2=A0(the default, just like it did before > portrevision 3) > > and, with: (with option knob set) > > by looking at Makefile, and pkg-plist changes, I think I correctly wrappe= d !defines() around all the changed things. > > (note: this sat for 3 years. =C2=A0python@ got 'open pr' emails, once a w= eek, so, speak up now, or forever hold your peace. or > nra members, your piece) > > I can tell you this packages, both ways, leaves no left overs, but I can'= t tell you if it solves the original problem with > the knob, or the problem created with revision 3. =C2=A0But I can tell yo= u, it looks like this attached patch reverses revision > 3. > > Please, if you have any stake in this, test it, or, in when this gets com= mitted, don't complain. > -- > Michael Scheidell, CTO > SECNAP Network Security Corporation > http://people.freebsd.org/~scheidell > > ______________________________________________________________________ > This email has been scanned and certified safe by SpammerTrap(r). > For Information please see http://www.spammertrap.com/ > ______________________________________________________________________ > > > _______________________________________________ > freebsd-python@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-python > To unsubscribe, send any mail to "freebsd-python-unsubscribe@freebsd.org" > Hello, What was the issue with portrevision 3? Also the name and description of the new knob do not make sense. What the knob enables is preserving the contents of the easy-install.pth file which specifies what packages are installed; easy-install itself is core functionality of setuptools that is not affected by the knob. It really seems unacceptable that upgrading setuptools pretty much clobbers dependent ports. When other things like libraries are upgraded in this fashion there is usually a notice in UPDATING or the portrevision of dependent ports is bumped. I don't think having a knob makes any sense. Either fix whatever problem there is with what the preservation patch did or back it out and make sure whoever upgrades setuptools puts notices in UPDATING or bumps portrevisions. Thanks! --=20 Douglas William Thrift From owner-freebsd-python@FreeBSD.ORG Fri Feb 24 18:50:14 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99652106566C for ; Fri, 24 Feb 2012 18:50:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7858FC08 for ; Fri, 24 Feb 2012 18:50:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1OIoE5U009650 for ; Fri, 24 Feb 2012 18:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1OIoEN2009646; Fri, 24 Feb 2012 18:50:14 GMT (envelope-from gnats) Date: Fri, 24 Feb 2012 18:50:14 GMT Message-Id: <201202241850.q1OIoEN2009646@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Douglas Thrift Cc: Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Douglas Thrift List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 18:50:14 -0000 The following reply was made to PR ports/118301; it has been noted by GNATS. From: Douglas Thrift To: Michael Scheidell Cc: bug-followup@freebsd.org, gabor@freebsd.org, lwhsu@freebsd.org, sunpoet@freebsd.org, python@freebsd.org, nivit@freebsd.org, vivanov@ivanov-nest.com, lars.eggert@nokia.com Subject: Re: ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it Date: Fri, 24 Feb 2012 10:18:05 -0800 On Fri, Feb 24, 2012 at 8:43 AM, Michael Scheidell wrote: > As promissed, attached is a patch to back out portrevision 3, or, most sp= ecifically, leave it as an option knob, default > off. > > It packages just fine, with and without: > > http://people.freebsd.org/~scheidell/py27-setuptools-0.6c11_4.WITHOUT.log= =C2=A0(the default, just like it did before > portrevision 3) > > and, with: (with option knob set) > > by looking at Makefile, and pkg-plist changes, I think I correctly wrappe= d !defines() around all the changed things. > > (note: this sat for 3 years. =C2=A0python@ got 'open pr' emails, once a w= eek, so, speak up now, or forever hold your peace. or > nra members, your piece) > > I can tell you this packages, both ways, leaves no left overs, but I can'= t tell you if it solves the original problem with > the knob, or the problem created with revision 3. =C2=A0But I can tell yo= u, it looks like this attached patch reverses revision > 3. > > Please, if you have any stake in this, test it, or, in when this gets com= mitted, don't complain. > -- > Michael Scheidell, CTO > SECNAP Network Security Corporation > http://people.freebsd.org/~scheidell > > ______________________________________________________________________ > This email has been scanned and certified safe by SpammerTrap(r). > For Information please see http://www.spammertrap.com/ > ______________________________________________________________________ > > > _______________________________________________ > freebsd-python@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-python > To unsubscribe, send any mail to "freebsd-python-unsubscribe@freebsd.org" > Hello, What was the issue with portrevision 3? Also the name and description of the new knob do not make sense. What the knob enables is preserving the contents of the easy-install.pth file which specifies what packages are installed; easy-install itself is core functionality of setuptools that is not affected by the knob. It really seems unacceptable that upgrading setuptools pretty much clobbers dependent ports. When other things like libraries are upgraded in this fashion there is usually a notice in UPDATING or the portrevision of dependent ports is bumped. I don't think having a knob makes any sense. Either fix whatever problem there is with what the preservation patch did or back it out and make sure whoever upgrades setuptools puts notices in UPDATING or bumps portrevisions. Thanks! --=20 Douglas William Thrift