From owner-freebsd-python@FreeBSD.ORG Mon Oct 24 11:07:10 2011 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 2F5CA1065670 for ; Mon, 24 Oct 2011 11:07:10 +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 040558FC20 for ; Mon, 24 Oct 2011 11:07:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9OB79gQ025394 for ; Mon, 24 Oct 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9OB79N7025392 for freebsd-python@FreeBSD.org; Mon, 24 Oct 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Oct 2011 11:07:09 GMT Message-Id: <201110241107.p9OB79N7025392@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, 24 Oct 2011 11:07:10 -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/161564 python [patch] lang/python27: prune __wchar_t define from CFL o ports/160717 python port: lang/python27 causing other ports to hang during o ports/159962 python [PATCH] Mk/bsd.python.mk: prevent polluting filesystem 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 o ports/118301 python [patch] devel/py-setuptools easy-install.pth contents 23 problems total. From owner-freebsd-python@FreeBSD.ORG Mon Oct 24 12:00:32 2011 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 C1549106576A; Mon, 24 Oct 2011 12:00:32 +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 98A4A8FC14; Mon, 24 Oct 2011 12:00:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9OC0Wb8078234; Mon, 24 Oct 2011 12:00:32 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9OC0Wcu078225; Mon, 24 Oct 2011 12:00:32 GMT (envelope-from edwin) Date: Mon, 24 Oct 2011 12:00:32 GMT Message-Id: <201110241200.p9OC0Wcu078225@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/161960: [EXP-RUN] Mk/bsd.python.mk: adding -N to PYEASYINSTALL_UNINSTALLARGS 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, 24 Oct 2011 12:00:32 -0000 Synopsis: [EXP-RUN] Mk/bsd.python.mk: adding -N to PYEASYINSTALL_UNINSTALLARGS Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Mon Oct 24 12:00:31 UTC 2011 Responsible-Changed-Why: bsd.python.mk is freebsd-python territory (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=161960 From owner-freebsd-python@FreeBSD.ORG Tue Oct 25 07:45:51 2011 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 EFB8C106564A; Tue, 25 Oct 2011 07:45:51 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C7B788FC0A; Tue, 25 Oct 2011 07:45:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9P7jpQT010183; Tue, 25 Oct 2011 07:45:51 GMT (envelope-from wen@freefall.freebsd.org) Received: (from wen@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9P7jpkm010179; Tue, 25 Oct 2011 07:45:51 GMT (envelope-from wen) Date: Tue, 25 Oct 2011 07:45:51 GMT Message-Id: <201110250745.p9P7jpkm010179@freefall.freebsd.org> To: wen@FreeBSD.org, freebsd-python@FreeBSD.org, portmgr@FreeBSD.org From: wen@FreeBSD.org Cc: Subject: Re: ports/161960: [EXP-RUN] Mk/bsd.python.mk: adding -N to PYEASYINSTALL_UNINSTALLARGS 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, 25 Oct 2011 07:45:52 -0000 Synopsis: [EXP-RUN] Mk/bsd.python.mk: adding -N to PYEASYINSTALL_UNINSTALLARGS Responsible-Changed-From-To: freebsd-python->portmgr Responsible-Changed-By: wen Responsible-Changed-When: Tue Oct 25 07:44:20 UTC 2011 Responsible-Changed-Why: - Please test if this patch of bsd.python.mk will break some ports http://www.freebsd.org/cgi/query-pr.cgi?pr=161960 From owner-freebsd-python@FreeBSD.ORG Thu Oct 27 10:20:29 2011 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 58D381065673; Thu, 27 Oct 2011 10:20:29 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id C406A8FC0A; Thu, 27 Oct 2011 10:20:28 +0000 (UTC) Received: from [192.168.1.38] (139-146.62-81.cust.bluewin.ch [81.62.146.139]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.4/8.14.3) with ESMTP id p9RAKRiV023698 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 27 Oct 2011 10:20:27 GMT (envelope-from beat@FreeBSD.org) From: =?iso-8859-1?Q?Beat_G=E4tzi?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 27 Oct 2011 12:20:27 +0200 To: python@FreeBSD.org Message-Id: <806C6109-0986-4C0C-920D-7DE79FDC2016@FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Cc: Subject: Using WITH_FBSD10_FIX in lang/python27 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: Thu, 27 Oct 2011 10:20:29 -0000 Hi, As we now have WITH_FBSD10_FIX in bsd.port.mk could you please commit or approve this patch: http://people.freebsd.org/~beat/patches/python27-WITH_FBSD10_FIX.patch Thanks, Beat From owner-freebsd-python@FreeBSD.ORG Fri Oct 28 16:47:52 2011 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 078F7106564A; Fri, 28 Oct 2011 16:47:52 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [IPv6:2a02:6b8:0:602::1]) by mx1.freebsd.org (Postfix) with ESMTP id 39E7B8FC08; Fri, 28 Oct 2011 16:47:51 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward1.mail.yandex.net (Yandex) with ESMTP id 890E01242DF4; Fri, 28 Oct 2011 20:47:49 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1319820469; bh=g1ZIODuFpIj62EkSBBmrwLN0VGP+IhYd4vAkmhTCl0Y=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=eQQBH5hy5YaLLHkjd7WKALLOpCanqSaTWUzVYRsUXtyZv6BUdPXpXPuAt+RYuMziX YpgiMOBqVVzwEnj4JdPeyuOb1x3sRU0uxyuRA3FB3/+gDx2cN6cju07Ta8Xzcw1AGH DnEZy1sVziZMlzYlWfWco9jHqUoeP7m+AXAzjD7E= Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id 4DB9EE2040B; Fri, 28 Oct 2011 20:47:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1319820469; bh=g1ZIODuFpIj62EkSBBmrwLN0VGP+IhYd4vAkmhTCl0Y=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=eQQBH5hy5YaLLHkjd7WKALLOpCanqSaTWUzVYRsUXtyZv6BUdPXpXPuAt+RYuMziX YpgiMOBqVVzwEnj4JdPeyuOb1x3sRU0uxyuRA3FB3/+gDx2cN6cju07Ta8Xzcw1AGH DnEZy1sVziZMlzYlWfWco9jHqUoeP7m+AXAzjD7E= Received: from unknown (unknown [213.138.88.133]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id lmxiuZDJ-lmxWREOo; Fri, 28 Oct 2011 20:47:49 +0400 X-Yandex-Spam: 1 Message-ID: <4EAADCAD.3000403@yandex.ru> Date: Fri, 28 Oct 2011 20:47:41 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 To: miwi@FreeBSD.org References: <4E9B2A8D.5000108@yandex.ru> <4E9EA6B9.7010203@yandex.ru> <4EAB4AB7.1080709@FreeBSD.org> In-Reply-To: <4EAB4AB7.1080709@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: wen heping , python@freebsd.org, Li-Wen Hsu Subject: Re: About zope and plone 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, 28 Oct 2011 16:47:52 -0000 Martin Wilke wrote on 29.10.2011 04:37: > On Wed Oct 19 10:57:41 2011, wen heping wrote: >> Yes, I agree with this PR that we should add -N to easy_install's >> deinstall argument. >> >> And shall we ask for a exp-run to test it ? >> >> wen >> >> 2011/10/19 Ruslan Mahmatkhanov: >>> Good day, gentlemen. >>> >>> Please tell what do you think about message bellow and this pr: >>> http://bugs.freebsd.org/159962 >>> >>> Message bellow is somewhat complements this pr. Please also note that >>> Wen >>> agree with this pr, but he is busy for this right now. Also note that >>> this >>> pr is a stopper wrt importing of new zope and plone. >>> >>> Thanks in advance. >>> >>> -------- Исходное сообщение -------- >>> Тема: Re: About zope and plone >>> Дата: Sun, 16 Oct 2011 23:03:41 +0400 >>> От: Ruslan Mahmatkhanov >>> Кому: wen heping >>> >>> wen heping wrote on 14.10.2011 13:15: >>> >>>> Today I tested devel/py-zope.minmax in Tinderbox, it has the same plist >>>> error. >>>> Now I need such a port exist in current FreeBSD portstree to be a demo >>>> to python@. >>>> >>>> If python@ does not disagree I would ask portmgr@ for an exprun to test >>>> it. >>>> Then I would commit it. >>> >>> Hi Wen, >>> >>> i'm finally get it. >>> While seeking an example for you i took some broken/outdated ports, >>> that i >>> just can't left in this state :), so i apologize for delay. >>> >>> You was right, it's a kind of upstream problem, but bsd.python.mk still >>> contains a problem too, because this error still exists on deinstall of >>> such silly ports (that may potentially exist in future). >>> >>> Here is how to reproduce: >>> Pick any port, that >>> a) using setuptools for installing >>> b) has non-empty install_requires[] list in it's setup.py >>> c) does not define BUILD or RUN DEPENDS for deps, that are listed >>> in it's setup.py >>> >>> Ok, i wasn't able to find such port in the tree. But you can take, say, >>> devel/py-daemon, remove BUILD/RUN_DEPENDS in it's Makefile and try to >>> build it in tinderbox - it will builds and installs fine, but you'll get >>> extra files installed on deinstall. >>> >>> The only port, that looked promising, was devel/py-Jinja. It defines >>> this lines: >>> >>> PYEASYINSTALL_INSTALLARGS= -N ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} >>> PYEASYINSTALL_UNINSTALLARGS= -q -m -N >>> ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} >>> >>> Note adding the -N key on deinstall. But right now they are not needed, >>> because this port packages successfully without them (it has empty >>> install_requires[]). >>> >>> The problem with Products.MailHost, for example, is that if i add zope >>> as dependency of this port, we well have cyclic deps and broken build. >>> Resolving this issue with upstream will take much time (i know this >>> because i already have 3 patches that hanging in zope/plone bugtrackers >>> more than month). >>> >>> I can avoid this a different way, by defining >>> PYEASYINSTALL_UNINSTALLARGS, but i believe that more correct and more >>> easy is to define this -N in bsd.python.mk, because it's just two bytes >>> in one file - and this is all, problem solved. Otherwise, i will be >>> forced to patch many ports with this UNINSTALLARGS line, effectively >>> littering the tree and making it hard to maintain. We already have it in >>> PYEASYINSTALL_INSTALLARGS for some reason anyway, so why to not >>> define it in >>> UNINSTALLARGS too for symmetry? >>> >>> I hope this arguments are sufficient to convince portmgr@ and make this >>> change. >>> >>> -- >>> Regards, >>> Ruslan >>> >>> Tinderboxing kills... the drives. >>> > > Hi, > > Just a question, all these is still based on python 2.4 right? Because > of security reason we should remove python 2.4 after 9.0 release. I'm > back to the game now and will force that removal. > Please let me know whats about that. > > - Martin > Hi, Martin. No, of course. The whole point is to import zope/plone versions that work with 2.6/2.7, and to drop obsoleted 2.4-only versions along with python 2.4 an 2.5. -- Regards, Ruslan Tinderboxing kills... the drives. From owner-freebsd-python@FreeBSD.ORG Fri Oct 28 16:48:45 2011 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 98A13106564A; Fri, 28 Oct 2011 16:48:45 +0000 (UTC) (envelope-from miwi.freebsd@googlemail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3956C8FC08; Fri, 28 Oct 2011 16:48:44 +0000 (UTC) Received: by qyg14 with SMTP id 14so5530691qyg.13 for ; Fri, 28 Oct 2011 09:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=sender:message-id:date:from:reply-to:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=O3Yj6Jzs5Cck3375nTg7EXvUujjw/QRaK9rE4qFI/yo=; b=MI0fa3JJ0M9SCb5kwi2tQZ8yP4I0nfDtEKHdeEupG44aYBZ0zxPG7JlaRa9XvxAuvr rO5MZRAo2fWjED5mZqzXho5+ZGRsX2osQALpriCKNZ907Qcz0WtPKRynfvHs/+Te+ok1 8LZM7CsWruqIvRl3JwSKFOScdEafXJyaBsHHI= Received: by 10.68.16.69 with SMTP id e5mr5055190pbd.67.1319820523863; Fri, 28 Oct 2011 09:48:43 -0700 (PDT) Received: from yakim.homeunix.com ([175.142.211.255]) by mx.google.com with ESMTPS id 4sm24974103pbj.18.2011.10.28.09.48.40 (version=SSLv3 cipher=OTHER); Fri, 28 Oct 2011 09:48:42 -0700 (PDT) Sender: Martin Wilke Message-ID: <4EAB4D48.2090305@FreeBSD.org> Date: Sat, 29 Oct 2011 00:48:08 +0000 From: Martin Wilke Organization: FreeBSD User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111027 Thunderbird/7.0.1 MIME-Version: 1.0 To: Ruslan Mahmatkhanov References: <4E9B2A8D.5000108@yandex.ru> <4E9EA6B9.7010203@yandex.ru> <4EAB4AB7.1080709@FreeBSD.org> <4EAADCAD.3000403@yandex.ru> In-Reply-To: <4EAADCAD.3000403@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: wen heping , python@freebsd.org, Li-Wen Hsu Subject: Re: About zope and plone X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: miwi@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2011 16:48:45 -0000 On Fri Oct 28 16:47:41 2011, Ruslan Mahmatkhanov wrote: > Martin Wilke wrote on 29.10.2011 04:37: >> On Wed Oct 19 10:57:41 2011, wen heping wrote: >>> Yes, I agree with this PR that we should add -N to easy_install's >>> deinstall argument. >>> >>> And shall we ask for a exp-run to test it ? >>> >>> wen >>> >>> 2011/10/19 Ruslan Mahmatkhanov: >>>> Good day, gentlemen. >>>> >>>> Please tell what do you think about message bellow and this pr: >>>> http://bugs.freebsd.org/159962 >>>> >>>> Message bellow is somewhat complements this pr. Please also note that >>>> Wen >>>> agree with this pr, but he is busy for this right now. Also note that >>>> this >>>> pr is a stopper wrt importing of new zope and plone. >>>> >>>> Thanks in advance. >>>> >>>> -------- Исходное сообщение -------- >>>> Тема: Re: About zope and plone >>>> Дата: Sun, 16 Oct 2011 23:03:41 +0400 >>>> От: Ruslan Mahmatkhanov >>>> Кому: wen heping >>>> >>>> wen heping wrote on 14.10.2011 13:15: >>>> >>>>> Today I tested devel/py-zope.minmax in Tinderbox, it has the same >>>>> plist >>>>> error. >>>>> Now I need such a port exist in current FreeBSD portstree to be a >>>>> demo >>>>> to python@. >>>>> >>>>> If python@ does not disagree I would ask portmgr@ for an exprun to >>>>> test >>>>> it. >>>>> Then I would commit it. >>>> >>>> Hi Wen, >>>> >>>> i'm finally get it. >>>> While seeking an example for you i took some broken/outdated ports, >>>> that i >>>> just can't left in this state :), so i apologize for delay. >>>> >>>> You was right, it's a kind of upstream problem, but bsd.python.mk >>>> still >>>> contains a problem too, because this error still exists on >>>> deinstall of >>>> such silly ports (that may potentially exist in future). >>>> >>>> Here is how to reproduce: >>>> Pick any port, that >>>> a) using setuptools for installing >>>> b) has non-empty install_requires[] list in it's setup.py >>>> c) does not define BUILD or RUN DEPENDS for deps, that are listed >>>> in it's setup.py >>>> >>>> Ok, i wasn't able to find such port in the tree. But you can take, >>>> say, >>>> devel/py-daemon, remove BUILD/RUN_DEPENDS in it's Makefile and try to >>>> build it in tinderbox - it will builds and installs fine, but >>>> you'll get >>>> extra files installed on deinstall. >>>> >>>> The only port, that looked promising, was devel/py-Jinja. It defines >>>> this lines: >>>> >>>> PYEASYINSTALL_INSTALLARGS= -N >>>> ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} >>>> PYEASYINSTALL_UNINSTALLARGS= -q -m -N >>>> ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} >>>> >>>> Note adding the -N key on deinstall. But right now they are not >>>> needed, >>>> because this port packages successfully without them (it has empty >>>> install_requires[]). >>>> >>>> The problem with Products.MailHost, for example, is that if i add zope >>>> as dependency of this port, we well have cyclic deps and broken build. >>>> Resolving this issue with upstream will take much time (i know this >>>> because i already have 3 patches that hanging in zope/plone >>>> bugtrackers >>>> more than month). >>>> >>>> I can avoid this a different way, by defining >>>> PYEASYINSTALL_UNINSTALLARGS, but i believe that more correct and more >>>> easy is to define this -N in bsd.python.mk, because it's just two >>>> bytes >>>> in one file - and this is all, problem solved. Otherwise, i will be >>>> forced to patch many ports with this UNINSTALLARGS line, effectively >>>> littering the tree and making it hard to maintain. We already have >>>> it in >>>> PYEASYINSTALL_INSTALLARGS for some reason anyway, so why to not >>>> define it in >>>> UNINSTALLARGS too for symmetry? >>>> >>>> I hope this arguments are sufficient to convince portmgr@ and make >>>> this >>>> change. >>>> >>>> -- >>>> Regards, >>>> Ruslan >>>> >>>> Tinderboxing kills... the drives. >>>> >> >> Hi, >> >> Just a question, all these is still based on python 2.4 right? Because >> of security reason we should remove python 2.4 after 9.0 release. I'm >> back to the game now and will force that removal. >> Please let me know whats about that. >> >> - Martin >> > > Hi, Martin. > > No, of course. The whole point is to import zope/plone versions that > work with 2.6/2.7, and to drop obsoleted 2.4-only versions along with > python 2.4 an 2.5. > Cool happy to hear that :-) -- +-----------------oOO--(_)--OOo-------------------------+ With best Regards, Martin Wilke (miwi_(at)_FreeBSD.org) Mess with the Best, Die like the Rest From owner-freebsd-python@FreeBSD.ORG Fri Oct 28 17:08:14 2011 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 B18F11065676; Fri, 28 Oct 2011 17:08:14 +0000 (UTC) (envelope-from miwi.freebsd@googlemail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7E6E88FC1C; Fri, 28 Oct 2011 17:08:14 +0000 (UTC) Received: by pzk4 with SMTP id 4so21636441pzk.3 for ; Fri, 28 Oct 2011 10:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=sender:message-id:date:from:reply-to:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=a6r3oq1awY0e84cVva4JLxmtsegqx+NKJwhq94Ozcdw=; b=iNSTkUv4oi9RV65wf2HEQwHFn3SODn0Dy6DDLtF/rDSigRYwE2+vPLJQfRWJZj9C1M nXtSBDdQTCg9c1dNz+4YX4pfjMtRlj3X+aa4koqcDm68GWkgGz+XgEHfRy2jWf7qwP1g tC0/xL0rt9WprpDC/ZI8deO8orm/pruTxPfyA= Received: by 10.68.12.199 with SMTP id a7mr5026102pbc.58.1319819866680; Fri, 28 Oct 2011 09:37:46 -0700 (PDT) Received: from yakim.homeunix.com ([175.142.211.255]) by mx.google.com with ESMTPS id ml4sm24987479pbc.0.2011.10.28.09.37.43 (version=SSLv3 cipher=OTHER); Fri, 28 Oct 2011 09:37:45 -0700 (PDT) Sender: Martin Wilke Message-ID: <4EAB4AB7.1080709@FreeBSD.org> Date: Sat, 29 Oct 2011 00:37:11 +0000 From: Martin Wilke Organization: FreeBSD User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111027 Thunderbird/7.0.1 MIME-Version: 1.0 To: wen heping References: <4E9B2A8D.5000108@yandex.ru> <4E9EA6B9.7010203@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: python@freebsd.org, Ruslan Mahmatkhanov , Li-Wen Hsu Subject: Re: About zope and plone X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: miwi@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2011 17:08:14 -0000 On Wed Oct 19 10:57:41 2011, wen heping wrote: > Yes, I agree with this PR that we should add -N to easy_install's > deinstall argument. > > And shall we ask for a exp-run to test it ? > > wen > > 2011/10/19 Ruslan Mahmatkhanov: >> Good day, gentlemen. >> >> Please tell what do you think about message bellow and this pr: >> http://bugs.freebsd.org/159962 >> >> Message bellow is somewhat complements this pr. Please also note that Wen >> agree with this pr, but he is busy for this right now. Also note that this >> pr is a stopper wrt importing of new zope and plone. >> >> Thanks in advance. >> >> -------- Исходное сообщение -------- >> Тема: Re: About zope and plone >> Дата: Sun, 16 Oct 2011 23:03:41 +0400 >> От: Ruslan Mahmatkhanov >> Кому: wen heping >> >> wen heping wrote on 14.10.2011 13:15: >> >>> Today I tested devel/py-zope.minmax in Tinderbox, it has the same plist >>> error. >>> Now I need such a port exist in current FreeBSD portstree to be a demo >>> to python@. >>> >>> If python@ does not disagree I would ask portmgr@ for an exprun to test >>> it. >>> Then I would commit it. >> >> Hi Wen, >> >> i'm finally get it. >> While seeking an example for you i took some broken/outdated ports, that i >> just can't left in this state :), so i apologize for delay. >> >> You was right, it's a kind of upstream problem, but bsd.python.mk still >> contains a problem too, because this error still exists on deinstall of >> such silly ports (that may potentially exist in future). >> >> Here is how to reproduce: >> Pick any port, that >> a) using setuptools for installing >> b) has non-empty install_requires[] list in it's setup.py >> c) does not define BUILD or RUN DEPENDS for deps, that are listed >> in it's setup.py >> >> Ok, i wasn't able to find such port in the tree. But you can take, say, >> devel/py-daemon, remove BUILD/RUN_DEPENDS in it's Makefile and try to >> build it in tinderbox - it will builds and installs fine, but you'll get >> extra files installed on deinstall. >> >> The only port, that looked promising, was devel/py-Jinja. It defines >> this lines: >> >> PYEASYINSTALL_INSTALLARGS= -N ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} >> PYEASYINSTALL_UNINSTALLARGS= -q -m -N >> ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} >> >> Note adding the -N key on deinstall. But right now they are not needed, >> because this port packages successfully without them (it has empty >> install_requires[]). >> >> The problem with Products.MailHost, for example, is that if i add zope >> as dependency of this port, we well have cyclic deps and broken build. >> Resolving this issue with upstream will take much time (i know this >> because i already have 3 patches that hanging in zope/plone bugtrackers >> more than month). >> >> I can avoid this a different way, by defining >> PYEASYINSTALL_UNINSTALLARGS, but i believe that more correct and more >> easy is to define this -N in bsd.python.mk, because it's just two bytes >> in one file - and this is all, problem solved. Otherwise, i will be >> forced to patch many ports with this UNINSTALLARGS line, effectively >> littering the tree and making it hard to maintain. We already have it in >> PYEASYINSTALL_INSTALLARGS for some reason anyway, so why to not define it in >> UNINSTALLARGS too for symmetry? >> >> I hope this arguments are sufficient to convince portmgr@ and make this >> change. >> >> -- >> Regards, >> Ruslan >> >> Tinderboxing kills... the drives. >> Hi, Just a question, all these is still based on python 2.4 right? Because of security reason we should remove python 2.4 after 9.0 release. I'm back to the game now and will force that removal. Please let me know whats about that. - Martin -- +-----------------oOO--(_)--OOo-------------------------+ With best Regards, Martin Wilke (miwi_(at)_FreeBSD.org) Mess with the Best, Die like the Rest