From owner-freebsd-python@FreeBSD.ORG Mon Jan 16 11:07:10 2012 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 245BC1065673 for ; Mon, 16 Jan 2012 11:07:10 +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 ED9078FC0A for ; Mon, 16 Jan 2012 11:07:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0GB79YP057739 for ; Mon, 16 Jan 2012 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0GB79Mr057737 for freebsd-python@FreeBSD.org; Mon, 16 Jan 2012 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Jan 2012 11:07:09 GMT Message-Id: <201201161107.q0GB79Mr057737@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, 16 Jan 2012 11:07:10 -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/163112 python Updates bsd.python.mk to support Zope 2.11, 2.13 o ports/163063 python [PATCH] fix for ports-mgmt/portbuilder o ports/162421 python lang/python32 fails to build (undefined reference to ` o ports/160717 python port: lang/python27 causing other ports to hang during o ports/159215 python Mk/bsd.python.mk: PYTHON_VERSION is ignored o ports/156759 python [patch] lang/python: kevent does not accept KQ_NOTE_EX o ports/156425 python lang/python26: Needs to include -L/usr/local/lib/pth i o ports/156076 python [patch] databases/py-sqlite3: Undefined symbol "sqlite o ports/155970 python [PATCH] lang/python: speed up upgrade-site-packages o ports/155936 python lang/python27 Pthread: previous declaration of ... o ports/155526 python [PATCH] devel/py-elementtree: ignore if python >= 2.5 f 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/152224 python [patch] fix installed permissions for lang/python27 o ports/151534 python lang/python26 + WITH_PTH doesn't install correctly o ports/149167 python lang/python26 fails to build _ctypes on Sheevaplug (AR 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 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 23 problems total. From owner-freebsd-python@FreeBSD.ORG Sat Jan 21 12:23:59 2012 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 9D54E1065674; Sat, 21 Jan 2012 12:23:59 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B8E6B8FC18; Sat, 21 Jan 2012 12:23:58 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA13763; Sat, 21 Jan 2012 14:07:20 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RoZj5-000JOd-Ry; Sat, 21 Jan 2012 14:07:19 +0200 Message-ID: <4F1AAA75.5050500@FreeBSD.org> Date: Sat, 21 Jan 2012 14:07:17 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: python@FreeBSD.org X-Enigmail-Version: undefined Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Cc: freebsd-standards@FreeBSD.org, gogo@cs.uni-sb.de Subject: pyconfig.h and freebsd10: _POSIX_C_SOURCE and _XOPEN_SOURCE 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, 21 Jan 2012 12:23:59 -0000 It seems that python27's pyconfig.h (artificially?) limits visibility of system APIs by setting _POSIX_C_SOURCE to 200112L and _XOPEN_SOURCE to 600. This might not actually change much for earlier FreeBSD versions. But in FreeBSD 10 we now have interfaces from POSIX 200809, specifically some things that are then used by xlocale.h. Now take an example of py-lxml port. It depends on both libxslt and python (obviously). libxslt doesn't have any limitations in POSIX interfaces that it uses, so it detects xlocale.h and uses it. xlocale.h depends on definition of locale_t in locale.h. But since locale_t has been introduced in POSIX 2008 its declaration is under __POSIX_VISIBLE >= 200809. And because of pyconfig.h, py-lxml build doesn't see locale_t and so the build fails. This is probably an issue that the upstream should also consider. Having briefly looked at python27's configure script I wonder if we should set define_xopen_source=no for FreeBSD 10 (like it has been done for FreeBSD/4.*). But in general I am not sure why python has to limit itself to those levels of interfaces (_POSIX_C_SOURCE 200112L and _XOPEN_SOURCE 600). Thoughts, ideas, suggestions? Thank you! -- Andriy Gapon