From owner-freebsd-python@FreeBSD.ORG Mon Jun 21 03:10:19 2010 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 43E281065672; Mon, 21 Jun 2010 03:10:19 +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 1AB4A8FC08; Mon, 21 Jun 2010 03:10:19 +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 o5L3AIOS050460; Mon, 21 Jun 2010 03:10:18 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5L3AIpX050454; Mon, 21 Jun 2010 03:10:18 GMT (envelope-from edwin) Date: Mon, 21 Jun 2010 03:10:18 GMT Message-Id: <201006210310.o5L3AIpX050454@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/148026: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 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, 21 Jun 2010 03:10:19 -0000 Synopsis: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Mon Jun 21 03:10:18 UTC 2010 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=148026 From owner-freebsd-python@FreeBSD.ORG Mon Jun 21 03:10:23 2010 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 50CC0106566C; Mon, 21 Jun 2010 03:10:23 +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 2827E8FC18; Mon, 21 Jun 2010 03:10:23 +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 o5L3ANai050900; Mon, 21 Jun 2010 03:10:23 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5L3ANEF050896; Mon, 21 Jun 2010 03:10:23 GMT (envelope-from edwin) Date: Mon, 21 Jun 2010 03:10:23 GMT Message-Id: <201006210310.o5L3ANEF050896@freefall.freebsd.org> To: snabb@epipe.com, edwin@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/148026: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 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, 21 Jun 2010 03:10:23 -0000 Synopsis: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 State-Changed-From-To: open->feedback State-Changed-By: edwin State-Changed-When: Mon Jun 21 03:10:22 UTC 2010 State-Changed-Why: Awaiting maintainers feedback (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=148026 From owner-freebsd-python@FreeBSD.ORG Mon Jun 21 03:20:05 2010 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 5625F1065672 for ; Mon, 21 Jun 2010 03:20:05 +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 44E0B8FC1F for ; Mon, 21 Jun 2010 03:20: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 o5L3K5Et059221 for ; Mon, 21 Jun 2010 03:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5L3K5Lu059220; Mon, 21 Jun 2010 03:20:05 GMT (envelope-from gnats) Date: Mon, 21 Jun 2010 03:20:05 GMT Message-Id: <201006210320.o5L3K5Lu059220@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Edwin Groothuis Cc: Subject: Re: ports/148026: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 03:20:05 -0000 The following reply was made to PR ports/148026; it has been noted by GNATS. From: Edwin Groothuis To: neal@nelson.name Cc: bug-followup@FreeBSD.org Subject: Re: ports/148026: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 Date: Mon, 21 Jun 2010 03:10:20 UT Maintainer of security/py-twistedConch, Please note that PR ports/148026 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/148026 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org From owner-freebsd-python@FreeBSD.ORG Mon Jun 21 06:50:04 2010 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 6BEF9106566B for ; Mon, 21 Jun 2010 06:50: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 5B0658FC12 for ; Mon, 21 Jun 2010 06:50:04 +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 o5L6o4Cm048818 for ; Mon, 21 Jun 2010 06:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5L6o4gj048817; Mon, 21 Jun 2010 06:50:04 GMT (envelope-from gnats) Date: Mon, 21 Jun 2010 06:50:04 GMT Message-Id: <201006210650.o5L6o4gj048817@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Neal Nelson Cc: Subject: Re: ports/148026: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Neal Nelson List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 06:50:04 -0000 The following reply was made to PR ports/148026; it has been noted by GNATS. From: Neal Nelson To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/148026: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 Date: Mon, 21 Jun 2010 08:40:33 +0200 Please go ahead with this patch. I've been meaning to submit it myself for some time but have been too busy. On 2010-06-21, at 05:10 , Edwin Groothuis wrote: > Maintainer of security/py-twistedConch, > > Please note that PR ports/148026 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/148026 > > -- > Edwin Groothuis via the GNATS Auto Assign Tool > edwin@FreeBSD.org > > !DSPAM:4c1ed888990301157644535! > From owner-freebsd-python@FreeBSD.ORG Mon Jun 21 06:56:59 2010 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 0483C106566B; Mon, 21 Jun 2010 06:56:59 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CFC828FC19; Mon, 21 Jun 2010 06:56:58 +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 o5L6uw5P056868; Mon, 21 Jun 2010 06:56:58 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5L6uw39056864; Mon, 21 Jun 2010 06:56:58 GMT (envelope-from linimon) Date: Mon, 21 Jun 2010 06:56:58 GMT Message-Id: <201006210656.o5L6uw39056864@freefall.freebsd.org> To: neal@nelson.name, snabb@epipe.com, linimon@FreeBSD.org, freebsd-python@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/148026: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 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, 21 Jun 2010 06:56:59 -0000 Synopsis: [PATCH] security/py-twistedConch: missing run depedency for py-asn1 State-Changed-From-To: feedback->open State-Changed-By: linimon State-Changed-When: Mon Jun 21 06:56:50 UTC 2010 State-Changed-Why: Maintainer approved. http://www.freebsd.org/cgi/query-pr.cgi?pr=148026 From owner-freebsd-python@FreeBSD.ORG Mon Jun 21 09:50:14 2010 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 5F59C106566C; Mon, 21 Jun 2010 09:50:14 +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 370E38FC0A; Mon, 21 Jun 2010 09:50:14 +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 o5L9oEwf029970; Mon, 21 Jun 2010 09:50:14 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5L9oEp4029962; Mon, 21 Jun 2010 09:50:14 GMT (envelope-from edwin) Date: Mon, 21 Jun 2010 09:50:14 GMT Message-Id: <201006210950.o5L9oEp4029962@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/148033: Maintainer Update: www/py-django-threaded-multihost 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, 21 Jun 2010 09:50:14 -0000 Synopsis: Maintainer Update: www/py-django-threaded-multihost Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Mon Jun 21 09:50:13 UTC 2010 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=148033 From owner-freebsd-python@FreeBSD.ORG Mon Jun 21 11:07:02 2010 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 920401065675 for ; Mon, 21 Jun 2010 11:07:02 +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 66A7E8FC1C for ; Mon, 21 Jun 2010 11:07:02 +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 o5LB72XT098353 for ; Mon, 21 Jun 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5LB71gi098351 for freebsd-python@FreeBSD.org; Mon, 21 Jun 2010 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Jun 2010 11:07:01 GMT Message-Id: <201006211107.o5LB71gi098351@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, 21 Jun 2010 11:07:02 -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/148033 python Maintainer Update: www/py-django-threaded-multihost o ports/148026 python [PATCH] security/py-twistedConch: missing run depedenc o ports/147784 python [REPOCOPY] lang/python26 --> lang/python27 o ports/147665 python update for www/py-pylons o ports/147641 python [new port] misc/py-xdelta3 f ports/147450 python Update port: databases/py-south Upgrading to version o ports/147291 python lang/python* doesn't compile nis.so when WITHOUT_NIS s o ports/147051 python [patch] update devel/py-ctypes to 1.02 and adjust supp 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 f ports/145460 python Unable to build /usr/ports/net-p2p/py-bittorrent-core o ports/145276 python new port x11-toolkits/py-pyside o ports/144872 python lang/python25: Python 2.5 uname() broken o ports/144419 python Update port: textproc/py-xmltools Fix the broken port o ports/144335 python [PATCH] www/py-webhelpers does not use PYTHONPREFIX_SI a ports/144035 python ports/databases/py-sqlite3 does not start to build f ports/142440 python New Port: databases/py-south0.6 o ports/141133 python [NEW PORT] net-p2p/py-transmissionrpc o ports/136917 python [patch] lang/python26: gettext detection o ports/133081 python [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken 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 24 problems total. From owner-freebsd-python@FreeBSD.ORG Wed Jun 23 11:20:16 2010 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 8CC0F1065670; Wed, 23 Jun 2010 11:20:16 +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 640918FC1E; Wed, 23 Jun 2010 11:20:16 +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 o5NBKGOm052283; Wed, 23 Jun 2010 11:20:16 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5NBKGNg052273; Wed, 23 Jun 2010 11:20:16 GMT (envelope-from edwin) Date: Wed, 23 Jun 2010 11:20:16 GMT Message-Id: <201006231120.o5NBKGNg052273@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/148088: [MAINTAINER] databases/py-pylibmc: update to 1.1.1 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, 23 Jun 2010 11:20:16 -0000 Synopsis: [MAINTAINER] databases/py-pylibmc: update to 1.1.1 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Wed Jun 23 11:20:15 UTC 2010 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=148088 From owner-freebsd-python@FreeBSD.ORG Thu Jun 24 18:39:20 2010 Return-Path: Delivered-To: python@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id C847F1065674; Thu, 24 Jun 2010 18:39:12 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: python@FreeBSD.org Date: Thu, 24 Jun 2010 14:38:55 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006241438.57414.jkim@FreeBSD.org> Cc: perky@FreeBSD.org Subject: [PATCH] ioctl(2) fixes for 64-bit platforms X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 18:39:20 -0000 Python handles ioctl(2) strangely and causes warnings on 64-bit platforms. The analysis was originally posted here: http://docs.freebsd.org/cgi/mid.cgi?201006231708.40032.jkim Now I made more complete patch for all Python ports and it is available from here: http://people.freebsd.org/~jkim/python-fcntlmodule.diff Note I also fixed a Linuxism of fcntl(2) for python31. They use 'long' for the optional third argument of fcntl() unlike POSIX and *BSD. It's okay for little-endian or 32-bit platforms but I guess it is bad for big-endian LP64 machines. While I was here, I updated test cases of ioctl() for all Python ports. I also added FreeBSD -CURRENT for python31 but I didn't bother test cases of older releases. :-) Please review the patch. Thanks, Jung-uk Kim From owner-freebsd-python@FreeBSD.ORG Fri Jun 25 02:49:42 2010 Return-Path: Delivered-To: python@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 990741065670; Fri, 25 Jun 2010 02:49:42 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: python@FreeBSD.org Date: Thu, 24 Jun 2010 22:49:33 -0400 User-Agent: KMail/1.6.2 References: <201006241438.57414.jkim@FreeBSD.org> In-Reply-To: <201006241438.57414.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006242249.36828.jkim@FreeBSD.org> Cc: perky@FreeBSD.org Subject: Re: [PATCH] ioctl(2) fixes for 64-bit platforms 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, 25 Jun 2010 02:49:42 -0000 On Thursday 24 June 2010 02:38 pm, Jung-uk Kim wrote: > Python handles ioctl(2) strangely and causes warnings on 64-bit > platforms. The analysis was originally posted here: > > http://docs.freebsd.org/cgi/mid.cgi?201006231708.40032.jkim > > Now I made more complete patch for all Python ports and it is > available from here: > > http://people.freebsd.org/~jkim/python-fcntlmodule.diff I have updated the patch: http://people.freebsd.org/~jkim/python-fcntlmodule2.diff > Note I also fixed a Linuxism of fcntl(2) for python31. They use > 'long' for the optional third argument of fcntl() unlike POSIX and > *BSD. It's okay for little-endian or 32-bit platforms but I guess > it is bad for big-endian LP64 machines. I think it was my mis-understanding as it doesn't pass the pointer, withdrawn. > While I was here, I updated test cases of ioctl() for all Python > ports. I also added FreeBSD -CURRENT for python31 but I didn't > bother test cases of older releases. :-) Now the new patch is much simpler and it should be upstream-worthy, I think. Jung-uk Kim From owner-freebsd-python@FreeBSD.ORG Fri Jun 25 17:40:17 2010 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 BC603106566B; Fri, 25 Jun 2010 17:40:17 +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 941F18FC1D; Fri, 25 Jun 2010 17:40:17 +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 o5PHeHde062047; Fri, 25 Jun 2010 17:40:17 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5PHeHqi062037; Fri, 25 Jun 2010 17:40:17 GMT (envelope-from edwin) Date: Fri, 25 Jun 2010 17:40:17 GMT Message-Id: <201006251740.o5PHeHqi062037@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/148146: New Port:: devel/py-tsearchpath 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, 25 Jun 2010 17:40:17 -0000 Synopsis: New Port:: devel/py-tsearchpath Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Jun 25 17:40:17 UTC 2010 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=148146 From owner-freebsd-python@FreeBSD.ORG Fri Jun 25 18:10:04 2010 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 A47861065672 for ; Fri, 25 Jun 2010 18:10: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 7A9C58FC13 for ; Fri, 25 Jun 2010 18:10:04 +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 o5PIA4aD086351 for ; Fri, 25 Jun 2010 18:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5PIA4Xw086349; Fri, 25 Jun 2010 18:10:04 GMT (envelope-from gnats) Date: Fri, 25 Jun 2010 18:10:04 GMT Message-Id: <201006251810.o5PIA4Xw086349@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Tim Daneliuk Cc: Subject: Re: ports/148146: New Port:: devel/py-tsearchpath X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tim Daneliuk List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 18:10:04 -0000 The following reply was made to PR ports/148146; it has been noted by GNATS. From: Tim Daneliuk To: bug-followup@FreeBSD.org, tsearchpath@tundraware.com Cc: Subject: Re: ports/148146: New Port:: devel/py-tsearchpath Date: Fri, 25 Jun 2010 13:01:30 -0500 Ooops .... last minute change to the tarball. Here is new distinfo: MD5 (py-tsearchpath-1.108.tar.gz) = 4cf60abcfc353758d6e2667dd1daa530 SHA256 (py-tsearchpath-1.108.tar.gz) = 38871a4aaf1260eec9274274c93722127c5896a826a01c706e135890e0b2f68f SIZE (py-tsearchpath-1.108.tar.gz) = 90315 From owner-freebsd-python@FreeBSD.ORG Fri Jun 25 21:10:21 2010 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 83AD110656E0; Fri, 25 Jun 2010 21:10:21 +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 53AA58FC1F; Fri, 25 Jun 2010 21:10:21 +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 o5PLAKJ3069405; Fri, 25 Jun 2010 21:10:20 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5PLAKNR069394; Fri, 25 Jun 2010 21:10:20 GMT (envelope-from edwin) Date: Fri, 25 Jun 2010 21:10:20 GMT Message-Id: <201006252110.o5PLAKNR069394@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-python@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/148148: databases/py-postgresql: update to 1.0.1 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, 25 Jun 2010 21:10:21 -0000 Synopsis: databases/py-postgresql: update to 1.0.1 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python Responsible-Changed-By: edwin Responsible-Changed-When: Fri Jun 25 21:10:20 UTC 2010 Responsible-Changed-Why: freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=148148 From owner-freebsd-python@FreeBSD.ORG Sat Jun 26 09:13:02 2010 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 98BE4106564A for ; Sat, 26 Jun 2010 09:13:02 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from goat.gigo.com (ipv6.gigo.com [IPv6:2001:470:1:18::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7843B8FC14 for ; Sat, 26 Jun 2010 09:13:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by goat.gigo.com (Postfix) with ESMTP id 7421A5C6D for ; Sat, 26 Jun 2010 02:13:02 -0700 (PDT) Received: from goat.gigo.com ([127.0.0.1]) by localhost (vette.gigo.com [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id Yfo6J-0BF4nG for ; Sat, 26 Jun 2010 02:13:02 -0700 (PDT) Received: from 189.72.155.250 (189-72-155-250.bsace702.dsl.brasiltelecom.net.br [189.72.155.250]) by goat.gigo.com (Postfix) with ESMTPSA id 6CF085C7A for ; Sat, 26 Jun 2010 02:13:01 -0700 (PDT) Received: (qmail 82644 invoked from network); 26 Jun 2010 06:09:39 -0300 Received: from unknown (HELO exxodus.fedaykin.here) (127.0.0.1) by exxodus.fedaykin.here with SMTP; 26 Jun 2010 06:09:39 -0300 Message-ID: <4C25C3D3.3030109@FreeBSD.org> Date: Sat, 26 Jun 2010 06:09:39 -0300 From: Mario Sergio Fujikawa Ferreira User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; pt-BR; rv:1.9.1.10) Gecko/20100622 Thunderbird/3.0.5 MIME-Version: 1.0 To: Jung-uk Kim References: <20100623025855.82916.qmail@exxodus.fedaykin.here> <201006231708.40032.jkim@FreeBSD.org> <20100625085404.94155.qmail@exxodus.fedaykin.here> <201006251758.56393.jkim@FreeBSD.org> (sfid-20100625_19270_E0B8159B) In-Reply-To: <201006251758.56393.jkim@FreeBSD.org> (sfid-20100625_19270_E0B8159B) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: d@delphij.net, freebsd-stable@FreeBSD.org, python@FreeBSD.org Subject: Re: FreeBSD 8.1-PRERELEASE: WARNING ioctl sign-extension ioctl ffffffff8004667e 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, 26 Jun 2010 09:13:02 -0000 On 25/06/2010 18:58, Jung-uk Kim wrote: > On Friday 25 June 2010 04:54 am, Mario Sergio Fujikawa Ferreira wrote: >> On Wed, Jun 23, 2010 at 05:08:38PM -0400, Jung-uk Kim wrote: >>> Date: Wed, 23 Jun 2010 17:08:38 -0400 >>> From: Jung-uk Kim >>> To: freebsd-stable@FreeBSD.org >>> Cc: d@delphij.net, Mario Sergio Fujikawa Ferreira >>> Subject: Re: FreeBSD 8.1-PRERELEASE: WARNING >>> ioctl sign-extension ioctl ffffffff8004667e >>> User-Agent: KMail/1.6.2 >>> >>> On Wednesday 23 June 2010 03:38 pm, Jung-uk Kim wrote: >>>> On Wednesday 23 June 2010 03:10 pm, Jung-uk Kim wrote: >>>>> On Wednesday 23 June 2010 03:01 pm, Jung-uk Kim wrote: >>>>>> On Wednesday 23 June 2010 02:41 pm, Xin LI wrote: >>>>>>> On 2010/06/23 11:37, Jung-uk Kim wrote: >>>>>>>> On Wednesday 23 June 2010 02:12 pm, Xin LI wrote: >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> On 2010/06/22 19:58, Mario Sergio Fujikawa Ferreira > wrote: >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I am getting more than 4 thousand of the following >>>>>>>>>> messages a day: >>>>>>>>>> >>>>>>>>>> WARNING pid 24509 (python2.6): ioctl sign-extension >>>>>>>>>> ioctl ffffffff8004667e >>>>>>>>> >>>>>>>>> [...] >>>>>>>>> >>>>>>>>> I think we may need to check the code and patch it. >>>>>>>>> Basically this means that python (or some .so modules) >>>>>>>>> passed an int or unsigned int as parameter 'cmd', we >>>>>>>>> need to change it to unsigned long. >>>>>>>>> >>>>>>>>> The warning itself should be harmless to my best of >>>>>>>>> knowledge, one can probably remove the printf in >>>>>>>>> kernel source code as a workaround. >>>>>>>>> >>>>>>>>> By the way it seems to be a POSIX violation and we >>>>>>>>> didn't seem to really use so wide cmd, but I have not >>>>>>>>> yet verified everything myself. >>>>>>>> >>>>>>>> Long time ago, I had a similar problem with termios >>>>>>>> TIOCGWINSZ and we patched the port like this: >>>>>>>> >>>>>>>> http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/python >>>>>>>> /fil es /A tt >>>>>>>> ic/patch-Modules%3A%3Afcntlmodule.c?rev=1.1;content-typ >>>>>>>> e=te xt %2 Fpl ain >>>>>>>> >>>>>>>> I believe it was upstream patched at the time but I >>>>>>>> won't be surprised if something similar was >>>>>>>> reintroduced. It happens when a Python internal >>>>>>>> integer type is converted to a native unsigned long. >>>>>>> >>>>>>> Well, only *BSD have cmd a long value so it's likely that >>>>>>> it would be reintroduced. >>>>>> >>>>>> Yes, that's what I mean. >>>>>> >>>>>>> I have checked the 4.4BSD archive and understood that our >>>>>>> ioctl's cmd parameter was made long around 1991 or 1992s >>>>>>> but didn't see what it actually buy us... >>>>>> >>>>>> Like it or not, it is too late to revert. :-( >>>>> >>>>> From Python 2.6.5: >>>>> >>>>> static PyObject * >>>>> fcntl_ioctl(PyObject *self, PyObject *args) >>>>> { >>>>> #define IOCTL_BUFSZ 1024 >>>>> int fd; >>>>> /* In PyArg_ParseTuple below, we use the unsigned >>>>> non-checked 'I' format for the 'code' parameter because >>>>> Python turns 0x8000000 into either a large positive number >>>>> (PyLong or PyInt on 64-bit platforms) or a negative number on >>>>> others (32-bit PyInt) whereas the system expects it to be a >>>>> 32bit bit field value regardless of it being passed as an int >>>>> or unsigned long on various platforms. See the >>>>> termios.TIOCSWINSZ constant across platforms for an example >>>>> of thise. >>>>> >>>>> If any of the 64bit platforms ever decide to use more >>>>> than 32bits in their unsigned long ioctl codes this will >>>>> break and need special casing based on the platform being >>>>> built on. */ >>>>> unsigned int code; >>>>> ... >>>>> >>>>> It is still a kludge and it won't be fixed. :-( >>>> >>>> Please drop the attached patch in ports/lang/python26/files and >>>> test. Note I am not a Python guy, so please don't shoot me. ;-) >>> >>> I found that Python guys added 'k' format since 2.3, which >>> converts a Python integer to unsigned long. Please ignore the >>> previous patch and try the attached patch instead. >> >> Unfortunately it didn't work. >> >> 1) Added patch to lang/python26 >> 2) Recompiled lang/python26 >> 3) cd /var/db/ports&& portupgrade -f python* py26* deluge* >> >> Restarted deluge afterwards. The message is still there: >> >> Jun 25 05:49:38 exxodus kernel: WARNING pid 38635 (python2.6): >> ioctl sign-extension ioctl ffffffff8004667e > > It may be a deeper problen, then. :-( > > First of all, I cannot reproduce the problem because deluged dumps > core on my box and I gave it up. Just staring at the code, it seems > they rely on a bundled libtorrent for Python binding and the > libtorrent relies on Boost, in turn. Then, the actual non-blocking > socket implementation is done with Boost ASIO[1]. It is possible > that there are more complicated problems between these and the Python > binding. In fact, I can see a lot of these: > > int name() const > { > return FIONBIO; > } > ... > if (!ec&& command.name() == static_cast(FIONBIO)) > ... > socket_ops::ioctl(impl.socket_, command.name(), ...) > ... > > They are just assuming it is an int type, I guess. > > Sigh, what a mess... Given that your python patch is a step on the right direction, I would propose that it be further tested and then committed if possible. > [1] Boost and its Python binding from ports seems to be a newer ASIO > version than the bundled ASIO headers. Probably it is a reason for > the crash but I didn't bother too much. If you have the time, everything you need to run the latest deluge 1.3.0 RC1 can be found at http://www.freebsd.org/cgi/query-pr.cgi?pr=144337 Check the PR, all the necessary ports can be found there. Let me know what you think. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature