From owner-freebsd-python@FreeBSD.ORG Sun Mar 6 13:30:25 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E68F9106568F; Sun, 6 Mar 2011 13:30:25 +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 BD7C28FC12; Sun, 6 Mar 2011 13:30:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p26DUPIp031077; Sun, 6 Mar 2011 13:30:25 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p26DUPC5031064; Sun, 6 Mar 2011 13:30:25 GMT (envelope-from edwin) Date: Sun, 6 Mar 2011 13:30:25 GMT Message-Id: <201103061330.p26DUPC5031064@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/155310: [patch] make lang/python27 work on powerpc64 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 13:30:26 -0000 Synopsis: [patch] make lang/python27 work on powerpc64 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Sun Mar 6 13:30:24 UTC 2011 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=155310 From owner-freebsd-python@FreeBSD.ORG Mon Mar 7 11:07:06 2011 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F97C106564A for ; Mon, 7 Mar 2011 11:07:06 +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 E76938FC1E for ; Mon, 7 Mar 2011 11:07:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p27B75hs097034 for ; Mon, 7 Mar 2011 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p27B75Y3097032 for freebsd-python@FreeBSD.org; Mon, 7 Mar 2011 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Mar 2011 11:07:05 GMT Message-Id: <201103071107.p27B75Y3097032@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, 07 Mar 2011 11:07:06 -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/155310 python [patch] make lang/python27 work on powerpc64 o ports/155099 python lang/python*: Not handled "nis_failed.so" file by pyth o ports/154795 python [PATCH] Mk/bsd.python.mk: style changes o ports/154209 python [PATCH] lang/python: Install symlink for ptags o ports/153952 python lang/python26 + pth fails to reconfigure cflags to inc o ports/153167 python Problem with signals, threads, and subprocesses in lan o ports/152886 python databases/py-bsddb fails to build with databases/db51 o ports/152224 python [patch] fix installed permissions for lang/python27 o ports/151534 python lang/python26 + WITH_PTH doesn't install correctly f ports/150184 python cannot install ports/math/py-numpy o ports/149167 python lang/python26 fails to build _ctypes on Sheevaplug (AR o ports/148406 python [PATCH] lang/python26: fix build backage without threa o ports/147291 python lang/python* doesn't compile nis.so when WITHOUT_NIS s o ports/146957 python Mk/bsd.python.mk: PYTHONOPTIMIZE=1 in environ(7) break o ports/146823 python [patch] lang/python26: knob to build _ctypes module ag o ports/146644 python lang/python26: WITH_PTH option breaks most ports depen a ports/144035 python ports/databases/py-sqlite3 does not start to build o ports/140968 python x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4 o ports/136917 python [patch] lang/python26: gettext detection o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken o ports/118301 python devel/py-setuptools easy-install.pth contents lost on o ports/115940 python Missed one file in lang/python25 if NO_NIS defined 22 problems total. From owner-freebsd-python@FreeBSD.ORG Mon Mar 7 16:50:37 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 196BF1065670; Mon, 7 Mar 2011 16:50:37 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E59E48FC13; Mon, 7 Mar 2011 16:50:36 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p27GoaI8029316; Mon, 7 Mar 2011 16:50:36 GMT (envelope-from lwhsu@freefall.freebsd.org) Received: (from lwhsu@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p27GoasW029307; Mon, 7 Mar 2011 16:50:36 GMT (envelope-from lwhsu) Date: Mon, 7 Mar 2011 16:50:36 GMT Message-Id: <201103071650.p27GoasW029307@freefall.freebsd.org> To: lwhsu@FreeBSD.org, freebsd-python@FreeBSD.org, andreast@FreeBSD.org From: lwhsu@FreeBSD.org Cc: Subject: Re: ports/155310: [patch] make lang/python27 work on powerpc64 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, 07 Mar 2011 16:50:37 -0000 Synopsis: [patch] make lang/python27 work on powerpc64 Responsible-Changed-From-To: freebsd-python->andreast Responsible-Changed-By: lwhsu Responsible-Changed-When: Mon Mar 7 16:50:36 UTC 2011 Responsible-Changed-Why: We don't have powerpc64 hardware currently, please commit it if you've tested. Thanks very much! http://www.freebsd.org/cgi/query-pr.cgi?pr=155310 From owner-freebsd-python@FreeBSD.ORG Tue Mar 8 15:40:12 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7082B106566C for ; Tue, 8 Mar 2011 15:40:12 +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 163018FC08 for ; Tue, 8 Mar 2011 15:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p28Fe7px069701 for ; Tue, 8 Mar 2011 15:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p28Fe7e3069700; Tue, 8 Mar 2011 15:40:07 GMT (envelope-from gnats) Date: Tue, 8 Mar 2011 15:40:07 GMT Message-Id: <201103081540.p28Fe7e3069700@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Nicola Vitale 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: Nicola Vitale List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2011 15:40:12 -0000 The following reply was made to PR ports/118301; it has been noted by GNATS. From: Nicola Vitale To: Douglas William Thrift Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/118301: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it Date: Tue, 8 Mar 2011 16:05:30 +0100 Hi, > [2007/11/28 Douglas William Thrift ] >>Synopsis: =A0 =A0 =A0 devel/py-setuptools easy-install.pth contents lost = on upgrade clobbering ports using it The following patch should solve the issue: http://people.freebsd.org/~nivit/diffs/py-setuptools.txt --=20 Nicola Vitale From owner-freebsd-python@FreeBSD.ORG Tue Mar 8 17:20:13 2011 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F2E3106566C for ; Tue, 8 Mar 2011 17:20:13 +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 0BEED8FC1C for ; Tue, 8 Mar 2011 17:20:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p28HKCD2065338 for ; Tue, 8 Mar 2011 17:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p28HKCSL065337; Tue, 8 Mar 2011 17:20:12 GMT (envelope-from gnats) Date: Tue, 8 Mar 2011 17:20:12 GMT Message-Id: <201103081720.p28HKCSL065337@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Douglas Thrift 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: Douglas Thrift List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2011 17:20:13 -0000 The following reply was made to PR ports/118301; it has been noted by GNATS. From: Douglas Thrift To: Nicola Vitale Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/118301: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it Date: Tue, 08 Mar 2011 08:44:51 -0800 On 3/8/2011 7:05 AM, Nicola Vitale wrote: > Hi, > >> [2007/11/28 Douglas William Thrift ] >>> Synopsis: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it > > The following patch should solve the issue: > > http://people.freebsd.org/~nivit/diffs/py-setuptools.txt > Awesome! The patch looks good to me, and it makes me think: "why didn't I think of that?" Thanks! -- Douglas William Thrift From owner-freebsd-python@FreeBSD.ORG Wed Mar 9 01:12:00 2011 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5A9F1065670 for ; Wed, 9 Mar 2011 01:12:00 +0000 (UTC) (envelope-from steffenbeyer@windit.de) Received: from mail.windit.de (mail.windit.de [178.63.133.156]) by mx1.freebsd.org (Postfix) with ESMTP id 66AB98FC0C for ; Wed, 9 Mar 2011 01:12:00 +0000 (UTC) Received: from mail.windit.de (localhost [127.0.0.1]) by mail.windit.de (Postfix) with ESMTP id BA6F0512386 for ; Wed, 9 Mar 2011 01:53:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bronco.windit.de X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 Received: from [10.213.5.149] (p5DD3F389.dip.t-dialin.net [93.211.243.137]) by mail.windit.de (Postfix) with ESMTPSA for ; Wed, 9 Mar 2011 01:53:16 +0100 (CET) Date: Wed, 9 Mar 2011 01:53:13 +0100 From: Steffen Beyer To: freebsd-python@freebsd.org Message-ID: <20110309015313891650.33a231fb@windit.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: WINDIT GbR X-Mailer: GyazMail version 1.5.10 Subject: socket.settimeout breaks HTTP server X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 01:12:00 -0000 Hi, after some debugging of a WebDAV server (trytond), dropping connections shortly after accepting them, I found the issue: class BaseThreadedHTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer): def server_bind(self): # Python < 2.6 doesn't handle self.timeout self.socket.settimeout(1) (http://hg2.tryton.org/trytond/file/28c6cc9fe39f/trytond/protocols/webdav.py#l83) It runs fine after removing the call to "settimeout". The value does not seem to make a difference. I guess, this works for other OSs as the software is in production. It fails however in a FreeBSD 8.1 jail. What's the cause of the problem? How can I fix it without breaking it for other people? Kind regards, -- Steffen Beyer WINDIT GmbH Holtenauer Str. 57 24105 Kiel Fon: +49 (0)431 556 8342-0 Fax: +49 (0)431 556 8342-9 Web: http://www.windit.de From owner-freebsd-python@FreeBSD.ORG Fri Mar 11 16:04:19 2011 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34D181065673 for ; Fri, 11 Mar 2011 16:04:19 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id E2D7D8FC12 for ; Fri, 11 Mar 2011 16:04:18 +0000 (UTC) Received: by yxl31 with SMTP id 31so1383785yxl.13 for ; Fri, 11 Mar 2011 08:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer; bh=g+kf4WiQ+QoBRrI4NhgCcNtS18sBOIYGPba83CI4UfQ=; b=NMM2wXqM0cu50TLZYf/dGWr4J9jvLttRflG6QhgAstQg5Uz7NiFFvQ5ZuixS0fCPXI vH2sI/4ofOtQka6dan/k6j2Cn7ZbNaaguWUDUFzHunATHpmnwvQyfPOid89DuhaZf5TB MOqyBO9FKO/QNaMA6R4bfusiz1AedsNvnaUKs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=oqUg+AOzLe28wxniEGgiI1AbC5eumjpXoZ+1FXddQDWN2QhhxEh7fOptsq9yliT1GZ gth5Lf0bc0dt6zU414SMzcYc5NOTle1JdO/yvFgdxlLSAWvrOye/Y7M4zooxSwW4HFCm tdoo7uwfmZr/gV6NkmuLiwUbBUxHFU9nGwHAk= Received: by 10.236.78.69 with SMTP id f45mr3094716yhe.268.1299857968513; Fri, 11 Mar 2011 07:39:28 -0800 (PST) Received: from ivoire.paulbeard.org (174-31-130-163.tukw.qwest.net [174.31.130.163]) by mx.google.com with ESMTPS id n56sm3011971yhn.7.2011.03.11.07.39.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2011 07:39:27 -0800 (PST) From: Paul Beard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Mar 2011 07:39:24 -0800 Message-Id: To: python@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Cc: Subject: 2.6->2.7 gripes? 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, 11 Mar 2011 16:04:19 -0000 I never could find or use the site packages updater or get = portupgrade/portmaster to work so I had to devise this craptacular = updater:=20 for i in `ls /var/db/pkg/py26* | grep py26- | sed -e s/py26/py/g | sed = -e s#/var/db/pkg/##g | sed -e s/-[0-9]\.*//g`; do cd /usr/ports/*/$i; = make deinstall; make clean; make reinstall ; done=20 Note the craftsman-like attention to error handling and graceful design. = I hope it worked . . . .=20 So where would I find the updater?=20 -- Paul Beard Are you trying to win an argument or solve a problem?=20