net-im/telepathy-haze Build fail

Chuck Swiger cswiger at mac.com
Wed Jul 28 18:08:58 UTC 2010


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,
-- 
-Chuck



More information about the freebsd-ports mailing list