Python-2.5 has changed its API by introducing a new typedef 'Py_ssize_t'. On 64-bits machines this is different from 'int'. This causes failures in all packages which use SWIG to interface to Python. The attached tiny patch (taken from SWIG's cvs) fixes this. But for all packages which use SWIG to interface to Python, the SWIG files '*.i' need to 'touch' ed, to force the wrapperfiles to be rebuilt. (Is there an easy way to do this locally? Just unpacking a package in /usr/portage/distfiles, 'touch' ing the '*.i' files and packaging again doesn't work since portage notices any changes - how to fix that?)
Created attachment 98446 [details, diff] patch to swig-1.3.29 When switching to Python-2.5, python-updater should me sure that the most recent version of SWIG is used (e.g. 1.3.29-r2) since all prior versions are broken with Python-2.5
Fixed in swig-1.3.31.