From nobody@FreeBSD.org  Tue Apr  7 04:42:48 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 6B9A410657B8
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Apr 2009 04:42:47 +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 58FF18FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Apr 2009 04:42:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n374glYA071337
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 7 Apr 2009 04:42:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n374gle9071336;
	Tue, 7 Apr 2009 04:42:47 GMT
	(envelope-from nobody)
Message-Id: <200904070442.n374gle9071336@www.freebsd.org>
Date: Tue, 7 Apr 2009 04:42:47 GMT
From: Andrew Jones <andy.larrymite@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/plone3 build fails. Plone3 needs python-2.4 but libxcb-1.2_1 needs Python 2.5
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: nakaji@jp.FreeBSD.org

>Number:         133451
>Category:       ports
>Synopsis:       www/plone3 build fails. Plone3 needs python-2.4 but libxcb-1.2_1 needs Python 2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 07 04:50:00 UTC 2009
>Closed-Date:    Mon Dec 07 14:52:38 UTC 2009
>Last-Modified:  Mon Dec 07 14:52:38 UTC 2009
>Originator:     Andrew Jones
>Release:        7.1-RELEASE-p4
>Organization:
BarNetwork
>Environment:
FreeBSD acc2.int.barnet.com.au 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 12:35:36 UTC 2009     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When attempting to "make install" www/plone3 port the build fails in the libxcb-1.2_1 dependency with:
..
===>   libX11-1.2,1 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xcb.pc in /usr/ports/x11/libxcb
===>  libxcb-1.2_1 needs Python 2.5 at least. But you specified 2.4.

The problem is that Plone3 requires python-2.4, however libxcb-1.2_1 requires python-2.5. /usr/ports/UPDATING states that Libxcb shared library version was bumped from 1 to 2 and requires a portupgrade -rf. But libxcb was not installed the system before attempting to install www/plone3.

Installed packages:

bash-4.0.10_2       The GNU Project's Bourne Again SHell
db41-4.1.25_4       The Berkeley DB package, revision 4.1
emacs-nox11-22.3    GNU editing macros
gettext-0.17_1      GNU gettext package
libiconv-1.11_1     A character set conversion library
pkg-config-0.23_1   A utility to retrieve information about installed libraries
portupgrade-2.4.6_1,2 FreeBSD ports/packages administration and management tool s
python24-2.4.5_3    An interpreted object-oriented programming language
ruby-1.8.7.72_1,1   An object-oriented interpreted scripting language
ruby18-bdb-0.6.5    Ruby interface to Sleepycat's Berkeley DB revision 2 or lat

/etc/make.conf:
WITHOUT_X11=yes



>How-To-Repeat:
Remove existing plone3 and libxcb packages. Then:
cd /usr/ports/www/plone3
make install
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Apr 7 04:50:14 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: nakaji@jp.FreeBSD.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/133451: www/plone3 build fails. Plone3 needs python-2.4 but libxcb-1.2_1 needs Python 2.5
Date: Tue, 7 Apr 2009 04:50:10 UT

 Maintainer of www/plone3,
 
 Please note that PR ports/133451 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133451
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: NAKAJI Hiroyuki <nakaji@jp.FreeBSD.org>
To: bug-followup@freebsd.org
Cc: Andrew Jones <andy.larrymite@gmail.com>
Subject: Re: ports/133451: www/plone3 build fails. Plone3 needs python-2.4 but libxcb-1.2_1 needs Python 2.5
Date: Wed, 08 Apr 2009 10:24:06 +0900

 Thanks for a report.
 
 Do you set PYTHON_DEFAULT_VERSION in your /etc/make.conf?
 
 In /usr/ports/UPDATING, you can see the instruction about python upgrade
 from 2.4 to 2.5.
 
 <cite>
 20070730:
   AFFECTS: users of lang/python24 and py-*
   AUTHOR: python@FreeBSD.org
 
   The default version of Python has been changed from 2.4.x to 2.5.x.
   If you have 2.4.x installed, perform an upgrade of lang/python24 to
   lang/python25 with a command like:
 
 	# portupgrade -o lang/python25 lang/python24
 
   If you want to keep 2.4.x installed alongside 2.5.x, set the
   PYTHON_DEFAULT_VERSION variable to 'python2.5' without quotes in make.conf,
   then go to lang/python and execute
 
 	# portupgrade -R python
 
   Once the installed Python has been updated to 2.5, by using one of the
   methods above, it is required to run the upgrade-site-packages target in
   lang/python to assure that site-packages are made available to the new Python
   version.
 
 	# cd /usr/ports/lang/python && make upgrade-site-packages
 
   This Makefile target requires ports-mgmt/portupgrade to be installed.
 </cite>
 -- 
 NAKAJI Hiroyuki

From: Andrew Jones <andy.larrymite@gmail.com>
To: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/133451: www/plone3 build fails. Plone3 needs python-2.4 but 
	libxcb-1.2_1 needs Python 2.5
Date: Tue, 14 Apr 2009 16:13:55 +1000

 Hi Nakaji thanks for your response. No I had not set
 PYTHON_DEFAULT_VERSION to python2.5 in /etc/make.conf. I have set it
 now and followed the instructions below (the both python2.4 and
 python2.5 co-existing) however I still encounter the "libxcb-1.2_1
 needs Python 2.5 at least. But you specified 2.4." error.
 
 Thanks
 Andrew
 
 On Wed, Apr 8, 2009 at 11:24 AM, NAKAJI Hiroyuki <nakaji@jp.freebsd.org> wr=
 ote:
 > Thanks for a report.
 >
 > Do you set PYTHON_DEFAULT_VERSION in your /etc/make.conf?
 >
 > In /usr/ports/UPDATING, you can see the instruction about python upgrade
 > from 2.4 to 2.5.
 >
 > <cite>
 > 20070730:
 > =A0AFFECTS: users of lang/python24 and py-*
 > =A0AUTHOR: python@FreeBSD.org
 >
 > =A0The default version of Python has been changed from 2.4.x to 2.5.x.
 > =A0If you have 2.4.x installed, perform an upgrade of lang/python24 to
 > =A0lang/python25 with a command like:
 >
 > =A0 =A0 =A0 =A0# portupgrade -o lang/python25 lang/python24
 >
 > =A0If you want to keep 2.4.x installed alongside 2.5.x, set the
 > =A0PYTHON_DEFAULT_VERSION variable to 'python2.5' without quotes in make.=
 conf,
 > =A0then go to lang/python and execute
 >
 > =A0 =A0 =A0 =A0# portupgrade -R python
 >
 > =A0Once the installed Python has been updated to 2.5, by using one of the
 > =A0methods above, it is required to run the upgrade-site-packages target =
 in
 > =A0lang/python to assure that site-packages are made available to the new=
  Python
 > =A0version.
 >
 > =A0 =A0 =A0 =A0# cd /usr/ports/lang/python && make upgrade-site-packages
 >
 > =A0This Makefile target requires ports-mgmt/portupgrade to be installed.
 > </cite>
 > --
 > NAKAJI Hiroyuki
 >
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: lwhsu 
Responsible-Changed-When: Mon Jul 13 10:03:57 UTC 2009 
Responsible-Changed-Why:  
Grab for python@ to gain more visibility. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133451 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Mon Dec 7 14:42:36 UTC 2009 
State-Changed-Why:  
Dead ticket - no activity in 6 months. Please use mailing list 
freebsd-ports@FreeBSD.org for support questions like this. 

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