net-im/telepathy-haze Build fail

Ruslan Mahmatkhanov cvs-src at yandex.ru
Wed Jul 28 17:59:21 UTC 2010


28.07.2010 21:00, David Southwell пишет:
> Hi
>
> 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.
>
> David
>
> config.status: executing depfiles commands
> config.status: executing libtool commands
> ===>   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

As in gnome-terminal case you can patch it yourself like this:
print('VOID:' + ','.join(rhs))

instead

print 'VOID:' + ','.join(rhs)

but as i stated in my previous message, the wrong way is to use python26 
as your primary python version.

-- 
Regards,
Ruslan


More information about the freebsd-ports mailing list