From owner-freebsd-python@FreeBSD.ORG Mon Oct 11 11:07:01 2010 Return-Path: <owner-freebsd-python@FreeBSD.ORG> 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 6796A1065670 for <freebsd-python@FreeBSD.org>; Mon, 11 Oct 2010 11:07:01 +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 556168FC0A for <freebsd-python@FreeBSD.org>; Mon, 11 Oct 2010 11:07:01 +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 o9BB71oP037644 for <freebsd-python@FreeBSD.org>; Mon, 11 Oct 2010 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9BB708g037642 for freebsd-python@FreeBSD.org; Mon, 11 Oct 2010 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Oct 2010 11:07:00 GMT Message-Id: <201010111107.o9BB708g037642@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster <bugmaster@FreeBSD.org> 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 <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2010 11:07:01 -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/151121 python [PATCH] lang/python27: fix 'make deinstall' while pyth 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/147665 python update for www/py-pylons 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 f ports/145460 python Unable to build /usr/ports/net-p2p/py-bittorrent-core 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 o ports/142440 python New Port: databases/py-south0.6 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 18 problems total. From owner-freebsd-python@FreeBSD.ORG Mon Oct 11 21:54:06 2010 Return-Path: <owner-freebsd-python@FreeBSD.ORG> 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 2A0EC1065694 for <freebsd-python@freebsd.org>; Mon, 11 Oct 2010 21:54:06 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE668FC12 for <freebsd-python@freebsd.org>; Mon, 11 Oct 2010 21:54:06 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta05.emeryville.ca.mail.comcast.net with comcast id HQfV1f0031smiN4A5ZgvJU; Mon, 11 Oct 2010 21:40:55 +0000 Received: from comcast.net ([98.203.142.76]) by omta20.emeryville.ca.mail.comcast.net with comcast id HZgt1f00J1f6R9u8gZguJS; Mon, 11 Oct 2010 21:40:55 +0000 Received: by comcast.net (sSMTP sendmail emulation); Mon, 11 Oct 2010 14:40:53 -0700 Date: Mon, 11 Oct 2010 14:40:53 -0700 From: Charlie Kester <corky1951@comcast.net> To: freebsd-python@FreeBSD.org Message-ID: <20101011214052.GC1130@comcast.net> Mail-Followup-To: freebsd-python@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Mailer: Mutt 1.5.20 X-Composer: Vim 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: When to use PYTHONPREFIX_SITELIBDIR? X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 11 Oct 2010 21:54:06 -0000 A port I maintain, multimedia/gpodder, needs to install a set of Python modules from another distfile called mygpoclient. Here are the pertinent excerpts from the port Makefile, as I inherited it from the previous maintainer: DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \ ${MGC_DISTNAME}${EXTRACT_SUFX}:mygpoclient ... MGC_DISTNAME= mygpoclient-1.4 MGC_WRKSRC= ${WRKDIR}/${MGC_DISTNAME}/mygpoclient ... pre-build: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${MGC_WRKSRC} @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${MGC_WRKSRC} pre-install: @${MKDIR} ${PYTHON_SITELIBDIR}/mygpoclient @(cd ${MGC_WRKSRC} && ${COPYTREE_SHARE} . ${PYTHON_SITELIBDIR}/mygpoclient) The pkg-plist then contains multiple lines of the following form, to delete the files installed in the pre-install step: ... %%PYTHON_SITELIBDIR%%/mygpoclient/api.py %%PYTHON_SITELIBDIR%%/mygpoclient/api.pyc ... I've submitted a PR to update gpodder to 2.8 (and now 2.9), but the committers are reporting plist errors related to these mygpoclient files. The files are not being removed when gpodder is pkg-deleted. While researching this, I ran some simple tests using ports-mgmt/genplist and noticed that the mygpoclient files were being installed under /usr/local/lib and NOT under the tmp prefix as expected. ("genplist create /tmp/portname" sets PREFIX to /tmp/portname and installs the port there. I like to use it as a quick-and-dirty test of the install.) So I tried using PYTHONPREFIX_SITELIBDIR in the pre-install commands, and this seemed to work here on my own machine, testing with both genplist and tinderbox. (The pkg-plist lines were unchanged.) Today, however, I got another report of a plist failure. I'm not sure if the version tested was using PYTHONPREFIX_SITELIBDIR and will ask the committer about that. But I would like to get some advice from this list: is my approach correct? Is there a better way to accomplish the goal? From owner-freebsd-python@FreeBSD.ORG Sat Oct 16 20:36:40 2010 Return-Path: <owner-freebsd-python@FreeBSD.ORG> 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 CB789106566C for <python@freebsd.org>; Sat, 16 Oct 2010 20:36:40 +0000 (UTC) (envelope-from davide.italiano@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 8B26F8FC13 for <python@freebsd.org>; Sat, 16 Oct 2010 20:36:40 +0000 (UTC) Received: by yxn35 with SMTP id 35so843621yxn.13 for <python@freebsd.org>; Sat, 16 Oct 2010 13:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=UOHnyicLrA3A+VXpy+e0VQ8bj3f0WM8VwWKKer9vZZU=; b=JoUlunfa6/DHOUy5GToJKmjQPWTdOG7N0c08o6pCe9DMESkU+BYLyT1pw8fTEsykzR +qFQVY5Sq5i9zRILFr5ZR3E/bbNuDP+fmneSX8YS8t7Jwod/VLvjr8D0ZMFwEyOFFiLw F3Pmwtfjq5vyftVweyscdVgddVpEMzzGKSIJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EEI+7/RB6Mwy9DTcATb71uJBqBl4KTKx1U4TG7KGTzzzWwd39/8dbfMNgf+vtMfCxc 9Tn20vN6ABW0CZYqahHC2jv/khcMn8H1b3m6lKfJlvtH2SsYMH+a+Oiy7ZUk7MKhbUDU NqH6KD4AOfT96mpBQbicKzN/tABg7DVuDjo/c= MIME-Version: 1.0 Received: by 10.150.190.3 with SMTP id n3mr3965787ybf.155.1287259728642; Sat, 16 Oct 2010 13:08:48 -0700 (PDT) Received: by 10.150.205.20 with HTTP; Sat, 16 Oct 2010 13:08:48 -0700 (PDT) Date: Sat, 16 Oct 2010 22:08:48 +0200 Message-ID: <AANLkTinL=ViZGs+FRFPZ2nMZX95h19qq34VqmJs7E8m_@mail.gmail.com> From: Davide Italiano <davide.italiano@gmail.com> To: python@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: x11-toolkits/pytkinter fails to build X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 16 Oct 2010 20:36:40 -0000 ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Extracting for py26-tkinter-2.6.5_3 => No MD5 checksum recorded for python/Python-2.6.5.tgz. => No SHA256 checksum recorded for python/Python-2.6.5.tgz. => No suitable checksum found for python/Python-2.6.5.tgz. *** Error code 1 Stop in /usr/ports/x11-toolkits/py-tkinter. *** Error code 1