David MENTRE wrote: > Hello Dmitrijs, > > On Wed, Jun 3, 2009 at 15:23, Dmitrijs Ledkovs <dmitrij.led...@gmail.com> > wrote: >> Not an expert nor a DD nor anything in Ubuntu. But this could be >> either a gcc4.4 transition/bug or a python2.6 et al bug. >> >> Does exactly this package compile fine in Sid & Jaunty if yes than >> most likely gcc4.4 related. > > It builds in Jaunty (not exactly the same package "-8ubuntu1" instead of > "-9"): > https://launchpad.net/ubuntu/jaunty/+source/pycaml/+builds > > It compiles in Sid (but using gcc-4.3 and python 2.5): > https://buildd.debian.org/pkg.cgi?pkg=pycaml
Hi David, if you look at the build log, the error is: pycaml_ml.c:1151: error: 'PyImport_ImportModuleEx' undeclared here (not in a function) If you dig around a bit, you find that in Python 2.6, this is strictly a #define, which is incompatible with pycaml_ml.c's use of it - whereas in Python 2.5, it was also provided as a real entry point for compatibility. Rather annoyingly, if you dig into Python's svn repository, it looks like this compatibility provision may have been *accidentally* reverted - http://svn.python.org/view?view=rev&revision=59678, look at the changes to import.c and import.h. Accidentally or not, it looks like pycaml will need to be adapted to not use that function. Max.
signature.asc
Description: OpenPGP digital signature
-- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss