From owner-freebsd-ports@FreeBSD.ORG Wed Jul 28 18:13:56 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27EC81065707 for ; Wed, 28 Jul 2010 18:13:56 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id D8F8E8FC12 for ; Wed, 28 Jul 2010 18:13:55 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id B8C0734D435; Wed, 28 Jul 2010 19:13:35 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Wed, 28 Jul 2010 19:13:35 +0100 User-Agent: KMail/1.13.5 (FreeBSD/7.2-RELEASE-p3; KDE/4.4.5; amd64; ; ) References: <201007281800.47169.david@vizion2000.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201007281913.35648.david@vizion2000.net> Cc: Subject: Re: net-im/telepathy-haze Build fail X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 18:13:56 -0000 > On Jul 28, 2010, at 10:00 AM, David Southwell wrote: > > This is a python error. Is anyone sufficiently familiar with python to > > take a look at tools/glib-signals-marshall-gen.py. > > Is all the code in that script strict enough for python 3. > > No, that script contains syntax that doesn't work with Python 3: > > File "../tools/glib-signals-marshal-gen.py", line 49 > > > > print 'VOID:' + ','.join(rhs) > > > > ^ > > > > SyntaxError: invalid syntax > > See: > > > http://docs.python.org/release/3.0.1/whatsnew/3.0.html#print-is-a-function > > This one change alone is so fundamental that you should assume that almost > no python-2 code will run under python-3 without changes.... > > Regards, In that case should the port not call for 26? Here is an extract from my pkgdb from which you can see python26 is installed on the system. If the port needs 26 surely should it not call for it as a dependency rather than failing because python31-3.1.2_1 is present?? David dns1# pkg_info |grep python ap22-mod_python-3.3.1_3 Apache module that embeds the Python interpreter within the boost-python-libs-1.43.0 Framework for interfacing Python and C++ libopensync-plugin-python-devel-0.36_2 Python plugin for the OpenSync framework py25-kdebindings-krosspython-4.4.5 Kross Python scripting library py26-dnspython-1.8.0 A DNS toolkit for Python py26-gtksourceview-2.10.1 A python bindings for the version 2 of the GtkSourceView li py26-notify-0.1.1_7 A python bindings for libnotify py26-telepathy-python-0.15.17 Python bindings for the Telepathy framework py26-xdg-0.19 A python library to access freedesktop.org standards python25-2.5.5_1 An interpreted object-oriented programming language python26-2.6.5_1 An interpreted object-oriented programming language python31-3.1.2_1 An interpreted object-oriented programming language Photographic Artist Permanent Installations & Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography & Official Portraiture Combined darkroom & digital creations & Systems Adminstrator for the vizion2000.net network