Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133808 Details for
Bug 195375
collision between binutils-2.18 and binutils-2.18-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
read inforoot/SLOT and use it in case it differs from the expected slot
multislot.patch (text/plain), 1.03 KB, created by
Zac Medico
on 2007-10-18 19:52:00 UTC
(
hide
)
Description:
read inforoot/SLOT and use it in case it differs from the expected slot
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-10-18 19:52:00 UTC
Size:
1.03 KB
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 8172) >+++ pym/portage.py (revision 8173) >@@ -7877,6 +7877,22 @@ > noiselevel=-1) > return 1 > >+ inforoot_slot_file = os.path.join(inforoot, "SLOT") >+ try: >+ f = open(inforoot_slot_file) >+ try: >+ slot = f.read().strip() >+ finally: >+ f.close() >+ except OSError, e: >+ writemsg("!!! Error reading '%s': %s\n" % (inforoot_slot_file, e), >+ noiselevel=-1) >+ return 1 >+ >+ if slot != self.settings["SLOT"]: >+ writemsg("!!! WARNING: Expected SLOT='%s', got '%s'\n" % \ >+ (self.settings["SLOT"], slot)) >+ > if not os.path.exists(self.dbcatdir): > os.makedirs(self.dbcatdir) > >@@ -7885,7 +7901,7 @@ > otherversions.append(v.split("/")[1]) > > slot_matches = self.vartree.dbapi.match( >- "%s:%s" % (self.mysplit[0], self.settings["SLOT"])) >+ "%s:%s" % (self.mysplit[0], slot)) > if self.mycpv not in slot_matches and \ > self.vartree.dbapi.cpv_exists(self.mycpv): > # handle multislot or unapplied slotmove
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195375
: 133808