It looks nicer if we just say
authorFabian Groffen <grobian@gentoo.org>
Tue, 28 Aug 2007 08:35:56 +0000 (08:35 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 28 Aug 2007 08:35:56 +0000 (08:35 -0000)
>>> Emerging (1 of 1) sys-devel/autoconf-wrapper-4-r3 to /
>>> Extracting info
!!! Incompatible binary package: made for x86_64-pc-linux-gnu, you are
on i386-pc-solaris2.10

instead of some backtrace because formatter arguments do not match the
expected number.

svn path=/main/branches/prefix/; revision=7717

pym/portage/__init__.py

index 1019af21e9067d06c79d8d2ce1c261c705fc840d..53569cc1ee688e0da52f6e867ce2cceb5e68b80e 100644 (file)
@@ -5192,7 +5192,7 @@ def pkgmerge(mytbz2, myroot, mysettings, mydbapi=None, vartree=None, prev_mtimes
                # Let's assure that what we dump into our system has also a
                # chance of being able to run...
                if mysettings.get("CHOST", "") != chost:
-                       writemsg("!!! Incompatible binary package: made for %s, you are on %s\n" % mysettings.get("CHOST", ""), chost,
+                       writemsg("!!! Incompatible binary package: made for %s, you are on %s\n" % (mysettings.get("CHOST", ""), chost),
                                noiselevel=-1)
                        return 1