From owner-freebsd-python@FreeBSD.ORG Mon Oct 20 11:06:57 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 5DFE51065676 for ; Mon, 20 Oct 2008 11:06:57 +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 4B8048FC2D for ; Mon, 20 Oct 2008 11:06:57 +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 m9KB6vno082772 for ; Mon, 20 Oct 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9KB6uEk082768 for freebsd-python@FreeBSD.org; Mon, 20 Oct 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Oct 2008 11:06:56 GMT Message-Id: <200810201106.m9KB6uEk082768@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-python@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 11:06:57 -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/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 o ports/126891 python New port: devel/py-wsgi_xmlrpc, WSGI application for a 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/124729 python lang/python25 - Python 2.5 fails in building a package 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 16 problems total. From owner-freebsd-python@FreeBSD.ORG Mon Oct 20 11:08:04 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 1E08F106566B for ; Mon, 20 Oct 2008 11:08:04 +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 E67AF8FC39 for ; Mon, 20 Oct 2008 11:08:03 +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 m9KB83sp084091 for ; Mon, 20 Oct 2008 11:08:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9KB83ba084087 for python@FreeBSD.org; Mon, 20 Oct 2008 11:08:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Oct 2008 11:08:03 GMT Message-Id: <200810201108.m9KB83ba084087@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: python@FreeBSD.org Cc: Subject: Current problem reports assigned to python@FreeBSD.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 11:08:04 -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/127924 python [UPDATE] devel/py-setuptools to 0.6c9 1 problem total. From owner-freebsd-python@FreeBSD.ORG Mon Oct 20 15:20:04 2008 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 588951065681 for ; Mon, 20 Oct 2008 15:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4679F8FC16 for ; Mon, 20 Oct 2008 15:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9KFK3Er007119 for ; Mon, 20 Oct 2008 15:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9KFK3lE007118; Mon, 20 Oct 2008 15:20:03 GMT (envelope-from gnats) Date: Mon, 20 Oct 2008 15:20:03 GMT Message-Id: <200810201520.m9KFK3lE007118@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Velko Ivanov Cc: Subject: Re: ports/118301: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Velko Ivanov List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 15:20:04 -0000 The following reply was made to PR ports/118301; it has been noted by GNATS. From: Velko Ivanov To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/118301: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it Date: Mon, 20 Oct 2008 17:59:32 +0300 I just hit the same thing and it fried all our Trac sites .. very unpleasant Somewhat quicker workaround - edit /usr/local/lib/pythonX.X/easy-install.pth and add the names of all directories under /usr/local/lib/pythonX.X/, that end in .egg For our setup after update easy-install.pth contains: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c9-py2.5.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) should be: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c9-py2.5.egg ./Trac-0.11.1-py2.5.egg ./Genshi-0.5.1-py2.5-freebsd-7.0-STABLE-amd64.egg ./Pygments-0.11.1-py2.5.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) From owner-freebsd-python@FreeBSD.ORG Fri Oct 24 14:50:11 2008 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 66CFE1065673; Fri, 24 Oct 2008 14:50:11 +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 3D8568FC24; Fri, 24 Oct 2008 14:50:11 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9OEoBFH076737; Fri, 24 Oct 2008 14:50:11 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9OEoBJl076733; Fri, 24 Oct 2008 14:50:11 GMT (envelope-from edwin) Date: Fri, 24 Oct 2008 14:50:11 GMT Message-Id: <200810241450.m9OEoBJl076733@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/128343: math/py-numeric17 is no longer needed X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 14:50:11 -0000 Synopsis: math/py-numeric17 is no longer needed Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Oct 24 14:50:10 UTC 2008 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=128343 From owner-freebsd-python@FreeBSD.ORG Fri Oct 24 16:10:18 2008 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 28E75106566C; Fri, 24 Oct 2008 16:10:18 +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 F36778FC21; Fri, 24 Oct 2008 16:10:17 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9OGAHKH036066; Fri, 24 Oct 2008 16:10:17 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9OGAHWp036056; Fri, 24 Oct 2008 16:10:17 GMT (envelope-from edwin) Date: Fri, 24 Oct 2008 16:10:17 GMT Message-Id: <200810241610.m9OGAHWp036056@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/128350: New port: math/py-numeric23 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 16:10:18 -0000 Synopsis: New port: math/py-numeric23 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Oct 24 16:10:17 UTC 2008 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=128350 From owner-freebsd-python@FreeBSD.ORG Fri Oct 24 16:33:33 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 DA7D31065674 for ; Fri, 24 Oct 2008 16:33:33 +0000 (UTC) (envelope-from bambyster@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 695258FC23 for ; Fri, 24 Oct 2008 16:33:33 +0000 (UTC) (envelope-from bambyster@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so212557uge.39 for ; Fri, 24 Oct 2008 09:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=Q47kgclTEAmULo2jMGd0k3CANaO6htkGNs3gAhMO/es=; b=mj6iSD8djFqBIyjWNWSDQVfViB4LUDttuo3gJ4EcaOjkI8MyAaVj5KXfdFSn/W+gmu vsJDNyWnohVAlqMpVgNLH68WeRW8K3X62iTNcF5uJcBj4BZD9wVxPKX5aEFog8NjsKqL lLYRet26ebstc1Xp9mpGw5Haq4mrWGSBAjWxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=GyIIErcydtwAMdzS3m/WfmA0vTRuP5DzIj8Oc1ZOHj9shccObaLsCnQyQ64UnuQAPG 93u9HFmn9yjdZciIn+LA8E8gABDCvMkvHfyNHfpDCfMs0rMSJ1LXuxWdiLyRLD7Gfzhp XJfFl/zgaMON6Aq4R32Hh8Rj3mafY0lZ9FzLE= Received: by 10.180.239.7 with SMTP id m7mr905517bkh.163.1224864653327; Fri, 24 Oct 2008 09:10:53 -0700 (PDT) Received: from sempron.sippysoft.com (212.9.228.2.iptelecom.net.ua [212.9.228.2]) by mx.google.com with ESMTPS id l19sm815827fgb.7.2008.10.24.09.10.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Oct 2008 09:10:52 -0700 (PDT) Message-ID: <4901F389.3060901@gmail.com> Date: Fri, 24 Oct 2008 19:10:49 +0300 From: Andriy Pylypenko User-Agent: Thunderbird 2.0.0.16 (X11/20080801) MIME-Version: 1.0 To: python@FreeBSD.org Content-Type: multipart/mixed; boundary="------------020605000400080601090305" Cc: Subject: Python 2.4+ and signals X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 16:33:33 -0000 This is a multi-part message in MIME format. --------------020605000400080601090305 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, Early this year I've reported to the Python developers a problem in Python that has been triggered by peculiarities of processing of signals in FreeBSD together with a third party patch committed to the Python 2.4 ( http://bugs.python.org/issue960406 ). The detailed description of the problem with example script and patch you can find here: http://bugs.python.org/issue1975 Anyway the issue has stuck since then so I'm submitting the patch here so it can be included in the FreeBSD Python ports. P.S. Just in case I've attached the patch to this message. The patch is compatible with all versions of Python from 2.4 through 3.0. -- Kind regards, Andriy Pylypenko Development Lead Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com --------------020605000400080601090305 Content-Type: text/x-patch; name="pthread_sig.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pthread_sig.diff" Index: Python/thread_pthread.h =================================================================== --- Python/thread_pthread.h (revision 60447) +++ Python/thread_pthread.h (working copy) @@ -149,6 +149,7 @@ { pthread_t th; int status; + sigset_t set, oset; #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) pthread_attr_t attrs; #endif @@ -178,6 +179,8 @@ pthread_attr_setscope(&attrs, PTHREAD_SCOPE_SYSTEM); #endif + sigfillset(&set); + SET_THREAD_SIGMASK(SIG_BLOCK, &set, &oset); status = pthread_create(&th, #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) &attrs, @@ -187,6 +190,7 @@ (void* (*)(void *))func, (void *)arg ); + SET_THREAD_SIGMASK(SIG_SETMASK, &oset, NULL); #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) pthread_attr_destroy(&attrs); --------------020605000400080601090305-- From owner-freebsd-python@FreeBSD.ORG Fri Oct 24 16:34:47 2008 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 4C6D510656C7; Fri, 24 Oct 2008 16:34:47 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 24C488FC18; Fri, 24 Oct 2008 16:34:47 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (miwi@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9OGYldd065970; Fri, 24 Oct 2008 16:34:47 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9OGYl2l065966; Fri, 24 Oct 2008 16:34:47 GMT (envelope-from miwi) Date: Fri, 24 Oct 2008 16:34:47 GMT Message-Id: <200810241634.m9OGYl2l065966@freefall.freebsd.org> To: miwi@FreeBSD.org, freebsd-python@FreeBSD.org, miwi@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: ports/128350: New port: math/py-numeric23 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 16:34:47 -0000 Synopsis: New port: math/py-numeric23 Responsible-Changed-From-To: freebsd-python->miwi Responsible-Changed-By: miwi Responsible-Changed-When: Fri Oct 24 16:34:46 UTC 2008 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=128350 From owner-freebsd-python@FreeBSD.ORG Fri Oct 24 16:35:05 2008 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 B6A781065672; Fri, 24 Oct 2008 16:35:05 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DC7F8FC0C; Fri, 24 Oct 2008 16:35:05 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from freefall.freebsd.org (miwi@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9OGZ5M2066061; Fri, 24 Oct 2008 16:35:05 GMT (envelope-from miwi@freefall.freebsd.org) Received: (from miwi@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9OGZ5ge066057; Fri, 24 Oct 2008 16:35:05 GMT (envelope-from miwi) Date: Fri, 24 Oct 2008 16:35:05 GMT Message-Id: <200810241635.m9OGZ5ge066057@freefall.freebsd.org> To: miwi@FreeBSD.org, freebsd-python@FreeBSD.org, miwi@FreeBSD.org From: miwi@FreeBSD.org Cc: Subject: Re: ports/128343: math/py-numeric17 is no longer needed X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 16:35:05 -0000 Synopsis: math/py-numeric17 is no longer needed Responsible-Changed-From-To: freebsd-python->miwi Responsible-Changed-By: miwi Responsible-Changed-When: Fri Oct 24 16:35:05 UTC 2008 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=128343