Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 436168 Details for
Bug 583754
scanelf path should respect EPREFIX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-2.3.0-scanelf-path.patch
portage-2.3.0-scanelf-path.patch (text/plain), 818 bytes, created by
Benda Xu
on 2016-06-02 10:49:19 UTC
(
hide
)
Description:
portage-2.3.0-scanelf-path.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2016-06-02 10:49:19 UTC
Size:
818 bytes
patch
obsolete
>--- pym/portage/util/_dyn_libs/LinkageMapELF.py >+++ pym/portage/util/_dyn_libs/LinkageMapELF.py >@@ -19,6 +19,7 @@ from portage.util import normalize_path > from portage.util import varexpand > from portage.util import writemsg_level > from portage.util._dyn_libs.NeededEntry import NeededEntry >+from portage.const import EPREFIX > > # Map ELF e_machine values from NEEDED.ELF.2 to approximate multilib > # categories. This approximation will produce incorrect results on x32 >@@ -259,7 +260,7 @@ class LinkageMapELF(object): > continue > plibs.update((x, cpv) for x in items) > if plibs: >- args = ["/usr/bin/scanelf", "-qF", "%a;%F;%S;%r;%n"] >+ args = [os.path.join(EPREFIX, "/usr/bin/scanelf"), "-qF", "%a;%F;%S;%r;%n"] > args.extend(os.path.join(root, x.lstrip("." + os.sep)) \ > for x in plibs) > try:
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 583754
:
434950
|
436168
|
436630