Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115317 Details for
Bug 173184
emerge -C prelink gives a stack trace on sys-apps/portage-2.1.2.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allow clean uninstallation of prelink
prelink.patch (text/plain), 1.21 KB, created by
Zac Medico
on 2007-04-02 19:54:26 UTC
(
hide
)
Description:
allow clean uninstallation of prelink
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-04-02 19:54:26 UTC
Size:
1.21 KB
patch
obsolete
>Index: pym/portage_checksum.py >=================================================================== >--- pym/portage_checksum.py (revision 6332) >+++ pym/portage_checksum.py (revision 6333) >@@ -181,6 +181,7 @@ > @rtype: Tuple > @return: The hash and size of the data > """ >+ global prelink_capable > myfilename = filename[:] > prelink_tmpfile = os.path.join("/", PRIVATE_PATH, "prelink-checksum.tmp." + str(os.getpid())) > mylock = None >@@ -189,10 +190,14 @@ > mylock = portage_locks.lockfile(prelink_tmpfile, wantnewlockfile=1) > # Create non-prelinked temporary file to checksum. > # Files rejected by prelink are summed in place. >- retval = portage_exec.spawn([PRELINK_BINARY, "--undo", "-o", >- prelink_tmpfile, filename], fd_pipes={}) >- if retval == os.EX_OK: >- myfilename = prelink_tmpfile >+ try: >+ retval = portage_exec.spawn([PRELINK_BINARY, "--undo", "-o", >+ prelink_tmpfile, filename], fd_pipes={}) >+ if retval == os.EX_OK: >+ myfilename = prelink_tmpfile >+ except portage_exception.CommandNotFound: >+ # This happens during uninstallation of prelink. >+ prelink_capable = False > try: > if hashname not in hashfunc_map: > raise portage_exception.DigestException(hashname + \
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 173184
: 115317