app-text/calibre-0.8.6 fails to emerge due to PyQt4 not found. It appears that this is due to calibre using python2.7 but my python is eselected to python2.6 If it requires python2.7 to be the active python, it should probably check this and exit with a message suggesting something along the lines of: # eselect python set --python2 python2.7; python-updater Which works around the problem quite nicely. Reproducible: Always Steps to Reproduce: 1. System with PyQt4 built against python2.6, but not python2.7 2. python2.6 is the active version of python 3. attempt to emerge calibre Actual Results: python2.7 setup.py build Traceback (most recent call last): File "setup.py", line 13, in <module> import setup.commands as commands File "/var/tmp/portage/app-text/calibre-0.8.6/work/calibre/setup/commands.py", line 28, in <module> from setup.translations import POT, GetTranslations, Translations, ISO639 File "/var/tmp/portage/app-text/calibre-0.8.6/work/calibre/setup/translations.py", line 14, in <module> from setup.build_environment import pyqt File "/var/tmp/portage/app-text/calibre-0.8.6/work/calibre/setup/build_environment.py", line 12, in <module> from PyQt4 import pyqtconfig Expected Results: calibre should be installed using python2.6, or a message indicating it requires python2.7 should be displayed build log and emerge information will be attached.
Created attachment 279379 [details] emerge --info =app-text/calibre-0.8.6
Created attachment 279381 [details] emerge -pqv =app-text/calibre-0.8.6
Created attachment 279383 [details] build log
According to the calibre website, calibre requires python 2.7: http://calibre-ebook.com/download_linux Since bug 362473, the ebuild forces the active python to 2.7. So, the versions of python selected by eselect python is irrelevant.