That'd odd.
I'll try it out on a gutsy VM once I get home, but you should also try asking on ubuntuforums to see if they know what's been changed in gutsy that could be causing this.
Syntax error on compiling last revision (391)
Re: Syntax error on compiling last revision (391)
Former Deluge Developer