Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 512714 Details for
Bug 642672
sys-apps/portage: deleting and reinstalling a package fails (sometime) when two needed libraries with the same name are kept
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
PreservedLibsRegistry: fix pruneNonExisting for symlinks to other dirs
0001-PreservedLibsRegistry-fix-pruneNonExisting-for-symli.patch (text/plain), 1.26 KB, created by
Zac Medico
on 2018-01-02 13:24:12 UTC
(
hide
)
Description:
PreservedLibsRegistry: fix pruneNonExisting for symlinks to other dirs
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2018-01-02 13:24:12 UTC
Size:
1.26 KB
patch
obsolete
>From a6463231acad58175673c6928c8389dde91a6e95 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Tue, 2 Jan 2018 01:09:34 -0800 >Subject: [PATCH] PreservedLibsRegistry: fix pruneNonExisting for symlinks to > other dirs (bug 642672) > >Fixes: 32d19be14e22 ("pruneNonExisting: handle eselect-opengl symlinks") >--- > pym/portage/util/_dyn_libs/PreservedLibsRegistry.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py b/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py >index a422ffefd..f83b82a31 100644 >--- a/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py >+++ b/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py >@@ -12,6 +12,7 @@ try: > except ImportError: > import pickle > >+from portage import abssymlink > from portage import os > from portage import _encodings > from portage import _os_merge >@@ -227,7 +228,7 @@ class PreservedLibsRegistry(object): > # removed by _remove_preserved_libs, it calls pruneNonExisting > # which eliminates the irrelevant symlink from the registry here. > for f, target in symlinks.items(): >- if os.path.join(os.path.dirname(f), target) in hardlinks: >+ if abssymlink(f, target=target) in hardlinks: > paths.append(f) > > if len(paths) > 0: >-- >2.13.6 >
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 642672
:
512022
|
512698
| 512714