dev-python/PyQt4-4.6.1-r1 fails to build with Python 3.2. It uses PyCObject-related functions which are deprecated in Python 3.1 and removed in Python 3.2. PyCapsule-related functions should be used. http://docs.python.org/3.1/c-api/cobject.html http://docs.python.org/3.1/c-api/capsule.html
Created attachment 209645 [details] PyQt4-4.6.1-r1:20091108-173419.log
Try the latest 4.7 snapshot in qting-edge overlay. If that fails too, please report the issue to Phil (upstream dev).
hi, i tried to compile: - PyQt4-4.6.2 - PyQt-4.7... (qting-edge today - 20091231) with: - python 3.2 - python 3.1 While 3.1 seems to work for now, with python 3.2 wont compile as described here. To get it compiled i had to: emerge -C python:3.2 python-updater emerge --oneshot sip PyQt4 To use qting-edge overlay versions i had to add sip and PyQt4 to /etc/portage/package.unmask/ as usual before. Sorry, i have no contact from Phil, so i post it here. hth Cheers, Niels Dettenbach. --- http://www.syndicat.com
You can use the public mailing list (pyqt[AT]riverbankcomputing.com) or contact Phil directly (phil[AT]riverbankcomputing.com).
Adding RESTRICT_PYTHON_ABIS="3.*" But the real issue needs to be taken upstream.
(In reply to comment #5) > Adding RESTRICT_PYTHON_ABIS="3.*" > Please don't. >=PyQt4-4.5 works fine with Python 3.1 (it's even officially supported); this bug is about >=python-3.2 which is not even in portage.
I changed restriction to only 3.2. This bug should be left open until it's properly fixed.
This should be fixed in latest sip/PyQt4 releases. Please try with >=dev-python/sip-4.10.5 and >=dev-python/PyQt4-4.7.4
dev-python/PyQt4-4.7.4 still unconditionally uses PyCObject-related functions.
Fixed in PyQt4-4.7.5