Summary: | dev-python/gmpy-1.14 fails to build with Python 3.2 (PyCObject) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Stefan Briesenick (RETIRED) <sbriesen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | casevh, esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 292402 | ||
Attachments: | gmpy-1.10:20091224-185431.log |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2009-12-24 18:46:42 UTC
Created attachment 214055 [details]
gmpy-1.10:20091224-185431.log
-Werror=implicit-function-declaration allows to reproduce this bug during building.
gmpy-1.11 is in portage, which compiles fine with python3. Building of gmpy extension now succeeds, but building of pysymbolicext extension fails. src/pysymbolicext.c: In function ‘initpysymbolicext’: src/pysymbolicext.c:441: error: implicit declaration of function ‘PyCObject_Check’ src/pysymbolicext.c:441: error: implicit declaration of function ‘PyCObject_AsVoidPtr’ src/pysymbolicext.c:441: warning: cast to pointer from integer of different size since you added gmpy 1.12, is the bug still there? I updated summary. ok, it's an incompability. What to do now? Try to fix it, or wait for new upstream release? I can't test/do it, since python 3.2 isn't even in portage yet. Python 3.2_pre* is available in python overlay. (I'm the current maintainer of gmpy. I just stumbled across this bug. It wasn't reported upstream.) pysymbolicext.c has been removed from the development version of gmpy 2.x (aka gmpy2) and should have been removed from 1.14. gmpy itself no longer uses PyCObject or PyCapsule functions. Can the compiling of pysymbolicext.c just be removed from the build? If not, would I need to release a new version that removes pysymbolicext.c? (In reply to comment #9) We thought that pysymbolicext extension is somehow useful. I have now disabled building of this extension. |