1 |
Hi, |
2 |
|
3 |
On Mon, 29 Aug 2011 00:40:21 +0100 |
4 |
Alan Hourihane <alanh@×××××××××××.uk> wrote: |
5 |
|
6 |
> This just happened to me after a package emerge.... |
7 |
> |
8 |
> Traceback (most recent call last): |
9 |
> File "/usr/bin/emerge", line 44, in <module> |
10 |
> retval = emerge_main() |
11 |
> File "/j/usr/lib/portage/pym/_emerge/main.py", line 1909, in |
12 |
> emerge_main trees, mtimedb, retval) |
13 |
> File "/j/usr/lib/portage/pym/_emerge/main.py", line 370, in |
14 |
> post_emerge infodirs, info_mtimes, retval) |
15 |
> File "/j/usr/lib/portage/pym/_emerge/main.py", line 164, in |
16 |
> chk_updated_info_files |
17 |
> "--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1] |
18 |
> TypeError: not all arguments converted during string formatting |
19 |
|
20 |
I also ran into this last week. The following patch fixes the problem for me. It seems to be introduced in the prefix version of portage. |
21 |
|
22 |
Cheers, |
23 |
Burcin |
24 |
|
25 |
|
26 |
--- prefix-portage-2.2.01.19011.org/pym/_emerge/main.py 2011-08-24 13:55:50.326357336 +0200 |
27 |
+++ prefix-portage-2.2.01.19011.1/pym/_emerge/main.py 2011-08-24 17:42:24.960793637 +0200 |
28 |
@@ -160,8 +160,8 @@ |
29 |
del e |
30 |
processed_count += 1 |
31 |
myso = portage.subprocess_getstatusoutput( |
32 |
- "LANG=C LANGUAGE=C %s/usr/bin/install-info " + |
33 |
- "--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1] |
34 |
+ ("LANG=C LANGUAGE=C %s/usr/bin/install-info " + |
35 |
+ "--dir-file=%s/dir %s/%s") % (EPREFIX, inforoot, inforoot, x))[1] |
36 |
existsstr="already exists, for file `" |
37 |
if myso!="": |
38 |
if |
39 |
re.search(existsstr,myso): |