From owner-freebsd-gnome@FreeBSD.ORG Wed Sep 9 20:10:04 2009 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE190106566B for ; Wed, 9 Sep 2009 20:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B37748FC0A for ; Wed, 9 Sep 2009 20:10:04 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n89KA4FJ054871 for ; Wed, 9 Sep 2009 20:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n89KA42P054870; Wed, 9 Sep 2009 20:10:04 GMT (envelope-from gnats) Date: Wed, 9 Sep 2009 20:10:04 GMT Message-Id: <200909092010.n89KA42P054870@freefall.freebsd.org> To: gnome@FreeBSD.org From: Scot Hetzel Cc: 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 Reply-To: Scot Hetzel 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 20:10:04 -0000 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 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