Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Burcin Erocal <burcin@...>
Subject: Re: portage bug ?
Date: Mon, 29 Aug 2011 11:30:46 +0200
Hi,

On Mon, 29 Aug 2011 00:40:21 +0100
Alan Hourihane <alanh@...> wrote:

> This just happened to me after a package emerge....
> 
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 44, in <module>
>     retval = emerge_main()
>   File "/j/usr/lib/portage/pym/_emerge/main.py", line 1909, in
> emerge_main trees, mtimedb, retval)
>   File "/j/usr/lib/portage/pym/_emerge/main.py", line 370, in
> post_emerge infodirs, info_mtimes, retval)
>   File "/j/usr/lib/portage/pym/_emerge/main.py", line 164, in
> chk_updated_info_files
>     "--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1]
> TypeError: not all arguments converted during string formatting

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.

Cheers,
Burcin


--- prefix-portage-2.2.01.19011.org/pym/_emerge/main.py	2011-08-24 13:55:50.326357336 +0200
+++ prefix-portage-2.2.01.19011.1/pym/_emerge/main.py	2011-08-24 17:42:24.960793637 +0200
@@ -160,8 +160,8 @@
 								del e
 					processed_count += 1
 					myso = portage.subprocess_getstatusoutput(
-						"LANG=C LANGUAGE=C %s/usr/bin/install-info " +
-						"--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1]
+						("LANG=C LANGUAGE=C %s/usr/bin/install-info " +
+						"--dir-file=%s/dir %s/%s") % (EPREFIX, inforoot, inforoot, x))[1]
 					existsstr="already exists, for file `"
 					if myso!="":
 						if
 						re.search(existsstr,myso):




Replies:
Re: portage bug ?
-- Fabian Groffen
References:
portage bug ?
-- Alan Hourihane
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
portage bug ?
Next by thread:
Re: portage bug ?
Previous by date:
portage bug ?
Next by date:
Re: portage bug ?


Updated Jun 07, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.