1 |
On 11/12/10 15:58:27, Fatih Tümen wrote: |
2 |
> On Fri, Nov 12, 2010 at 16:32, Helmut Jarausch |
3 |
> <jarausch@××××××××××××××××.de> wrote: |
4 |
> > On 11/12/10 15:24:44, Fatih Tümen wrote: |
5 |
> >> On Fri, Nov 12, 2010 at 15:56, Helmut Jarausch |
6 |
> >> <jarausch@××××××××××××××××.de> wrote: |
7 |
> >> > mount -o bind /proc /nroot/proc |
8 |
> >> > mount -o bind /dev /nroot/proc |
9 |
> >> |
10 |
> >> That looks a bit strange to me, doesnt it to you? :) I would |
11 |
> retype |
12 |
> >> that as follow: |
13 |
> >> |
14 |
> >> mount -t proc none /nroot/proc |
15 |
> >> mount -o bind /dev/ /nroot/dev |
16 |
> >> |
17 |
> > |
18 |
> > Thanks Faith, |
19 |
> > |
20 |
> > unfortunately this doesn't solve the problem. |
21 |
> > (My version has been working for years, and |
22 |
> > I can mount /usr in the chrooted system.) |
23 |
> > |
24 |
> > Helmut. |
25 |
> > |
26 |
> > |
27 |
> > |
28 |
> |
29 |
> Ok so I learn one more thing, thanks. |
30 |
> |
31 |
> I think its better if you post the exact error message. |
32 |
> |
33 |
|
34 |
Meanwhile, I have run python-updater on the master machine and I have |
35 |
re-install portage. |
36 |
Then I resync'ed the new machine against this master. |
37 |
|
38 |
Still, env-update fails after chroot |
39 |
Here is the output |
40 |
|
41 |
Python 2.6.6 (r266:84292, Oct 13 2010, 09:06:24) |
42 |
[GCC 4.4.4] on linux2 |
43 |
Type "help", "copyright", "credits" or "license" for more information. |
44 |
dlopen("/usr/lib64/python2.6/lib-dynload/readline.so", 2); |
45 |
import readline # dynamically loaded from /usr/lib64/python2.6/lib- |
46 |
dynload/readline.so |
47 |
>>> import site |
48 |
# /usr/lib64/python2.6/site.pyc matches /usr/lib64/python2.6/site.py |
49 |
import site # precompiled from /usr/lib64/python2.6/site.pyc |
50 |
Traceback (most recent call last): |
51 |
File "<stdin>", line 1, in <module> |
52 |
File "/usr/lib64/python2.6/site.py", line 526, in <module> |
53 |
main() |
54 |
File "/usr/lib64/python2.6/site.py", line 509, in main |
55 |
known_paths = addsitepackages(known_paths) |
56 |
File "/usr/lib64/python2.6/site.py", line 289, in addsitepackages |
57 |
addsitedir(sitedir, known_paths) |
58 |
File "/usr/lib64/python2.6/site.py", line 185, in addsitedir |
59 |
addpackage(sitedir, name, known_paths) |
60 |
File "/usr/lib64/python2.6/site.py", line 159, in addpackage |
61 |
if not dircase in known_paths and os.path.exists(dir): |
62 |
File "/usr/lib64/python2.6/genericpath.py", line 18, in exists |
63 |
st = os.stat(path) |
64 |
TypeError: stat() argument 1 must be encoded string without NULL bytes, |
65 |
not str |
66 |
>>> |
67 |
|
68 |
This is with portage-2.2.0-alpha4 which works flawlessly on the master |
69 |
machine. |
70 |
|
71 |
I'm puzzled! |
72 |
|
73 |
Helmut. |