dev-python/kaa-metadata fails to compile on a system with python installed without USE="threads". Reproducible: Always Steps to Reproduce: 1. USE="-threads" emerge -uN python 2. emerge dev-python/kaa-metadata Actual Results: fails to compile complaining about missing kaa.base python package. Expected Results: portage should say we need python with USE threads
Please post the exact error message or even better attach the build log of the failed emerge to this bug.
Created attachment 186390 [details] kaa-metadata build.log useless :p
so I'll add here how I found out the real problem: I opened the setup.py file and saw : import sys try: # kaa base imports from kaa.distribution.core import Extension, setup except ImportError: print 'kaa.base not installed' sys.exit(1) from here it was clear that the problem wasn't really kaa.base so I opened a python interpreter and pasted only import sys from kaa.distribution.core import Extension and the real error appeared Traceback (most recent call last): File "<stdin>", line 1, in <module> File "//usr/lib64/python2.5/site-packages/kaa/__init__.py", line 33, in <module> from kaa.notifier import * File "//usr/lib64/python2.5/site-packages/kaa/notifier/__init__.py", line 42, in <module> from async import TimeoutException, InProgress, InProgressCallback, InProgressSignals File "//usr/lib64/python2.5/site-packages/kaa/notifier/async.py", line 41, in <module> import threading File "/usr/lib64/python2.5/threading.py", line 6, in <module> import thread ImportError: No module named thread
+ 27 Apr 2009; Patrick Lauer <patrick@gentoo.org> kaa-metadata-0.7.5: + Bump to eapi2, adding python[threads] dep, fixes #263743 + since kaa-base already has a python[threads] dep this is strictly speaking not needed, but makes things more predictable.