From owner-freebsd-python@FreeBSD.ORG Mon Dec 15 11:06:58 2008 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 B3FE2106567B for ; Mon, 15 Dec 2008 11:06:58 +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 A671D8FC22 for ; Mon, 15 Dec 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBFB6wPW004447 for ; Mon, 15 Dec 2008 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBFB6wqC004443 for freebsd-python@FreeBSD.org; Mon, 15 Dec 2008 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Dec 2008 11:06:58 GMT Message-Id: <200812151106.mBFB6wqC004443@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, 15 Dec 2008 11:06:58 -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 -------------------------------------------------------------------------------- f ports/129581 python [Update]math/py-numpy:update to 1.2.1 o ports/129294 python [Update]databases/py-dbutils:update to 1.0 o ports/128350 python New port: math/py-numeric23 o ports/127616 python security/py-xmlsec misconstrues CFLAGS from xmlsec on f ports/127522 python Patch to fix fetch on current/ports/devel/py-mx-experi f ports/126544 python [PATCH] devel/py-tables: update to 2.0.4 o ports/126073 python Installing lang/python25 from the meta port changes th o ports/125459 python Add regression-test target for lang/python25 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/119440 python lang/python25: NO_NIS=true in /etc/make.conf breaks pk o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/116132 python lang/Python25 - Python 2.4 -> 2.5 upgrade leaves meta- o ports/115940 python Missed one file in lang/python25 if NO_NIS defined o ports/110728 python mail/py-spambayes should load config file from a stand o ports/109550 python lang/python25 does not install /usr/local/bin/python a ports/108576 python databases/postgresql-plpython make fails on 6.2 / amd6 17 problems total. From owner-freebsd-python@FreeBSD.ORG Tue Dec 16 20:48:25 2008 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 5AB3E106567A for ; Tue, 16 Dec 2008 20:48:25 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from mail.tcbug.org (mail.tcbug.org [216.243.150.78]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0D18FC2F for ; Tue, 16 Dec 2008 20:48:25 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from roadrash.tcbug.org (c-24-118-145-206.hsd1.mn.comcast.net [24.118.145.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 7314F169E519; Tue, 16 Dec 2008 14:30:23 -0600 (CST) Message-ID: <4948100D.2080004@FreeBSD.org> Date: Tue, 16 Dec 2008 14:31:09 -0600 From: Josh Paetzel User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Andriy Pylypenko References: <4941231E.4050408@sippysoft.com> In-Reply-To: <4941231E.4050408@sippysoft.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: python@FreeBSD.org Subject: Re: Problem with signals in threads in Python 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, 16 Dec 2008 20:48:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andriy Pylypenko wrote: > Hello, > > Almost a year ago I've created an issue in Python's bugtracker but the > issue seems to be stuck since then so I'm sending the patch here in hope > it could be included in ports collection. > > In short there is a problem in the Python that can be seen under FreeBSD > but not under MacOSX or Linux. If a Python program started a thread in > background then it can be impossible to interrupt the program with > Ctrl-C. Here is an example of such script: > *snip* Andriy, We've been using your patch in production for a while now, it works well for us. I've been contemplating including it in the FreeBSD python port, in fact I mailed this list about it about a week before you did. At this point I'm trying to decide if the patch should be optional or not. We know of no reason to make it optional, do you? - -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAklIEA0ACgkQJvkB8SevrsvqVACggnKqZncxjW+YMUtbuSXT8/K+ VakAnjgxg7jc0ZGV/VFE3rQEtWlg8wCd =lPSn -----END PGP SIGNATURE----- From owner-freebsd-python@FreeBSD.ORG Fri Dec 19 18:07:28 2008 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 E0E571065674 for ; Fri, 19 Dec 2008 18:07:28 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 949A78FC28 for ; Fri, 19 Dec 2008 18:07:28 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id mBJHrkBi082786 for ; Fri, 19 Dec 2008 10:53:46 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.3/8.14.3) with ESMTP id mBJHh02d073589; Fri, 19 Dec 2008 10:43:00 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.3/8.14.3/Submit) id mBJHh028073585; Fri, 19 Dec 2008 10:43:00 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18763.56611.984584.166080@gromit.timing.com> Date: Fri, 19 Dec 2008 10:42:59 -0700 From: John Hein To: python@FreeBSD.org X-Mailer: VM 7.19 under Emacs 22.3.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: Subject: imageop.so & rbgimg.so 32BIT_ONLY, not X86_ONLY? 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, 19 Dec 2008 18:07:29 -0000 I just built python on arm and it installed lib-dynload/imageop.so & lib-dynload/rbgimg.so. However, they are marked X86_ONLY in pkg-plist (in all python2x ports). They were installed since the test in setup.py is ... ./setup.py- # Disabled on 64-bit platforms ./setup.py- if sys.maxint != 9223372036854775807L: ./setup.py- # Operations on images ./setup.py: exts.append( Extension('imageop', ['imageop.c']) ) ./setup.py- # Read SGI RGB image files (but coded portably) ./setup.py- exts.append( Extension('rgbimg', ['rgbimgmodule.c']) ) ./setup.py- But arm (well, at least this arm) is 32 bit. It seems python2*/pkg-plist should be changed like so... Index: pkg-plist =================================================================== RCS file: /base/FreeBSD-CVS/ports/lang/python24/pkg-plist,v retrieving revision 1.65 diff -u -p -r1.65 pkg-plist --- pkg-plist 16 Mar 2008 10:25:08 -0000 1.65 +++ pkg-plist 19 Dec 2008 17:34:51 -0000 @@ -568,7 +568,7 @@ lib/lib%%PYTHON_VERSION%%.so.1 %%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/dl.so %%PYTHON_LIBDIR%%/lib-dynload/fcntl.so %%PYTHON_LIBDIR%%/lib-dynload/grp.so -%%X86_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/imageop.so +%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/imageop.so %%PYTHON_LIBDIR%%/lib-dynload/itertools.so %%PYTHON_LIBDIR%%/lib-dynload/math.so %%PYTHON_LIBDIR%%/lib-dynload/md5.so @@ -581,7 +581,7 @@ lib/lib%%PYTHON_VERSION%%.so.1 %%PYTHON_LIBDIR%%/lib-dynload/readline.so %%PYTHON_LIBDIR%%/lib-dynload/regex.so %%PYTHON_LIBDIR%%/lib-dynload/resource.so -%%X86_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/rgbimg.so +%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/rgbimg.so %%PYTHON_LIBDIR%%/lib-dynload/select.so %%PYTHON_LIBDIR%%/lib-dynload/sha.so %%PYTHON_LIBDIR%%/lib-dynload/strop.so From owner-freebsd-python@FreeBSD.ORG Sat Dec 20 15:43:35 2008 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 DF8BE106564A for ; Sat, 20 Dec 2008 15:43:35 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from nexus.in-nomine.org (dhammapada.xs4all.nl [82.95.168.248]) by mx1.freebsd.org (Postfix) with ESMTP id 9D4AB8FC12 for ; Sat, 20 Dec 2008 15:43:35 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from localhost (localhost.domini.in-nomine.org [127.0.0.1]) by nexus.in-nomine.org (Postfix) with ESMTP id 54799C0E8 for ; Sat, 20 Dec 2008 16:26:12 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at in-nomine.org Received: from nexus.in-nomine.org ([127.0.0.1]) by localhost (nexus.domini.in-nomine.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FmjEyZMjistQ for ; Sat, 20 Dec 2008 16:26:11 +0100 (CET) Received: by nexus.in-nomine.org (Postfix, from userid 1000) id 61C77C0DF; Sat, 20 Dec 2008 16:26:11 +0100 (CET) Date: Sat, 20 Dec 2008 16:26:11 +0100 From: Jeroen Ruigrok van der Werven To: python@FreeBSD.org Message-ID: <20081220152611.GA12670@nexus.in-nomine.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Organisation: Ninth Circle Enterprises User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Python 2.6 and _socket undefined symbol 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: Sat, 20 Dec 2008 15:43:36 -0000 On a 7.0-STABLE box I am trying to use Python 2.6's socket library but I get this (trying to run ez_setup.py): import _socket ImportError: /usr/local/lib/python2.6/lib-dynload/_socket.so: Undefined symbol "PyBuffer_Release" Anyone else seeing this? -- Jeroen Ruigrok van der Werven / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B If you're afraid of dyin', then you're holding on. You see devils tearing your life away. But if you have made your peace, then the devils are really angels, freeing you from the earth... From owner-freebsd-python@FreeBSD.ORG Sat Dec 20 17:29:54 2008 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 65CC0106564A for ; Sat, 20 Dec 2008 17:29:54 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id 1ABD48FC19 for ; Sat, 20 Dec 2008 17:29:54 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id 5A315FACF5B0 for ; Sat, 20 Dec 2008 18:09:38 +0100 (CET) Received: from [88.134.74.238] (helo=sushi.pseudo.local) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #273) id 1LE5Kc-0006pd-00 for freebsd-python@freebsd.org; Sat, 20 Dec 2008 18:09:38 +0100 Received: from sushi.pseudo.local (localhost [127.0.0.1]) by sushi.pseudo.local (8.14.3/8.14.3) with ESMTP id mBKH9avJ016077 for ; Sat, 20 Dec 2008 18:09:36 +0100 (CET) (envelope-from tobi@sushi.pseudo.local) Received: (from tobi@localhost) by sushi.pseudo.local (8.14.3/8.14.3/Submit) id mBKH9ah1016076 for freebsd-python@freebsd.org; Sat, 20 Dec 2008 18:09:36 +0100 (CET) (envelope-from tobi) Date: Sat, 20 Dec 2008 18:09:36 +0100 From: Tobias Rehbein To: freebsd-python@freebsd.org Message-ID: <20081220170936.GA15911@sushi.pseudo.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Sender: tobias.rehbein@web.de X-Sender: tobias.rehbein@web.de X-Provags-ID: V01U2FsdGVkX18c9o02xW3HtUQjZarVf5jb2DovDD/snRUb4iZx +dULVx9K/GfkuJfWOhRaMW6S2YBXO7FRL1ONtXc8TLiHaIiEEf Y1WkIA88TSqgXpTNK83g== Subject: When will python 2.6 become FreeBSDs default version? 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: Sat, 20 Dec 2008 17:29:54 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I just wanted to ask if anybody has an idea when python 2.6 will become the= new default version used in FreeBSD (currently python 2.5 is the default versio= n)? I am not subscribed to this list. I would appreciate any direct answers. Regards Tobias --=20 Tobias Rehbein PGP key: 4F2AE314 server: keys.gnupg.net fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314 --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklNJs4ACgkQ6LYxOE8q4xQFTQCbBtAzheVo5qScukfL9QPl7y4F 6mUAoKnbEflSi/XzssWK+6jBWV09Faoa =b7kO -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- From owner-freebsd-python@FreeBSD.ORG Sat Dec 20 17:50:08 2008 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 C1BB51065670 for ; Sat, 20 Dec 2008 17:50:08 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from mail.tcbug.org (mail.tcbug.org [216.243.150.78]) by mx1.freebsd.org (Postfix) with ESMTP id A0EBE8FC23 for ; Sat, 20 Dec 2008 17:50:08 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from roadrash.tcbug.org (ip70-181-6-240.ri.ri.cox.net [70.181.6.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 74483169E45F; Sat, 20 Dec 2008 11:49:19 -0600 (CST) Message-ID: <494D304F.3050907@FreeBSD.org> Date: Sat, 20 Dec 2008 12:50:07 -0500 From: Josh Paetzel User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Jeroen Ruigrok van der Werven References: <20081220152611.GA12670@nexus.in-nomine.org> In-Reply-To: <20081220152611.GA12670@nexus.in-nomine.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: python@FreeBSD.org Subject: Re: Python 2.6 and _socket undefined symbol 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: Sat, 20 Dec 2008 17:50:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeroen Ruigrok van der Werven wrote: > On a 7.0-STABLE box I am trying to use Python 2.6's socket library but I > get this (trying to run ez_setup.py): > > import _socket > ImportError: /usr/local/lib/python2.6/lib-dynload/_socket.so: Undefined > symbol "PyBuffer_Release" > > Anyone else seeing this? > I don't have anything running RELENG_7 natively right now, but I just installed python2.6 in to my RELENG_7 jail on my tinderbox machine and it works fine there. - -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAklNME8ACgkQJvkB8Sevrsu4QgCfT7uiDYj7k18ndnQWqoq0iT5M tY8An1RsVM82JiTgIZddOczlkC0xW1U+ =8Zzt -----END PGP SIGNATURE-----