Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 49132 Details for
Bug 78979
emerge crash with conflicting digest sizes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for handling the exception in the function itself.
patch.r14.Digest.Function (text/plain), 818 bytes, created by
Alec Warner
on 2005-01-21 12:31:21 UTC
(
hide
)
Description:
Patch for handling the exception in the function itself.
Filename:
MIME Type:
Creator:
Alec Warner
Created:
2005-01-21 12:31:21 UTC
Size:
818 bytes
patch
obsolete
>--- portage.py 2005-01-20 17:24:41.000000000 +0000 >+++ portage-mod.py 2005-01-21 20:30:16.412149736 +0000 >@@ -2120,8 +2120,12 @@ > mydigests[myfn] = {} > mydigests[myfn][mykey] = myhash > if "size" in mydigests[myfn]: >- if mydigests[myfn]["size"] != mysize: >- raise portage_exception.DigestException, "Conflicting sizes in digest: %(filename)s" % {"filename":myfilename} >+ try: >+ if mydigests[myfn]["size"] != mysize: >+ raise portage_exception.DigestException, "Conflicting sizes in digest: %(filename)s" % {"filename":myfilename} >+ except portage_exception.DigestException: >+ print "The digest sizes do not match. Usually this is due to an invalid manifest. Try an emerge sync to fetch a working manifest." >+ sys.exit( -5 ) > else: > mydigests[myfn]["size"] = mysize > return mydigests
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 78979
:
49124
|
49131
| 49132