From owner-freebsd-gnome@FreeBSD.ORG Sun Dec 26 17:33:22 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02A051065675; Sun, 26 Dec 2010 17:33:22 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id C5EFA8FC15; Sun, 26 Dec 2010 17:33:21 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id oBQHXKtO000990; Sun, 26 Dec 2010 12:33:20 -0500 (EST) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id oBQHXGoP009213; Sun, 26 Dec 2010 12:33:16 -0500 (EST) Message-ID: <4D177C5C.1050402@freebsd.org> Date: Sun, 26 Dec 2010 12:33:16 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Chris Brennan References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org, FreeBSD Questions , freebsd-gnome@freebsd.org Subject: Re: py26-dbus X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2010 17:33:22 -0000 On 12/26/10 11:11 AM, Chris Brennan wrote: > While upgrading python to 2.6.x (by following /usr/src/UPDATING and running > 'cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER') > I get the following error msg from devel/py-dbus. Attached is the config > file from the build-process. I can reproduce this by independently running > make in the portdir (devel/py-dbus). The tree is current as of a few days > ago. I've been getting this error for several weeks now and been unable to > figure it out. /usr/src/UPDATING has nothing specific to py(26)-dbus. Just > Python, which is what I was following. You need to reinstall devel/pth. Joe > > FreeBSD ziggy.xaerolimit.net 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #8: Sun > Oct 2401:53:03 EDT 2010 root@ziggy.xaerolimit.net:/usr/obj/usr/src/sys/ZIGGY > i386 > > > [root@Ziggy [~]# cd /usr/ports/lang/python && make upgrade-site-packages > -DUSE_PORTMASTER > [..] > ===> License check disabled, port has not defined LICENSE > ===> Extracting for py26-dbus-0.83.2 > => SHA256 Checksum OK for dbus-python-0.83.2.tar.gz. > ===> Patching for py26-dbus-0.83.2 > ===> py26-dbus-0.83.2 depends on file: /usr/local/bin/python2.6 - found > ===> py26-dbus-0.83.2 depends on executable: gmake - found > ===> py26-dbus-0.83.2 depends on package: libtool>=2.2 - found > ===> py26-dbus-0.83.2 depends on shared library: dbus-glib-1.2 - found > ===> py26-dbus-0.83.2 depends on shared library: intl - found > ===> Configuring for py26-dbus-0.83.2 > [..] > checking whether /usr/local/bin/python2.6 version >= 2.4.0... yes > checking for /usr/local/bin/python2.6 version... 2.6 > checking for /usr/local/bin/python2.6 platform... freebsd7 > checking for /usr/local/bin/python2.6 script directory... > ${prefix}/lib/python2.6/site-packages > checking for /usr/local/bin/python2.6 extension module directory... > ${exec_prefix} > /lib/python2.6/site-packages > checking for Python headers using /usr/local/bin/python2.6-config > --includes... -I > /usr/local/include/python2.6 -I/usr/local/include/python2.6 > checking whether those headers are sufficient... no > configure: error: could not find Python headers > ===> Script "configure" failed unexpectedly. > Please run the gnomelogalyzer, available from > "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the > problem and suggest a solution. If - and only if - the gnomelogalyzer cannot > solve the problem, report the build failure to the FreeBSD GNOME team at > gnome@FreeBSD.org, and attach (a) > "/usr/ports/devel/py-dbus/work/dbus-python-0.83.2/config.log", (b) the > output > of the failed make command, and (c) the gnomelogalyzer output. Also, it > might > be a good idea to provide an overview of all packages installed on your > system > (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, > copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) > with > the attachment. Try to avoid sending any attachments to the mailing list > (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are > usually discarded by the mailing list software. > *** Error code 1 > > Stop in /usr/ports/devel/py-dbus. > [root@Ziggy [/usr/ports/devel/py-dbus]# > > > Of the errror message, this is what stuck out the most for me; > > [..] > checking whether those headers are sufficient... no > [..] > > This tells me something is missing, but what? How do I figure out what > headers aren't sufficient? Incidentally could this be the cause? > > [..] > [root@Ziggy [/usr/ports/lang/python]# lsl > /usr/local/lib/python2.6/site-packages/ > total 20 > 2 drwxr-xr-x 3 root wheel 512B Dec 18 14:55 . > 14 drwxr-xr-x 28 root wheel 14K Dec 18 14:45 .. > 2 -r--r--r-- 1 root wheel 119B Dec 18 14:44 README > 2 drwxr-xr-x 2 root wheel 512B Dec 18 14:55 xcbgen > [root@Ziggy [/usr/ports/lang/python]# lsl > /usr/local/lib/python2.5/site-packages/ > total 350 > 2 drwxr-xr-x 3 root wheel 512B Oct 14 14:47 . > 14 drwxr-xr-x 3 root wheel 13K Sep 8 2009 .. > 178 -rw-r--r-- 1 root wheel 178K Mar 20 2009 _dbus_bindings.a > 2 -rwxr-xr-x 1 root wheel 910B Mar 20 2009 _dbus_bindings.la > 130 -rwxr-xr-x 1 root wheel 130K Mar 20 2009 _dbus_bindings.so > 6 -rw-r--r-- 1 root wheel 4.5K Mar 20 2009 _dbus_glib_bindings.a > 2 -rwxr-xr-x 1 root wheel 1.1K Mar 20 2009 _dbus_glib_bindings.la > 8 -rwxr-xr-x 1 root wheel 7.2K Mar 20 2009 _dbus_glib_bindings.so > 2 drwxr-xr-x 3 root wheel 1.5K Mar 20 2009 dbus > 2 -rw-r--r-- 1 root wheel 33B Mar 20 2009 dbus_bindings.py > 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyc > 2 -rw-r--r-- 1 root wheel 191B Mar 20 2009 dbus_bindings.pyo > [root@Ziggy [/usr/ports/lang/python]# > [..] > > If I've missed anything, by all means, let me know and I shall provide it. > > P.S. I cross-posted this to 'gnome at' as well as 'freebsd-gnome at' as I > was unsure/unclear if they were the same list or not. > > > > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome