| Summary: | app-portage/portage-utils: tests: unable to 'import portage' in python code | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Dan Wallis <mrdanwallis> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | myckel |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Full build log
Full build log Full build log |
||
Created attachment 302559 [details]
Full build log
Still failing with v0.9.
portage:Traceback (most recent call last):
File "/home/fredden/.gentoo/var/tmp/portage/app-portage/portage-utils-0.9/work/portage-utils-0.9/tests/atom_explode/atom-explode.py", line 3, in <module>
import sys,portage
ImportError: No module named portage
Created attachment 309109 [details]
Full build log
Still a problem in v0.10.
Confirmed in portage-utils-0.41. Things moved forward quite a lot since. |
Created attachment 267473 [details] Full build log When building app-portage/portage-utils-0.4 in my prefix, I get this failure: make[2]: Entering directory `/home/dan/.gentoo/var/tmp/portage/app-portage/portage-utils-0.4/work/portage-utils-0.4/tests/atom_compare' ../../q atom -c `cat static.tests` > static #q atom -c `cat static.tests` > static ./atom-compare.py `cat static.tests` > portage Traceback (most recent call last): File "./atom-compare.py", line 3, in <module> import sys,portage ImportError: No module named portage make[2]: *** [portage] Error 1 make[2]: Leaving directory `/home/dan/.gentoo/var/tmp/portage/app-portage/portage-utils-0.4/work/portage-utils-0.4/tests/atom_compare'