I added a merge proposal on the Ubuntu bug which fixes the FTBFS (and adds the `set -x` flag in d/rules). I'm not sure upstream would approve of the patch, since it's not clear to me whether the bogus SCRIPT tag should be entirely stripped or not. But in the absence of upstream response to their bug, this does fix the FTBFS.
Here's the Ubuntu bug: https://bugs.launchpad.net/ubuntu/quantal/+source/genshi/+bug/935516 and the merge proposal with the diff: https://code.launchpad.net/~barry/ubuntu/quantal/genshi/lp935516/+merge/127596
signature.asc
Description: PGP signature