From nobody@FreeBSD.org  Wed Sep  9 14:30:19 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 35B48106568B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Sep 2009 14:30:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 238988FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Sep 2009 14:30:19 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n89EUIQM099963
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Sep 2009 14:30:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n89EUIrj099959;
	Wed, 9 Sep 2009 14:30:18 GMT
	(envelope-from nobody)
Message-Id: <200909091430.n89EUIrj099959@www.freebsd.org>
Date: Wed, 9 Sep 2009 14:30:18 GMT
From: Randy Belk <randy.belk@onlybsd.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Build fails of  x11-toolkits/py-gtk2, dependent on wrong version of  cairo
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138665
>Category:       ports
>Synopsis:       Build fails of x11-toolkits/py-gtk2, dependent on wrong version of  cairo
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 09 14:40:01 UTC 2009
>Closed-Date:    Thu Sep 17 04:46:27 UTC 2009
>Last-Modified:  Thu Sep 17 04:46:27 UTC 2009
>Originator:     Randy Belk
>Release:        7.2-RELEASE-p2
>Organization:
OnlyBSD.com
>Environment:
FreeBSD umc151238.umsmed.edu 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The build of py25-gtk-2.14.1_1 fails due to dependency on py25-cairo-1.8.8 which is not /usr/ports anymore, py26-cairo-1.8.8 is the current.
>How-To-Repeat:
cd /usr/ports/x11-toolkits/py-gtk2
make install
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Sep 9 15:07:31 UTC 2009 
Responsible-Changed-Why:  
Make this a ports PR and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138665 

From: Scot Hetzel <swhetzel@gmail.com>
To: Randy Belk <randy.belk@onlybsd.com>
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 10:17:29 -0500

 On Wed, Sep 9, 2009 at 9:30 AM, Randy Belk<randy.belk@onlybsd.com> wrote:
 >>Description:
 > The build of py25-gtk-2.14.1_1 fails due to dependency on py25-cairo-1.8.8 which is not /usr/ports anymore, py26-cairo-1.8.8 is the current.
 >>How-To-Repeat:
 > cd /usr/ports/x11-toolkits/py-gtk2
 > make install
 >>Fix:
 >
 See the ports/UPDATING entry dated 20090608:
 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/UPDATING?rev=1.855;content-type=text%2Fplain
 
 Specifically, you need to set PYTHON_DEFAULT_VERSION variable to
 'python2.5' (without quotes) in  /etc/make.conf
 
 Scot

From: Randy Belk <randy.belk@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/138665: Build fails of x11-toolkits/py-gtk2, dependent on 
	wrong version of cairo
Date: Wed, 9 Sep 2009 10:47:45 -0500

 I have "PYTHON_DEFAULT_VERSION=python2.5" already in /etc/make.conf.
 
 -- 
 - Amiga, The Computer for the creative Mind!
 - UNIX is basically a simple operating system, but you have to be a
 genius to understand the simplicity.
 - People who hate Microsoft Windows use Linux but people who love UNIX use BSD.

From: Scot Hetzel <swhetzel@gmail.com>
To: Randy Belk <randy.belk@onlybsd.com>
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<randy.belk@onlybsd.com> 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

From: Randy Belk <randy.belk@onlybsd.com>
To: Scot Hetzel <swhetzel@gmail.com>
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 14:42:23 -0500

 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!
 
 ===>  Extracting for py25-gtk-2.14.1_1
 => MD5 Checksum OK for gnome2/pygtk-2.14.1.tar.bz2.
 => SHA256 Checksum OK for gnome2/pygtk-2.14.1.tar.bz2.
 ===>  Patching for py25-gtk-2.14.1_1
 ===>  Applying FreeBSD patches for py25-gtk-2.14.1_1
 ===>   py25-gtk-2.14.1_1 depends on file:
 /usr/local/lib/python2.5/site-packages/cairo/__init__.py - not found
 ===>    Verifying install for
 /usr/local/lib/python2.5/site-packages/cairo/__init__.py in
 /usr/ports/graphics/py-cairo
 ===>  py25-cairo-1.8.8 needs Python 2.6 at least. But you specified 2.5.
 *** Error code 1
 
 Stop in /usr/ports/graphics/py-cairo.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/py-gtk2.
 
 ===>>> make failed for x11-toolkits/py-gtk2
 ===>>> Aborting update
 
 
 
 -- 
 - Amiga, The Computer for the creative Mind!
 - UNIX is basically a simple operating system, but you have to be a
 genius to understand the simplicity.
 - People who hate Microsoft Windows use Linux but people who love UNIX use BSD.
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Thu Sep 17 04:45:31 UTC 2009 
State-Changed-Why:  
The current default version of Python is 2.6, and that is what GNOME supports. 
If you need to use a different version, then you will not be able to build 
the default GNOME Desktop.  It will be up to you to maintain an earlier 
version of py-cairo which supports Python 2.5. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138665 
>Unformatted:
