1 |
On Fri, Nov 12, 2010 at 17:44, Helmut Jarausch |
2 |
<jarausch@××××××××××××××××.de> wrote: |
3 |
> Meanwhile, I have run python-updater on the master machine and I have |
4 |
> re-install portage. |
5 |
> Then I resync'ed the new machine against this master. |
6 |
> |
7 |
> Still, env-update fails after chroot |
8 |
> Here is the output |
9 |
> |
10 |
> Python 2.6.6 (r266:84292, Oct 13 2010, 09:06:24) |
11 |
> [GCC 4.4.4] on linux2 |
12 |
> Type "help", "copyright", "credits" or "license" for more information. |
13 |
> dlopen("/usr/lib64/python2.6/lib-dynload/readline.so", 2); |
14 |
> import readline # dynamically loaded from /usr/lib64/python2.6/lib- |
15 |
> dynload/readline.so |
16 |
>>>> import site |
17 |
> # /usr/lib64/python2.6/site.pyc matches /usr/lib64/python2.6/site.py |
18 |
> import site # precompiled from /usr/lib64/python2.6/site.pyc |
19 |
> Traceback (most recent call last): |
20 |
> File "<stdin>", line 1, in <module> |
21 |
> File "/usr/lib64/python2.6/site.py", line 526, in <module> |
22 |
> main() |
23 |
> File "/usr/lib64/python2.6/site.py", line 509, in main |
24 |
> known_paths = addsitepackages(known_paths) |
25 |
> File "/usr/lib64/python2.6/site.py", line 289, in addsitepackages |
26 |
> addsitedir(sitedir, known_paths) |
27 |
> File "/usr/lib64/python2.6/site.py", line 185, in addsitedir |
28 |
> addpackage(sitedir, name, known_paths) |
29 |
> File "/usr/lib64/python2.6/site.py", line 159, in addpackage |
30 |
> if not dircase in known_paths and os.path.exists(dir): |
31 |
> File "/usr/lib64/python2.6/genericpath.py", line 18, in exists |
32 |
> st = os.stat(path) |
33 |
> TypeError: stat() argument 1 must be encoded string without NULL bytes, |
34 |
> not str |
35 |
>>>> |
36 |
> |
37 |
> This is with portage-2.2.0-alpha4 which works flawlessly on the master |
38 |
> machine. |
39 |
> |
40 |
> I'm puzzled! |
41 |
|
42 |
It looks like an encoding problem of some path but we wont know which |
43 |
one unless you try to catch it with strace -e trace=open `which |
44 |
env-update`. Otherwise I am puzzled as much as you are. |
45 |
-- |
46 |
Fatih |