sudo emerge PyQt4
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) dev-python/PyQt4-4.3.1 to /
* PyQt-x11-gpl-4.3.1.tar.gz RMD160 ;-) ... [ ok ]
* PyQt-x11-gpl-4.3.1.tar.gz SHA1 ;-) ... [ ok ]
* PyQt-x11-gpl-4.3.1.tar.gz SHA256 ;-) ... [ ok ]
* PyQt-x11-gpl-4.3.1.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking PyQt-x11-gpl-4.3.1.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-4.3.1.tar.gz to /var/tmp/portage/dev-python/PyQt4-4.3.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/PyQt4-4.3.1/work/PyQt-x11-gpl-4.3.1 ...
Traceback (most recent call last):
File "configure.py", line 30, in <module>
import sipconfig
ImportError: No module named sipconfig
make: *** No targets specified and no makefile found. Stop.
*
* ERROR: dev-python/PyQt4-4.3.1 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* PyQt4-4.3.1.ebuild, line 42: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.3.1/temp/build.log'.
*
* Messages for package dev-python/PyQt4-4.3.1:
*
* ERROR: dev-python/PyQt4-4.3.1 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* PyQt4-4.3.1.ebuild, line 42: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.3.1/temp/build.log'.