From bugmaster at FreeBSD.org Mon Jun 1 11:07:04 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 1 11:09:15 2009 Subject: Current problem reports assigned to freebsd-python@FreeBSD.org Message-ID: <200906011106.n51B6wcT021204@freefall.freebsd.org> 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/134736 python [Update]www/py-pylons:update to 0.9.7 o ports/134239 python [patch] rc script for net-p2p/py-bittornado o ports/133844 python New port: databases/py-postgresql python3 pgsql drive o ports/133440 python Building lang/python30 with UCS-4 support doesn't work o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/132093 python lang/python26: python's subprocess.py fails with 'Inte o ports/123154 python New port: devel/py-yapps2 (an easy-to-use parser gener o ports/122616 python databases/py-pyPgSQL - apply bytea escape bug patch in o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/115940 python Missed one file in lang/python25 if NO_NIS defined o ports/109550 python lang/python25 does not install /usr/local/bin/python 11 problems total. From chuckr at telenix.org Sat Jun 6 20:30:21 2009 From: chuckr at telenix.org (Chuck Robey) Date: Sat Jun 6 20:30:28 2009 Subject: aboout setting up a new python Message-ID: <4A2ACBA5.6050602@telenix.org> I wanted to build python26, being that my current python is python25, and I want (suddenly) to develop on this machine for Pyglet (OpenGL for Python) and pyglet's port installed using py26 ... beyond that, I think I like the 2.6 version of python (I don't like the 3.0 version, and would REALLY NOT want to install that here). So, I know there's a set of links to make, to get the 2.6 version to work. I'd guessed that maybe thing thing named "python-config" would do that for me, but there's no man page, and the response from --help is merely the usage(). I haven't any idea how to use it, not one line. I can't find anything in /usr/local/share, either (but I might not be looking in the right place anyhow). Tried in the doc subdir too. Could I get a hint how to get my python2.6 up? BTW, I tried to see if maybe just installing the python26 port might activate 2.6 for me, but when I run "python" the prompt tells me that version 2.5.4 is still in control. Thanks. From josh at tcbug.org Sun Jun 7 02:51:02 2009 From: josh at tcbug.org (Josh Paetzel) Date: Sun Jun 7 02:51:08 2009 Subject: aboout setting up a new python In-Reply-To: <4A2ACBA5.6050602@telenix.org> References: <4A2ACBA5.6050602@telenix.org> Message-ID: <3422C91A-566E-4097-B5D1-24E251CB8E80@tcbug.org> On Jun 6, 2009, at 3:03 PM, Chuck Robey wrote: > I wanted to build python26, being that my current python is > python25, and I want > (suddenly) to develop on this machine for Pyglet (OpenGL for Python) > and > pyglet's port installed using py26 ... beyond that, I think I like > the 2.6 > version of python (I don't like the 3.0 version, and would REALLY > NOT want to > install that here). > > So, I know there's a set of links to make, to get the 2.6 version to > work. I'd > guessed that maybe thing thing named "python-config" would do that > for me, but > there's no man page, and the response from --help is merely the > usage(). I > haven't any idea how to use it, not one line. I can't find anything > in > /usr/local/share, either (but I might not be looking in the right > place anyhow). > Tried in the doc subdir too. > > Could I get a hint how to get my python2.6 up? BTW, I tried to see > if maybe > just installing the python26 port might activate 2.6 for me, but > when I run > "python" the prompt tells me that version 2.5.4 is still in control. > > To get the symlink for /usr/local/bin/python to point at your python 2.6 binary you can put PYTHON_DEFAULT_VERSION=python2.6 in to /etc/ make.conf and then install lang/python26, or you can just create the symlink yourself. Or you can start the python editor using python2.6 if you want the old symlink to still point at python 2.5 Thanks, Josh Paetzel From bugmaster at FreeBSD.org Mon Jun 8 11:07:01 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 8 11:09:23 2009 Subject: Current problem reports assigned to freebsd-python@FreeBSD.org Message-ID: <200906081106.n58B6x0O020770@freefall.freebsd.org> 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/134736 python [Update]www/py-pylons:update to 0.9.7 o ports/134239 python [patch] rc script for net-p2p/py-bittornado o ports/133844 python New port: databases/py-postgresql python3 pgsql drive o ports/133440 python Building lang/python30 with UCS-4 support doesn't work o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/132093 python lang/python26: python's subprocess.py fails with 'Inte o ports/123154 python New port: devel/py-yapps2 (an easy-to-use parser gener o ports/122616 python databases/py-pyPgSQL - apply bytea escape bug patch in o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/115940 python Missed one file in lang/python25 if NO_NIS defined o ports/109550 python lang/python25 does not install /usr/local/bin/python 11 problems total. From mexas at bristol.ac.uk Tue Jun 9 10:54:35 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jun 9 10:54:45 2009 Subject: python upgrade 2.5 to 2.6 Message-ID: <20090609101642.GA38980@mech-cluster238.men.bris.ac.uk> I use portmaster. What shall I use instead of pkg_which? PORTUPGRADE_CMD?= ${LOCALBASE}/sbin/portmaster ^^^^^^^^^ changed to portmaster PKG_WHICH_CMD?= ${LOCALBASE}/sbin/pkg_which ^^^^^^^^^ this I haven't got many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From roberthuff at rcn.com Tue Jun 9 12:56:29 2009 From: roberthuff at rcn.com (Robert Huff) Date: Tue Jun 9 12:56:35 2009 Subject: when building python-2.6 ... Message-ID: <18990.21805.510722.104853@jerusalem.litteratus.org> ... I get: Failed to find the necessary bits to build these modules: linuxaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. and the build continues, apparently successfully. Is this a problem, and what do I do to fix it? Respectfully, Robert Huff From frank at shute.org.uk Tue Jun 9 23:44:48 2009 From: frank at shute.org.uk (Frank Shute) Date: Tue Jun 9 23:44:54 2009 Subject: python upgrade 2.5 to 2.6 In-Reply-To: <20090609101642.GA38980@mech-cluster238.men.bris.ac.uk> References: <20090609101642.GA38980@mech-cluster238.men.bris.ac.uk> Message-ID: <20090609232429.GA14221@melon.esperance-linux.co.uk> On Tue, Jun 09, 2009 at 11:16:42AM +0100, Anton Shterenlikht wrote: > > I use portmaster. What shall I use instead of pkg_which? > > PORTUPGRADE_CMD?= ${LOCALBASE}/sbin/portmaster > ^^^^^^^^^ changed to portmaster > PKG_WHICH_CMD?= ${LOCALBASE}/sbin/pkg_which > ^^^^^^^^^ this I haven't got > > many thanks > anton It seems that: pkg_info -q -W should produce similar output and pkg_info(1) is part of base. I guess you might need to change your Makefile to use a variable like PKG_WHICH_CMD_ARGS also. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From wxs at FreeBSD.org Wed Jun 10 13:26:48 2009 From: wxs at FreeBSD.org (Wesley Shields) Date: Wed Jun 10 13:27:00 2009 Subject: Python 2.6 update with portmaster Message-ID: <20090610132647.GC40713@atarininja.org> Here's a patch[1] that allows you to use portmaster when doing the python upgrade. I intend to commit this tomorrow morning unless someone speaks up. I'll also be adding the instructions to the UPDATING entry. Once applied you should be able to use: cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER It will be quite slow compared to using pkg_which (the normal method) so be patient. I've used this patch to upgrade one lightly used machine and I know at least one other person has survived an upgrade of a machine with over 1000 ports installed. [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff -- WXS From wxs at FreeBSD.org Wed Jun 10 15:12:13 2009 From: wxs at FreeBSD.org (Wesley Shields) Date: Wed Jun 10 15:12:19 2009 Subject: Python 2.6 update with portmaster In-Reply-To: References: <20090610132647.GC40713@atarininja.org> Message-ID: <20090610151212.GB61383@atarininja.org> On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: > 2009/6/10 Wesley Shields : > > Here's a patch[1] that allows you to use portmaster when doing the python > > upgrade. I intend to commit this tomorrow morning unless someone speaks > > up. I'll also be adding the instructions to the UPDATING entry. > > > > Once applied you should be able to use: > > > > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > > > > It will be quite slow compared to using pkg_which (the normal method) so > > be patient. I've used this patch to upgrade one lightly used machine and > > I know at least one other person has survived an upgrade of a machine > > with over 1000 ports installed. > > > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > > > I applied the patch, but there is something wrong: > > > # make upgrade-site-packages -DUSE_PORTMASTER > > Syntax error: end of file unexpected (expecting "}") > > *** Error code 2 > > > > Stop in /usr/ports/lang/python. Sorry, updated the patch to address this. Please revert and try again. -- WXS From r.c.ladan at gmail.com Wed Jun 10 15:13:11 2009 From: r.c.ladan at gmail.com (Rene Ladan) Date: Wed Jun 10 15:13:17 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610132647.GC40713@atarininja.org> References: <20090610132647.GC40713@atarininja.org> Message-ID: 2009/6/10 Wesley Shields : > Here's a patch[1] that allows you to use portmaster when doing the python > upgrade. I intend to commit this tomorrow morning unless someone speaks > up. I'll also be adding the instructions to the UPDATING entry. > > Once applied you should be able to use: > > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > > It will be quite slow compared to using pkg_which (the normal method) so > be patient. I've used this patch to upgrade one lightly used machine and > I know at least one other person has survived an upgrade of a machine > with over 1000 ports installed. > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > I applied the patch, but there is something wrong: > # make upgrade-site-packages -DUSE_PORTMASTER > Syntax error: end of file unexpected (expecting "}") > *** Error code 2 > > Stop in /usr/ports/lang/python. Regards, Ren? -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) From r.c.ladan at gmail.com Wed Jun 10 15:26:47 2009 From: r.c.ladan at gmail.com (Rene Ladan) Date: Wed Jun 10 15:27:15 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610151212.GB61383@atarininja.org> References: <20090610132647.GC40713@atarininja.org> <20090610151212.GB61383@atarininja.org> Message-ID: 2009/6/10 Wesley Shields : > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: >> 2009/6/10 Wesley Shields : >> > Here's a patch[1] that allows you to use portmaster when doing the python >> > upgrade. I intend to commit this tomorrow morning unless someone speaks >> > up. I'll also be adding the instructions to the UPDATING entry. >> > >> > Once applied you should be able to use: >> > >> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER >> > >> > It will be quite slow compared to using pkg_which (the normal method) so >> > be patient. I've used this patch to upgrade one lightly used machine and >> > I know at least one other person has survived an upgrade of a machine >> > with over 1000 ports installed. >> > >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff >> > >> I applied the patch, but there is something wrong: >> >> > # make upgrade-site-packages -DUSE_PORTMASTER >> > Syntax error: end of file unexpected (expecting "}") >> > *** Error code 2 >> > >> > Stop in /usr/ports/lang/python. > > Sorry, updated the patch to address this. Please revert and try again. > > -- WXS > Still not :-( : > # patch Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: Makefile > |=================================================================== > |RCS file: /ncvs/ports/lang/python/Makefile,v > |retrieving revision 1.161 > |diff -u -r1.161 Makefile > |--- Makefile 31 Jul 2007 16:28:32 -0000 1.161 > |+++ Makefile 10 Jun 2009 15:15:23 -0000 > -------------------------- > Patching file Makefile using Plan A... > Hunk #1 succeeded at 24. > Hunk #2 succeeded at 46. > done > # make upgrade-site-packages -DUSE_PORTMASTER > > ===>>> /var/db/pkg/-f does not exist > ===>>> Aborting update > > *** Signal 15 > > Terminated > Stop in /usr/ports/lang/python. > # portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed. This is on 7.2-RELEASE/i386 with portsnap tree as of "now". Ren? -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) From wxs at FreeBSD.org Wed Jun 10 15:41:12 2009 From: wxs at FreeBSD.org (Wesley Shields) Date: Wed Jun 10 15:41:18 2009 Subject: Python 2.6 update with portmaster In-Reply-To: References: <20090610132647.GC40713@atarininja.org> <20090610151212.GB61383@atarininja.org> Message-ID: <20090610154111.GC61383@atarininja.org> On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote: > 2009/6/10 Wesley Shields : > > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: > >> 2009/6/10 Wesley Shields : > >> > Here's a patch[1] that allows you to use portmaster when doing the python > >> > upgrade. I intend to commit this tomorrow morning unless someone speaks > >> > up. I'll also be adding the instructions to the UPDATING entry. > >> > > >> > Once applied you should be able to use: > >> > > >> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > >> > > >> > It will be quite slow compared to using pkg_which (the normal method) so > >> > be patient. I've used this patch to upgrade one lightly used machine and > >> > I know at least one other person has survived an upgrade of a machine > >> > with over 1000 ports installed. > >> > > >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > >> > > >> I applied the patch, but there is something wrong: > >> > >> > # make upgrade-site-packages -DUSE_PORTMASTER > >> > Syntax error: end of file unexpected (expecting "}") > >> > *** Error code 2 > >> > > >> > Stop in /usr/ports/lang/python. > > > > Sorry, updated the patch to address this. Please revert and try again. > > > > -- WXS > > > > Still not :-( : > > > # patch > Hmm... Looks like a unified diff to me... > > The text leading up to this was: > > -------------------------- > > |Index: Makefile > > |=================================================================== > > |RCS file: /ncvs/ports/lang/python/Makefile,v > > |retrieving revision 1.161 > > |diff -u -r1.161 Makefile > > |--- Makefile 31 Jul 2007 16:28:32 -0000 1.161 > > |+++ Makefile 10 Jun 2009 15:15:23 -0000 > > -------------------------- > > Patching file Makefile using Plan A... > > Hunk #1 succeeded at 24. > > Hunk #2 succeeded at 46. > > done > > # make upgrade-site-packages -DUSE_PORTMASTER > > > > ===>>> /var/db/pkg/-f does not exist > > ===>>> Aborting update > > > > *** Signal 15 > > > > Terminated > > Stop in /usr/ports/lang/python. > > # > > portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed. > This is on 7.2-RELEASE/i386 with portsnap tree as of "now". The patch was only tested with PORTUPGRADE_ARGS defined. In the case where it wasn't defined you would run into the issue you described. I think I've fixed it now, so please revert and try again. Sorry for the problems, but like I said earlier this is to get it more exposure. Please revert, fetch the patch again and apply. -- WXS From r.c.ladan at gmail.com Wed Jun 10 15:59:45 2009 From: r.c.ladan at gmail.com (Rene Ladan) Date: Wed Jun 10 15:59:51 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610154111.GC61383@atarininja.org> References: <20090610132647.GC40713@atarininja.org> <20090610151212.GB61383@atarininja.org> <20090610154111.GC61383@atarininja.org> Message-ID: 2009/6/10 Wesley Shields : > On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote: >> 2009/6/10 Wesley Shields : >> > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: >> >> 2009/6/10 Wesley Shields : >> >> > Here's a patch[1] that allows you to use portmaster when doing the python >> >> > upgrade. I intend to commit this tomorrow morning unless someone speaks >> >> > up. I'll also be adding the instructions to the UPDATING entry. >> >> > >> >> > Once applied you should be able to use: >> >> > >> >> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER >> >> > >> >> > It will be quite slow compared to using pkg_which (the normal method) so >> >> > be patient. I've used this patch to upgrade one lightly used machine and >> >> > I know at least one other person has survived an upgrade of a machine >> >> > with over 1000 ports installed. >> >> > >> >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff >> >> > >> >> I applied the patch, but there is something wrong: >> >> >> >> > # make upgrade-site-packages -DUSE_PORTMASTER >> >> > Syntax error: end of file unexpected (expecting "}") >> >> > *** Error code 2 >> >> > >> >> > Stop in /usr/ports/lang/python. >> > >> > Sorry, updated the patch to address this. Please revert and try again. >> > >> > -- WXS >> > >> >> Still not :-( : >> >> > # patch > > Hmm... ?Looks like a unified diff to me... >> > The text leading up to this was: >> > -------------------------- >> > |Index: Makefile >> > |=================================================================== >> > |RCS file: /ncvs/ports/lang/python/Makefile,v >> > |retrieving revision 1.161 >> > |diff -u -r1.161 Makefile >> > |--- Makefile ? 31 Jul 2007 16:28:32 -0000 ? ? ?1.161 >> > |+++ Makefile ? 10 Jun 2009 15:15:23 -0000 >> > -------------------------- >> > Patching file Makefile using Plan A... >> > Hunk #1 succeeded at 24. >> > Hunk #2 succeeded at 46. >> > done >> > # make upgrade-site-packages -DUSE_PORTMASTER >> > >> > ===>>> /var/db/pkg/-f does not exist >> > ===>>> Aborting update >> > >> > *** Signal 15 >> > >> > Terminated >> > Stop in /usr/ports/lang/python. >> > # >> >> portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed. >> This is on 7.2-RELEASE/i386 with portsnap tree as of "now". > > The patch was only tested with PORTUPGRADE_ARGS defined. In the > case where it wasn't defined you would run into the issue you described. > I think I've fixed it now, so please revert and try again. Sorry for the > problems, but like I said earlier this is to get it more exposure. > > Please revert, fetch the patch again and apply. > It now also works fine without PORTUPGRADE_ARGS defined, i.e. just # ( cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER ) Thanks, Ren? -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) From wxs at FreeBSD.org Wed Jun 10 16:25:18 2009 From: wxs at FreeBSD.org (Wesley Shields) Date: Wed Jun 10 16:25:31 2009 Subject: Python 2.6 update with portmaster In-Reply-To: References: <20090610132647.GC40713@atarininja.org> <20090610151212.GB61383@atarininja.org> <20090610154111.GC61383@atarininja.org> Message-ID: <20090610162510.GE61383@atarininja.org> On Wed, Jun 10, 2009 at 05:59:42PM +0200, Rene Ladan wrote: > 2009/6/10 Wesley Shields : > > On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote: > >> 2009/6/10 Wesley Shields : > >> > On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: > >> >> 2009/6/10 Wesley Shields : > >> >> > Here's a patch[1] that allows you to use portmaster when doing the python > >> >> > upgrade. I intend to commit this tomorrow morning unless someone speaks > >> >> > up. I'll also be adding the instructions to the UPDATING entry. > >> >> > > >> >> > Once applied you should be able to use: > >> >> > > >> >> > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > >> >> > > >> >> > It will be quite slow compared to using pkg_which (the normal method) so > >> >> > be patient. I've used this patch to upgrade one lightly used machine and > >> >> > I know at least one other person has survived an upgrade of a machine > >> >> > with over 1000 ports installed. > >> >> > > >> >> > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > >> >> > > >> >> I applied the patch, but there is something wrong: > >> >> > >> >> > # make upgrade-site-packages -DUSE_PORTMASTER > >> >> > Syntax error: end of file unexpected (expecting "}") > >> >> > *** Error code 2 > >> >> > > >> >> > Stop in /usr/ports/lang/python. > >> > > >> > Sorry, updated the patch to address this. Please revert and try again. > >> > > >> > -- WXS > >> > > >> > >> Still not :-( : > >> > >> > # patch >> > Hmm... ?Looks like a unified diff to me... > >> > The text leading up to this was: > >> > -------------------------- > >> > |Index: Makefile > >> > |=================================================================== > >> > |RCS file: /ncvs/ports/lang/python/Makefile,v > >> > |retrieving revision 1.161 > >> > |diff -u -r1.161 Makefile > >> > |--- Makefile ? 31 Jul 2007 16:28:32 -0000 ? ? ?1.161 > >> > |+++ Makefile ? 10 Jun 2009 15:15:23 -0000 > >> > -------------------------- > >> > Patching file Makefile using Plan A... > >> > Hunk #1 succeeded at 24. > >> > Hunk #2 succeeded at 46. > >> > done > >> > # make upgrade-site-packages -DUSE_PORTMASTER > >> > > >> > ===>>> /var/db/pkg/-f does not exist > >> > ===>>> Aborting update > >> > > >> > *** Signal 15 > >> > > >> > Terminated > >> > Stop in /usr/ports/lang/python. > >> > # > >> > >> portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed. > >> This is on 7.2-RELEASE/i386 with portsnap tree as of "now". > > > > The patch was only tested with PORTUPGRADE_ARGS defined. In the > > case where it wasn't defined you would run into the issue you described. > > I think I've fixed it now, so please revert and try again. Sorry for the > > problems, but like I said earlier this is to get it more exposure. > > > > Please revert, fetch the patch again and apply. > > > It now also works fine without PORTUPGRADE_ARGS defined, i.e. just > # ( cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER ) Thank you. I'll wait till tomorrow morning (about 24 hours from when I started this thread) before I commit. If anyone has any more feedback, positive or negative please let me know. -- WXS From r.c.ladan at gmail.com Wed Jun 10 20:46:46 2009 From: r.c.ladan at gmail.com (Rene Ladan) Date: Wed Jun 10 20:46:53 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610162510.GE61383@atarininja.org> References: <20090610132647.GC40713@atarininja.org> <20090610151212.GB61383@atarininja.org> <20090610154111.GC61383@atarininja.org> <20090610162510.GE61383@atarininja.org> Message-ID: <4A301BB0.5090500@gmail.com> Wesley Shields schreef: > On Wed, Jun 10, 2009 at 05:59:42PM +0200, Rene Ladan wrote: >> 2009/6/10 Wesley Shields : >>> On Wed, Jun 10, 2009 at 05:26:40PM +0200, Rene Ladan wrote: >>>> 2009/6/10 Wesley Shields : >>>>> On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: >>>>>> 2009/6/10 Wesley Shields : >>>>>>> Here's a patch[1] that allows you to use portmaster when doing the python >>>>>>> upgrade. I intend to commit this tomorrow morning unless someone speaks >>>>>>> up. I'll also be adding the instructions to the UPDATING entry. >>>>>>> >>>>>>> Once applied you should be able to use: >>>>>>> >>>>>>> cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER >>>>>>> >>>>>>> It will be quite slow compared to using pkg_which (the normal method) so >>>>>>> be patient. I've used this patch to upgrade one lightly used machine and >>>>>>> I know at least one other person has survived an upgrade of a machine >>>>>>> with over 1000 ports installed. >>>>>>> >>>>>>> [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff >>>>>>> >>>>>> I applied the patch, but there is something wrong: >>>>>> >>>>>>> # make upgrade-site-packages -DUSE_PORTMASTER >>>>>>> Syntax error: end of file unexpected (expecting "}") >>>>>>> *** Error code 2 >>>>>>> >>>>>>> Stop in /usr/ports/lang/python. >>>>> Sorry, updated the patch to address this. Please revert and try again. >>>>> >>>>> -- WXS >>>>> >>>> Still not :-( : >>>> >>>>> # patch >>>> Hmm... ?Looks like a unified diff to me... >>>>> The text leading up to this was: >>>>> -------------------------- >>>>> |Index: Makefile >>>>> |=================================================================== >>>>> |RCS file: /ncvs/ports/lang/python/Makefile,v >>>>> |retrieving revision 1.161 >>>>> |diff -u -r1.161 Makefile >>>>> |--- Makefile ? 31 Jul 2007 16:28:32 -0000 ? ? ?1.161 >>>>> |+++ Makefile ? 10 Jun 2009 15:15:23 -0000 >>>>> -------------------------- >>>>> Patching file Makefile using Plan A... >>>>> Hunk #1 succeeded at 24. >>>>> Hunk #2 succeeded at 46. >>>>> done >>>>> # make upgrade-site-packages -DUSE_PORTMASTER >>>>> >>>>> ===>>> /var/db/pkg/-f does not exist >>>>> ===>>> Aborting update >>>>> >>>>> *** Signal 15 >>>>> >>>>> Terminated >>>>> Stop in /usr/ports/lang/python. >>>>> # >>>> portmaster-2.7, python-2.6,2 and python26-2.6.2 are installed. >>>> This is on 7.2-RELEASE/i386 with portsnap tree as of "now". >>> The patch was only tested with PORTUPGRADE_ARGS defined. In the >>> case where it wasn't defined you would run into the issue you described. >>> I think I've fixed it now, so please revert and try again. Sorry for the >>> problems, but like I said earlier this is to get it more exposure. >>> >>> Please revert, fetch the patch again and apply. >>> >> It now also works fine without PORTUPGRADE_ARGS defined, i.e. just >> # ( cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER ) > > Thank you. I'll wait till tomorrow morning (about 24 hours from when I > started this thread) before I commit. If anyone has any more feedback, > positive or negative please let me know. > The latest patch also works fine on my 7.2-RELEASE/amd64 which has xorg-7.4 and xfce-4.6.1 installed. Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) From wxs at FreeBSD.org Wed Jun 10 20:52:38 2009 From: wxs at FreeBSD.org (Wesley Shields) Date: Wed Jun 10 20:52:56 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <200906101244.43479.mel.flynn+fbsd.ports@mailing.thruhere.net> References: <20090610132647.GC40713@atarininja.org> <200906101244.43479.mel.flynn+fbsd.ports@mailing.thruhere.net> Message-ID: <20090610205236.GD65705@atarininja.org> On Wed, Jun 10, 2009 at 12:44:42PM -0800, Mel Flynn wrote: > On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote: > > > It will be quite slow compared to using pkg_which (the normal method) so > > be patient. > > Does pkg_which use the pkgdb? If so, maybe we could have pkg_info grow a cache > for future encounters, or we can create one: My guess is that pkg_which is using pkgdb, which is why it is significantly faster. > % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache > % FOUND=`sed -ne 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site- > packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND > xcb-proto-1.4 > > So: > 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p' I think there is a SoC project in the works to make our pkg utilities much better. I don't know any of the details but I can only hope that speed is one of the things being improved. > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > > What's this for? > +JOBS= sysctl -n kern.smp.cpus > > Should be != if it's gonna be used, but it's not referenced anywhere else > that I can see. It's used in XARGS_CMD to provide a bit of parallelism in an effort to be a bit faster. In my opinion the number can be increased much further than kern.smp.cpus but I'm not in a position to figure out how far to push it. The value used is better than nothing. -- WXS From mel.flynn+fbsd.ports at mailing.thruhere.net Wed Jun 10 21:03:00 2009 From: mel.flynn+fbsd.ports at mailing.thruhere.net (Mel Flynn) Date: Wed Jun 10 21:03:11 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610132647.GC40713@atarininja.org> References: <20090610132647.GC40713@atarininja.org> Message-ID: <200906101244.43479.mel.flynn+fbsd.ports@mailing.thruhere.net> On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote: > It will be quite slow compared to using pkg_which (the normal method) so > be patient. Does pkg_which use the pkgdb? If so, maybe we could have pkg_info grow a cache for future encounters, or we can create one: % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache % FOUND=`sed -ne 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site- packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND xcb-proto-1.4 So: 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p' > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff What's this for? +JOBS= sysctl -n kern.smp.cpus Should be != if it's gonna be used, but it's not referenced anywhere else that I can see. -- Mel From shuvaev at physik.uni-wuerzburg.de Wed Jun 10 21:29:42 2009 From: shuvaev at physik.uni-wuerzburg.de (Alexey Shuvaev) Date: Wed Jun 10 21:29:49 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610132647.GC40713@atarininja.org> References: <20090610132647.GC40713@atarininja.org> Message-ID: <20090610210027.GA82406@wep4035.physik.uni-wuerzburg.de> On Wed, Jun 10, 2009 at 09:26:47AM -0400, Wesley Shields wrote: > Here's a patch[1] that allows you to use portmaster when doing the python > upgrade. I intend to commit this tomorrow morning unless someone speaks > up. I'll also be adding the instructions to the UPDATING entry. > > Once applied you should be able to use: > > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > > It will be quite slow compared to using pkg_which (the normal method) so > be patient. I've used this patch to upgrade one lightly used machine and > I know at least one other person has survived an upgrade of a machine > with over 1000 ports installed. > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > I think using "-f" switch with portmaster is not correct as it will unconditionally rebuild all dependencies also (often up to perl :). 0.02$, Alexey. From itetcu at FreeBSD.org Wed Jun 10 21:42:05 2009 From: itetcu at FreeBSD.org (Ion-Mihai Tetcu) Date: Wed Jun 10 21:42:11 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610205236.GD65705@atarininja.org> References: <20090610132647.GC40713@atarininja.org> <200906101244.43479.mel.flynn+fbsd.ports@mailing.thruhere.net> <20090610205236.GD65705@atarininja.org> Message-ID: <20090611002358.3a060b05@it.buh.tecnik93.com> On Wed, 10 Jun 2009 16:52:36 -0400 Wesley Shields wrote: > On Wed, Jun 10, 2009 at 12:44:42PM -0800, Mel Flynn wrote: > > On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote: > > > > > It will be quite slow compared to using pkg_which (the normal > > > method) so be patient. > > > > Does pkg_which use the pkgdb? If so, maybe we could have pkg_info > > grow a cache for future encounters, or we can create one: > > My guess is that pkg_which is using pkgdb, which is why it is > significantly faster. > > > % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache > > % FOUND=`sed -ne > > 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site- > > packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND > > xcb-proto-1.4 > > > > So: > > 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p' > > I think there is a SoC project in the works to make our pkg utilities > much better. I don't know any of the details but I can only hope that > speed is one of the things being improved. > > > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > > > > What's this for? > > +JOBS= sysctl -n kern.smp.cpus > > > > Should be != if it's gonna be used, but it's not referenced > > anywhere else that I can see. If we'd be using != that particular instruction would be executed each time something interacts with the port, including eg. mkake describe (part of make index). This way that piece of code is executed only when needed. (and yes, it is referenced further bellow). > It's used in XARGS_CMD to provide a bit of parallelism in an effort to > be a bit faster. In my opinion the number can be increased much > further than kern.smp.cpus but I'm not in a position to figure out > how far to push it. The value used is better than nothing.\ Probably x2 would be OK. -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-python/attachments/20090610/52da8c27/signature.pgp From mel.flynn+fbsd.ports at mailing.thruhere.net Wed Jun 10 23:47:31 2009 From: mel.flynn+fbsd.ports at mailing.thruhere.net (Mel Flynn) Date: Wed Jun 10 23:47:49 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610205236.GD65705@atarininja.org> References: <20090610132647.GC40713@atarininja.org> <200906101244.43479.mel.flynn+fbsd.ports@mailing.thruhere.net> <20090610205236.GD65705@atarininja.org> Message-ID: <200906101547.28358.mel.flynn+fbsd.ports@mailing.thruhere.net> On Wednesday 10 June 2009 12:52:36 Wesley Shields wrote: > On Wed, Jun 10, 2009 at 12:44:42PM -0800, Mel Flynn wrote: > > On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote: > > > It will be quite slow compared to using pkg_which (the normal method) > > > so be patient. > > > > Does pkg_which use the pkgdb? If so, maybe we could have pkg_info grow a > > cache for future encounters, or we can create one: > > My guess is that pkg_which is using pkgdb, which is why it is > significantly faster. > > > % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache > > % FOUND=`sed -ne 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site- > > packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND > > xcb-proto-1.4 > > > > So: > > 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p' > > I think there is a SoC project in the works to make our pkg utilities > much better. I don't know any of the details but I can only hope that > speed is one of the things being improved. True, however the above can be done now, though it's a bit tricky to squeeze into the find command, one could put this as shell script in files/pkg_which. And patch Makefile as attached. I haven't got a system to run this on, since I switched to 2.6 everywhere a long time ago, but the find command on the shell produced the desired output. > > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > > > > What's this for? > > +JOBS= sysctl -n kern.smp.cpus > > > > Should be != if it's gonna be used, but it's not referenced anywhere else > > that I can see. > > It's used in XARGS_CMD to provide a bit of parallelism in an effort to > be a bit faster. That was pretty blind of me. -- Mel -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-lang-python-Makefile Type: text/x-patch Size: 1624 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-python/attachments/20090610/2f8fc649/patch-lang-python-Makefile.bin From wxs at FreeBSD.org Thu Jun 11 13:32:43 2009 From: wxs at FreeBSD.org (Wesley Shields) Date: Thu Jun 11 13:32:55 2009 Subject: Python 2.6 update with portmaster In-Reply-To: <20090610132647.GC40713@atarininja.org> References: <20090610132647.GC40713@atarininja.org> Message-ID: <20090611133242.GA70868@atarininja.org> On Wed, Jun 10, 2009 at 09:26:47AM -0400, Wesley Shields wrote: > Here's a patch[1] that allows you to use portmaster when doing the python > upgrade. I intend to commit this tomorrow morning unless someone speaks > up. I'll also be adding the instructions to the UPDATING entry. > > Once applied you should be able to use: > > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > > It will be quite slow compared to using pkg_which (the normal method) so > be patient. I've used this patch to upgrade one lightly used machine and > I know at least one other person has survived an upgrade of a machine > with over 1000 ports installed. > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff I've committed the latest version of the patch. Please let me know if it doesn't work for you. -- WXS From edwin at FreeBSD.org Thu Jun 11 20:50:16 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Thu Jun 11 20:50:22 2009 Subject: ports/135484: port lang/python and python26 build failed Message-ID: <200906112050.n5BKoF09042314@freefall.freebsd.org> Synopsis: port lang/python and python26 build failed Responsible-Changed-From-To: freebsd-ports-bugs->python Responsible-Changed-By: edwin Responsible-Changed-When: Thu Jun 11 20:50:14 UTC 2009 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=135484 From andymac at bullseye.apana.org.au Fri Jun 12 12:11:09 2009 From: andymac at bullseye.apana.org.au (Andrew MacIntyre) Date: Fri Jun 12 12:11:24 2009 Subject: when building python-2.6 ... In-Reply-To: <18990.21805.510722.104853@jerusalem.litteratus.org> References: <18990.21805.510722.104853@jerusalem.litteratus.org> Message-ID: <4A32424D.9020200@bullseye.andymac.org> Robert Huff wrote: > ... I get: > > Failed to find the necessary bits to build these modules: > linuxaudiodev spwd sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for the module's name. > > and the build continues, apparently successfully. > Is this a problem, and what do I do to fix it? If you had run make test, the output would have shown that these were not expected to be supported on FreeBSD. -- ------------------------------------------------------------------------- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac@pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia From lowell at be-well.ilk.org Fri Jun 12 12:23:01 2009 From: lowell at be-well.ilk.org (Lowell Gilbert) Date: Fri Jun 12 12:23:07 2009 Subject: python upgrade should get mailman too Message-ID: <20090612115457.732F95084E@be-well.ilk.org> >Submitter-Id: current-users >Originator: Lowell Gilbert >Organization: the Ilk >Confidential: no >Synopsis: python upgrade should get mailman too >Severity: non-critical >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 7.2-STABLE i386 >Environment: System: FreeBSD be-well.ilk.org 7.2-STABLE FreeBSD 7.2-STABLE #1: Mon May 18 21:52:08 EDT 2009 root@lowell-desk.lan:/usr/obj/usr/src/sys/BE-WELL i386 re: mailman port >Description: The python port's "upgrade-site-packages" target does not rebuild mailman, which leaves mailman broken after the python upgrade >How-To-Repeat: Install mailman with python 2.5, then run the python upgrade to 2.6. >Fix: One way would be to check /usr/local/mailman/lib in the upgrade-site-packages target, in addition to /usr/local/lib/python... Grepping it out of pkg_info output would be another way. From linimon at FreeBSD.org Fri Jun 12 13:48:54 2009 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Fri Jun 12 13:49:00 2009 Subject: ports/135503: lang/python26 upgrade should get mailman too Message-ID: <200906121348.n5CDmrkZ050379@freefall.freebsd.org> Old Synopsis: python upgrade should get mailman too New Synopsis: lang/python26 upgrade should get mailman too Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jun 12 13:47:26 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=135503 From linimon at FreeBSD.org Fri Jun 12 13:49:18 2009 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Fri Jun 12 13:49:29 2009 Subject: ports/135484: port lang/python and python26 build failed Message-ID: <200906121349.n5CDnHQR050425@freefall.freebsd.org> Synopsis: port lang/python and python26 build failed Responsible-Changed-From-To: python->freebsd-python Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jun 12 13:49:05 UTC 2009 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=135484 From linimon at FreeBSD.org Fri Jun 12 13:49:18 2009 From: linimon at FreeBSD.org (linimon@FreeBSD.org) Date: Fri Jun 12 13:49:29 2009 Subject: ports/135484: port lang/python and python26 build failed Message-ID: <200906121349.n5CDnHQR050425@freefall.freebsd.org> Synopsis: port lang/python and python26 build failed Responsible-Changed-From-To: python->freebsd-python Responsible-Changed-By: linimon Responsible-Changed-When: Fri Jun 12 13:49:05 UTC 2009 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=135484 From wxs at FreeBSD.org Fri Jun 12 16:37:35 2009 From: wxs at FreeBSD.org (wxs@FreeBSD.org) Date: Fri Jun 12 16:37:41 2009 Subject: ports/135503: lang/python26 upgrade should get mailman too Message-ID: <200906121637.n5CGbYmG084965@freefall.freebsd.org> Synopsis: lang/python26 upgrade should get mailman too Responsible-Changed-From-To: freebsd-python->wxs Responsible-Changed-By: wxs Responsible-Changed-When: Fri Jun 12 16:37:34 UTC 2009 Responsible-Changed-Why: Take as I also was bit by this, though I'm not sure of a proper solution. http://www.freebsd.org/cgi/query-pr.cgi?pr=135503 From bugmaster at FreeBSD.org Mon Jun 15 11:07:02 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 15 11:09:19 2009 Subject: Current problem reports assigned to freebsd-python@FreeBSD.org Message-ID: <200906151107.n5FB71wD077045@freefall.freebsd.org> 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/135484 python port lang/python and python26 build failed o ports/134736 python [Update]www/py-pylons:update to 0.9.7 o ports/134239 python [patch] rc script for net-p2p/py-bittornado o ports/133844 python New port: databases/py-postgresql python3 pgsql drive o ports/133440 python Building lang/python30 with UCS-4 support doesn't work o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/132093 python lang/python26: python's subprocess.py fails with 'Inte o ports/123154 python New port: devel/py-yapps2 (an easy-to-use parser gener o ports/122616 python databases/py-pyPgSQL - apply bytea escape bug patch in o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/115940 python Missed one file in lang/python25 if NO_NIS defined o ports/109550 python lang/python25 does not install /usr/local/bin/python 12 problems total. From info at wiseinvestcr.com Wed Jun 17 03:15:37 2009 From: info at wiseinvestcr.com (info@wiseinvestcr.com) Date: Wed Jun 17 03:15:58 2009 Subject: New Costa Rica Homes 129,000! Message-ID: <200906170314.n5H3EH1K016120@mail.easycostarentals.com> Close to airport, beaches, shopping and health care. Visit: http://wiseinvestcr.com/a4rio3 for more details. Excellent returns. Rich Group SA Calle 3, Avenida 11, 150 metros norte del Banco Nacional San Jose Centro, San Jose, Costa Rica 0 800 0150 6631/877-900-1188 unsubscribe: http://wiseinvestcr.com/unsubscribe From edwin at FreeBSD.org Fri Jun 19 12:10:22 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Fri Jun 19 12:10:32 2009 Subject: ports/135832: security/py-pycrypto: Deprecation warnings when used with Python 2.6. Message-ID: <200906191210.n5JCALxQ033134@freefall.freebsd.org> Synopsis: security/py-pycrypto: Deprecation warnings when used with Python 2.6. Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Jun 19 12:10:20 UTC 2009 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=135832 From bugmaster at FreeBSD.org Mon Jun 22 11:07:03 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 22 11:09:13 2009 Subject: Current problem reports assigned to freebsd-python@FreeBSD.org Message-ID: <200906221107.n5MB72YZ018154@freefall.freebsd.org> 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/135832 python security/py-pycrypto: Deprecation warnings when used w o ports/135484 python port lang/python and python26 build failed o ports/134736 python [Update]www/py-pylons:update to 0.9.7 o ports/134239 python [patch] rc script for net-p2p/py-bittornado o ports/133844 python New port: databases/py-postgresql python3 pgsql drive o ports/133440 python Building lang/python30 with UCS-4 support doesn't work o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/132093 python lang/python26: python's subprocess.py fails with 'Inte o ports/123154 python New port: devel/py-yapps2 (an easy-to-use parser gener o ports/122616 python databases/py-pyPgSQL - apply bytea escape bug patch in o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/115940 python Missed one file in lang/python25 if NO_NIS defined o ports/109550 python lang/python25 does not install /usr/local/bin/python 13 problems total. From edwin at FreeBSD.org Fri Jun 26 01:30:16 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Fri Jun 26 01:30:23 2009 Subject: ports/136058: [maintainer update]Fix build of science/py-scipy when suitesparse is installed, and other minor changes in science/py-scipy and math/py-numpy Message-ID: <200906260130.n5Q1UFiT028349@freefall.freebsd.org> Synopsis: [maintainer update]Fix build of science/py-scipy when suitesparse is installed, and other minor changes in science/py-scipy and math/py-numpy Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Jun 26 01:30:15 UTC 2009 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=136058 From edwin at FreeBSD.org Sat Jun 27 07:00:20 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Sat Jun 27 07:00:31 2009 Subject: ports/136083: New port: devel/py-gitosis Software for hosting git repositories Message-ID: <200906270700.n5R70JnQ046009@freefall.freebsd.org> Synopsis: New port: devel/py-gitosis Software for hosting git repositories Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Sat Jun 27 07:00:19 UTC 2009 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=136083 From edwin at FreeBSD.org Sat Jun 27 16:00:19 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Sat Jun 27 16:00:30 2009 Subject: ports/136096: New port: devel/py-h5py Message-ID: <200906271600.n5RG0IRc003300@freefall.freebsd.org> Synopsis: New port: devel/py-h5py Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Sat Jun 27 16:00:17 UTC 2009 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=136096 From edwin at FreeBSD.org Sun Jun 28 19:20:13 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Sun Jun 28 19:20:24 2009 Subject: ports/136141: [MAINTAINER] devel/py-utils: update to 0.4.0 Message-ID: <200906281920.n5SJKCCQ076722@freefall.freebsd.org> Synopsis: [MAINTAINER] devel/py-utils: update to 0.4.0 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Sun Jun 28 19:20:11 UTC 2009 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=136141 From miwi at FreeBSD.org Sun Jun 28 20:14:29 2009 From: miwi at FreeBSD.org (miwi@FreeBSD.org) Date: Sun Jun 28 20:14:52 2009 Subject: ports/136141: [MAINTAINER] devel/py-utils: update to 0.4.0 Message-ID: <200906282014.n5SKES3v024452@freefall.freebsd.org> Synopsis: [MAINTAINER] devel/py-utils: update to 0.4.0 Responsible-Changed-From-To: freebsd-python->miwi Responsible-Changed-By: miwi Responsible-Changed-When: Sun Jun 28 20:14:28 UTC 2009 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=136141 From bugmaster at FreeBSD.org Mon Jun 29 11:07:06 2009 From: bugmaster at FreeBSD.org (FreeBSD bugmaster) Date: Mon Jun 29 11:09:13 2009 Subject: Current problem reports assigned to freebsd-python@FreeBSD.org Message-ID: <200906291107.n5TB75mC046461@freefall.freebsd.org> 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/136096 python New port: devel/py-h5py o ports/136083 python New port: devel/py-gitosis Software for hosting git re o ports/136058 python [maintainer update]Fix build of science/py-scipy when o ports/135832 python security/py-pycrypto: Deprecation warnings when used w o ports/135484 python port lang/python and python26 build failed o ports/134736 python [Update]www/py-pylons:update to 0.9.7 o ports/134239 python [patch] rc script for net-p2p/py-bittornado o ports/133844 python New port: databases/py-postgresql python3 pgsql drive o ports/133440 python Building lang/python30 with UCS-4 support doesn't work o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/132093 python lang/python26: python's subprocess.py fails with 'Inte o ports/123154 python New port: devel/py-yapps2 (an easy-to-use parser gener o ports/122616 python databases/py-pyPgSQL - apply bytea escape bug patch in o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/115940 python Missed one file in lang/python25 if NO_NIS defined o ports/109550 python lang/python25 does not install /usr/local/bin/python 16 problems total. From lwhsu at FreeBSD.org Mon Jun 29 11:19:17 2009 From: lwhsu at FreeBSD.org (Li-Wen Hsu) Date: Mon Jun 29 11:19:50 2009 Subject: [CFT] Python 3.1 port Message-ID: <1e39c0a90906290353i30ae5e68v9f57c1b4ff78bf58@mail.gmail.com> Hi all, I've made a quick port for Python 3.1, not fully tested, but please give me some comments and inputs. http://people.freebsd.org/~lwhsu/bsd.python.mk-python31.diff http://people.freebsd.org/~lwhsu/python31.shar usage: cd /usr/ports/Mk && patch < bsd.python.mk-python31.diff cd /usr/ports/lang && sh python31.shar cd /usr/ports/lang/python31 && make install clean By the way, I added a regression-test target, however I found it cannot pass all the test cases: http://people.freebsd.org/~lwhsu/python31-3.1.log (see "", it even did not finish the test process) I am looking into these currently. Also, I found all the python* ports don't have regression-test target, and I surprised found all the versions I tested cannot pass all the cases in "make test" in python: http://people.freebsd.org/~lwhsu/python25-2.5.4_1.log http://people.freebsd.org/~lwhsu/python26-2.6.2.log http://people.freebsd.org/~lwhsu/python30-3.0.1.log Did anybody be aware this? Are these ignorable? Or did I make any mistake in the test process? Best Regards, Li-Wen -- Li-Wen Hsu http://lwhsu.org From lwhsu at FreeBSD.org Tue Jun 30 16:13:45 2009 From: lwhsu at FreeBSD.org (lwhsu@FreeBSD.org) Date: Tue Jun 30 16:14:24 2009 Subject: ports/135484: port lang/python and python26 build failed Message-ID: <200906301613.n5UGDiqO039801@freefall.freebsd.org> Synopsis: port lang/python and python26 build failed State-Changed-From-To: open->feedback State-Changed-By: lwhsu State-Changed-When: Tue Jun 30 16:13:43 UTC 2009 State-Changed-Why: I cannot reproduce here. Could you update your ports tree and try again. If it still fails, please list your /etc/make.conf and the installed packages. http://www.freebsd.org/cgi/query-pr.cgi?pr=135484 From lwhsu at FreeBSD.org Tue Jun 30 20:50:03 2009 From: lwhsu at FreeBSD.org (Li-Wen Hsu) Date: Tue Jun 30 20:50:09 2009 Subject: [RFC] lang/python30 (and lang/python*) fixes Message-ID: <1e39c0a90906301349m5e6035acxb5098924d0aea90f@mail.gmail.com> Hi all, After reviewing python31 port and freebsd-python's PRs, I propose this patch for lang/python30: http://people.freebsd.org/~lwhsu/python30.diff Changes are: - Honor EXAMPLESDIR, DATADIR and NOPORTEXAMPLES, NOPORTDATA - Remove bsddb module in pkg-message since it's removed from Python default modules (python3 user should use databases/py-bsddb3) - Fix WITH_UCS4 support (ports/133440) - Mark jobs safe - Makefile cleanup If nobody objects, I'll commit it after 24 hours. For python31, shar is updated at the same place: http://people.freebsd.org/~lwhsu/bsd.python.mk-python31.diff http://people.freebsd.org/~lwhsu/python31.shar For python2*, I'll update them after patches for python3* committed (of course if nobody objects) and probably include tmclaugh@'s patch in ports/109550 for python*. I think this matches what bsd.python.mk does. -- Li-Wen Hsu http://lwhsu.org From edwin at FreeBSD.org Tue Jun 30 21:11:38 2009 From: edwin at FreeBSD.org (edwin@FreeBSD.org) Date: Tue Jun 30 21:11:54 2009 Subject: ports/136196: [repocopy] lang/python30 -> lang/python31 Message-ID: <200906302111.n5ULBb0T070282@freefall.freebsd.org> Synopsis: [repocopy] lang/python30 -> lang/python31 Responsible-Changed-From-To: freebsd-ports-bugs->python Responsible-Changed-By: edwin Responsible-Changed-When: Tue Jun 30 21:11:37 UTC 2009 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=136196 From lwhsu at FreeBSD.org Tue Jun 30 21:16:55 2009 From: lwhsu at FreeBSD.org (lwhsu@FreeBSD.org) Date: Tue Jun 30 21:17:01 2009 Subject: ports/136196: [repocopy] lang/python30 -> lang/python31 Message-ID: <200906302116.n5ULGs3K071522@freefall.freebsd.org> Synopsis: [repocopy] lang/python30 -> lang/python31 State-Changed-From-To: open->repocopy State-Changed-By: lwhsu State-Changed-When: Tue Jun 30 21:15:47 UTC 2009 State-Changed-Why: Request repocopy lang/python30 -> lang/python31 Responsible-Changed-From-To: python->portmgr Responsible-Changed-By: lwhsu Responsible-Changed-When: Tue Jun 30 21:15:47 UTC 2009 Responsible-Changed-Why: Request repocopy lang/python30 -> lang/python31 http://www.freebsd.org/cgi/query-pr.cgi?pr=136196