1 |
Hi, |
2 |
|
3 |
the following traceback with prefix-portage.2.2.01.21580 was reported |
4 |
by Volker Braun here [1]: |
5 |
|
6 |
|
7 |
* setting up some guessed defaults |
8 |
* Your profile is set to |
9 |
/home/vbraun/Code/lmnd_test_dir/dist/portage/profiles/lmnd/linux/amd64. |
10 |
* Your make.globals is prepared for your current bootstrap |
11 |
* prefix-portage successfully bootstrapped |
12 |
[21/29] EmergePackage: |
13 |
Traceback (most recent call last): |
14 |
File "/home/vbraun/Code/lmnd_test_dir/local/bin/emerge", line 51, in |
15 |
<module> |
16 |
retval = emerge_main() |
17 |
File |
18 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/_emerge/main.py", |
19 |
line 1033, in emerge_main |
20 |
settings, trees, mtimedb = load_emerge_config() |
21 |
File |
22 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/proxy/objectproxy.py", |
23 |
line 31, in __call__ |
24 |
return result(*args, **kwargs) |
25 |
File |
26 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/_emerge/actions.py", |
27 |
line 3170, in load_emerge_config |
28 |
setconfig = load_default_config(settings, root_trees) |
29 |
File |
30 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/_sets/__init__.py", |
31 |
line 311, in load_default_config |
32 |
return SetConfig(_getfiles(), settings, trees) |
33 |
File |
34 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/_sets/__init__.py", |
35 |
line 64, in __init__ |
36 |
for p in paths: |
37 |
File |
38 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/_sets/__init__.py", |
39 |
line 303, in _getfiles |
40 |
dbapi = trees["porttree"].dbapi |
41 |
File |
42 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/util/__init__.py", |
43 |
line 1375, in __getitem__ |
44 |
result = lazy_item.func(*pargs, **kwargs) |
45 |
File |
46 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/dbapi/porttree.py", |
47 |
line 1033, in __init__ |
48 |
self.dbapi = portdbapi(mysettings=settings) |
49 |
File |
50 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/dbapi/porttree.py", |
51 |
line 180, in __init__ |
52 |
self.depcachedir, x, self._known_keys, **cache_kwargs) |
53 |
File |
54 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/cache/flat_hash.py", |
55 |
line 39, in __init__ |
56 |
self._ensure_dirs() |
57 |
File |
58 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/cache/fs_template.py", |
59 |
line 72, in _ensure_dirs |
60 |
os.chown(base, -1, self._gid) |
61 |
File |
62 |
"/home/vbraun/Code/lmnd_test_dir/local/lib/portage/pym/portage/__init__.py", |
63 |
line 225, in __call__ |
64 |
rval = self._func(*wrapped_args, **wrapped_kwargs) |
65 |
TypeError: group id must be integer |
66 |
|
67 |
|
68 |
Volker reports [1] that changing line 72 in |
69 |
pym/portage/cache/fs_template.py to |
70 |
|
71 |
os.chown(base, -1, int(self._gid)) |
72 |
|
73 |
fixes the issue. |
74 |
|
75 |
[1] https://groups.google.com/d/topic/lmnd-devel/TpP4sEhVFrw/discussion |
76 |
[2] https://groups.google.com/d/msg/lmnd-devel/TpP4sEhVFrw/iMnDZU9uTGsJ |
77 |
|
78 |
|
79 |
Is there a better solution? |
80 |
|
81 |
|
82 |
Cheers, |
83 |
Burcin |