1 |
> On 14-09-2007 17:26:07 +0200, rabbe@×××××××.se wrote: |
2 |
>> Hi Fabian, |
3 |
>> |
4 |
>> yes, I emerged python every time whether needed or not. Trying your |
5 |
>> commands, |
6 |
>> |
7 |
>> % head -n1 $EPREFIX/usr/lib/portage/pym/emerge/__init__.py |
8 |
>> #!/rh8/home-local/erarafo/g2/usr/bin/python -O |
9 |
>> |
10 |
>> % file $EPREFIX/usr/lib/portage/pym/portage/const.py |
11 |
>> /rh8/home-local/erarafo/g2/usr/lib/portage/pym/portage/const.py: ASCII |
12 |
>> English text |
13 |
>> |
14 |
>> % which python |
15 |
>> /rh8/home-local/erarafo/g2/usr/bin/python |
16 |
>> |
17 |
>> % python -c 'import portage.const ; print portage.const.EPREFIX' |
18 |
>> Traceback (most recent call last): |
19 |
>> File "<string>", line 1, in ? |
20 |
>> ImportError: No module named const |
21 |
> |
22 |
> All looks fine, apart from this. As far as I know, and looking at the |
23 |
> unpack phase of python should still be, that |
24 |
> 06_all_add_portage_search_path.patch adds the portage path to the |
25 |
> internal PYTHONPATH in python. |
26 |
> |
27 |
> It looks to me like either the patch wasn't applied for some reason, or |
28 |
> the emerged portage wasn't installed. Are you sure it was emerged? |
29 |
> |
30 |
|
31 |
I re-ran the whole thing, this time collecting the console output. You can |
32 |
download it from this URL: |
33 |
|
34 |
<http://wb748077.bahnhofbredband.se/prefix-gentoo/g2.out.bz2> |
35 |
|
36 |
I had a quick look myself, there is no special complaint when the '06' |
37 |
patch is applied. |
38 |
|
39 |
I will leave the EPREFIX tree as is so that we can dig out any interesting |
40 |
pieces. |
41 |
|
42 |
-- |
43 |
gentoo-alt@g.o mailing list |