From owner-freebsd-python@FreeBSD.ORG Wed Sep 10 01:14:06 2014 Return-Path: <owner-freebsd-python@FreeBSD.ORG> Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E296512F; Wed, 10 Sep 2014 01:14:06 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C18FB38F; Wed, 10 Sep 2014 01:14:05 +0000 (UTC) Received: from [192.168.200.200] (unknown [50.136.155.142]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 48405192906; Wed, 10 Sep 2014 01:06:45 +0000 (UTC) Subject: util.get_platform() From: Sean Bruno <sbruno@ignoranthack.me> Reply-To: sbruno@freebsd.org To: python@freebsd.org Content-Type: text/plain; charset="us-ascii" Date: Tue, 09 Sep 2014 18:06:43 -0700 Message-ID: <1410311203.1132.27.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: portmgr@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/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: Wed, 10 Sep 2014 01:14:07 -0000 util.get_platform() returns this on our arm platform running current: freebsd-11.0-CURRENT-arm I think ports expect: freebsd-11.0-CURRENT-armv6 e.g. devel/py-gobject3 wants a file in its pkg-plist: %%PYTHON_SITELIBDIR%%/pygobject-%%VERSION%%-py%%PYTHON_VER%%-%%OPSYS% %-%%UNAME_R%%-%%ARCH%%.egg-info Which is looking for: pkg-static: lstat(/usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/pygobject-3.8.1-py2.7-freebsd-11.0-CURRENT-armv6.egg-info): No such file or directory but, the port is building it as: cp ./PKG-INFO /usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/pygobject-3.8.1-py2.7-freebsd-11.0-CURRENT-arm.egg-info /bin/mkdir -p '/usr/ports/devel/py-gobject3/work/stage/usr/local/libdata/pkgconfig' install -o root -g wheel -m 0644 pygobject-3.0.pc '/usr/ports/devel/py-gobject3/work/stage/usr/local/libdata/pkgconfig' This is a trivial change in the pkg-plist, but I wonder if this is something "more interesting" in our python distro? sean