Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 19:26:42 +0100
From:      David Southwell <david@vizion2000.net>
To:        freebsd-ports@freebsd.org
Cc:        Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Subject:   Re: net-im/telepathy-haze Build fail
Message-ID:  <201007281926.42521.david@vizion2000.net>
In-Reply-To: <4C507323.3010600@yandex.ru>
References:  <201007281800.47169.david@vizion2000.net> <201007281905.37732.david@vizion2000.net> <4C507323.3010600@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> 28.07.2010 22:05, David Southwell =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> >> 28.07.2010 21:57, Ruslan Mahmatkhanov =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> >>> 28.07.2010 21:00, David Southwell =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> >>>> Hi
> >>>>=20
> >>>> 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.
> >>>>=20
> >>>> David
> >>>>=20
> >>>> config.status: executing depfiles commands
> >>>> config.status: executing libtool commands
> >>>> =3D=3D=3D>  Building for telepathy-haze-0.3.6
> >>>> gmake all-recursive
> >>>> gmake[1]: Entering directory
> >>>> `/usr/ports/net-im/telepathy-haze/work/telepathy-
> >>>> haze-0.3.6'
> >>>> Making all in tools
> >>>> gmake[2]: Entering directory
> >>>> `/usr/ports/net-im/telepathy-haze/work/telepathy-
> >>>> haze-0.3.6/tools'
> >>>> gmake[2]: Nothing to be done for `all'.
> >>>> gmake[2]: Leaving directory
> >>>> `/usr/ports/net-im/telepathy-haze/work/telepathy-
> >>>> haze-0.3.6/tools'
> >>>> Making all in extensions
> >>>> gmake[2]: Entering directory
> >>>> `/usr/ports/net-im/telepathy-haze/work/telepathy-
> >>>> haze-0.3.6/extensions'
> >>>> xsltproc --nonet --novalid --xinclude ../tools/identity.xsl \
> >>>> all.xml>  _gen/all.xml
> >>>> /usr/local/bin/python ../tools/glib-signals-marshal-gen.py
> >>>> _gen/all.xml> _gen/signals-marshal.list
> >>>> File "../tools/glib-signals-marshal-gen.py", line 49
> >>>> print 'VOID:' + ','.join(rhs)
> >>>> ^
> >>>> SyntaxError: invalid syntax
> >>>=20
> >>> As in gnome-terminal case you can patch it yourself like this:
> >>> print('VOID:' + ','.join(rhs))
> >>>=20
> >>> instead
> >>>=20
> >>> print 'VOID:' + ','.join(rhs)
> >>>=20
> >>> but as i stated in my previous message, the wrong way is to use
> >>> python26 as your primary python version.
> >>=20
> >> the right way, i mean, or the wrong way is not to use python26 :)
> >=20
> > 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 failiung because python31-3.1.2_1 is
> > present??
> >=20
> > David
> >=20
> > dns1# pkg_info |grep python
> > 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
>=20
> And what your `python -V` tells?
python 3.1.2

Ok How do we deal with this?
Some apps need 3.1.2 --=20
So maybe the ports using python should check for the environment and if=20
necessary  force its own environment at build time with an appropriate sete=
nv=20
call?? Is this not the correct procedure according to the porters handbook?

David





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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007281926.42521.david>