Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 512698 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.09 KB, created by
Zac Medico
on 2018-01-02 09:23:03 UTC
(
hide
)
Description:
PreservedLibsRegistry: fix pruneNonExisting for symlinks to other dirs
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2018-01-02 09:23:03 UTC
Size:
1.09 KB
patch
obsolete
>From 6913160633da3e59c2f977cabd53c0cd7ef30c17 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 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py b/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py >index a422ffefd..1d1419fe0 100644 >--- a/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py >+++ b/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py >@@ -227,7 +227,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 portage.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