Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360863 - app-portage/portage-utils: tests: unable to 'import portage' in python code
Summary: app-portage/portage-utils: tests: unable to 'import portage' in python code
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 04:53 UTC by Dan Wallis
Modified: 2017-11-14 13:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build log (build.log,4.20 KB, text/plain)
2011-03-28 04:53 UTC, Dan Wallis
Details
Full build log (build.log,44.41 KB, text/plain)
2012-02-20 03:51 UTC, Dan Wallis
Details
Full build log (build.log,45.32 KB, text/plain)
2012-04-16 02:05 UTC, Dan Wallis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Wallis 2011-03-28 04:53:57 UTC
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'
Comment 1 Dan Wallis 2012-02-20 03:51:02 UTC
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
Comment 2 Dan Wallis 2012-04-16 02:05:10 UTC
Created attachment 309109 [details]
Full build log

Still a problem in v0.10.
Comment 3 Myckel Habets 2014-01-16 20:25:28 UTC
Confirmed in portage-utils-0.41.
Comment 4 Fabian Groffen gentoo-dev 2017-11-14 13:14:14 UTC
Things moved forward quite a lot since.