From owner-freebsd-gnome@FreeBSD.ORG Wed Sep 9 22:21:36 2009 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 EF7D9106566C for ; Wed, 9 Sep 2009 22:21:35 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao102.cox.net (eastrmmtao102.cox.net [68.230.240.8]) by mx1.freebsd.org (Postfix) with ESMTP id ACBBF8FC12 for ; Wed, 9 Sep 2009 22:21:35 +0000 (UTC) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao102.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20090909222135.GGMK1164.eastrmmtao102.cox.net@eastrmimpo01.cox.net>; Wed, 9 Sep 2009 18:21:35 -0400 Received: from localhost ([68.103.37.153]) by eastrmimpo01.cox.net with bizsmtp id emMa1c00E3JFCbG02mMaUm; Wed, 09 Sep 2009 18:21:34 -0400 X-VR-Score: -230.00 X-Authority-Analysis: v=1.0 c=1 a=x7wDXT8-JeMA:10 a=pGLkceISAAAA:8 a=wOS9Si_zAAAA:8 a=6I5d2MoRAAAA:8 a=kviXuzpPAAAA:8 a=oZw40dBbIloUrg54Sc8A:9 a=6KnFy1qayRSiPExy5IEA:7 a=01OLneASTubMGdE3ub6ZsvQySQEA:4 a=MSl-tDqOz04A:10 a=w5ukdEtOW3sA:10 a=SV7veod9ZcQA:10 a=4vB-4DCPJfMA:10 X-CM-Score: 0.00 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Scot Hetzel" References: <200909092010.n89KA42P054870@freefall.freebsd.org> Date: Wed, 09 Sep 2009 17:23:33 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Jeremy Messenger" Message-ID: In-Reply-To: <200909092010.n89KA42P054870@freefall.freebsd.org> User-Agent: Opera Mail/10.00 (Linux) Cc: gnome@freebsd.org Subject: Re: amd64/138665: Build fails of x11-toolkits/py-gtk2, dependent on wrong version of cairo 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: Wed, 09 Sep 2009 22:21:36 -0000 On Wed, 09 Sep 2009 15:10:04 -0500, Scot Hetzel wrote: > The following reply was made to PR ports/138665; it has been noted by > GNATS. > > From: Scot Hetzel > To: Randy Belk > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: amd64/138665: Build fails of x11-toolkits/py-gtk2, > dependent on > wrong version of cairo > Date: Wed, 9 Sep 2009 15:00:45 -0500 > > On Wed, Sep 9, 2009 at 2:42 PM, Randy Belk > wrote: > > This is the error I get when compiling. This is actually a > > graphics/py-cairo issue not a x11-toolkits/py-gtk2 issue. > > Graphics/py-cairo is dependent on Python 2.6 and can not run with 2.5! > > > > =3D=3D=3D> =A0Extracting for py25-gtk-2.14.1_1 > > =3D> MD5 Checksum OK for gnome2/pygtk-2.14.1.tar.bz2. > > =3D> SHA256 Checksum OK for gnome2/pygtk-2.14.1.tar.bz2. > > =3D=3D=3D> =A0Patching for py25-gtk-2.14.1_1 > > =3D=3D=3D> =A0Applying FreeBSD patches for py25-gtk-2.14.1_1 > > =3D=3D=3D> =A0 py25-gtk-2.14.1_1 depends on file: > > /usr/local/lib/python2.5/site-packages/cairo/__init__.py - not found > > =3D=3D=3D> =A0 =A0Verifying install for > > /usr/local/lib/python2.5/site-packages/cairo/__init__.py in > > /usr/ports/graphics/py-cairo > > =3D=3D=3D> =A0py25-cairo-1.8.8 needs Python 2.6 at least. But you > specifi= > ed 2.5. > > *** Error code 1 > > > > Stop in /usr/ports/graphics/py-cairo. > > *** Error code 1 > > > > Stop in /usr/ports/x11-toolkits/py-gtk2. > > > > =3D=3D=3D>>> make failed for x11-toolkits/py-gtk2 > > =3D=3D=3D>>> Aborting update > > > One option to allow py-cairo to work with python < 2.6 would be to do > the following: > 1. create a repo copy of py-cairo to py-cairo-old > 2. down grade py-cairo-old to version 1.8.2 > - which was the last version we had working with python 2.5. > 3. Set py-cairo-old to only build with python < 2.6 No thanks, all users should be upgrade their Python to 2.6. Cheers, Mezz > Finally, all ports that have a dependancy on graphics/py-cairo could > be changed as follows: > .if ${PYTHON_SUFFIX} < 26 > BUILD_DEPENDS=3D ${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphic= > s/py-cairo-old > RUN_DEPENDS=3D ${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/= > py-cairo-old > .else > BUILD_DEPENDS=3D ${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphic= > s/py-cairo > RUN_DEPENDS=3D ${PYTHON_SITELIBDIR}/cairo/__init__.py:${PORTSDIR}/graphics/= > py-cairo > .fi > Scot -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org