From: Zac Medico Date: Fri, 1 Jul 2011 02:23:23 +0000 (-0700) Subject: LinkageMapElf.findConsumers(): fix $ROOT handling X-Git-Tag: v2.2.0_alpha42~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=038f142cffb8437dbb2e8588078e802d441c3860;p=portage.git LinkageMapElf.findConsumers(): fix $ROOT handling The code which checks the soname symlink was missing a join with $ROOT. --- diff --git a/pym/portage/util/_dyn_libs/LinkageMapELF.py b/pym/portage/util/_dyn_libs/LinkageMapELF.py index f3a5129b0..c55d6d623 100644 --- a/pym/portage/util/_dyn_libs/LinkageMapELF.py +++ b/pym/portage/util/_dyn_libs/LinkageMapELF.py @@ -661,9 +661,10 @@ class LinkageMapELF(object): soname = self._obj_properties[obj_key][3] soname_link = os.path.join(self._root, os.path.dirname(obj).lstrip(os.path.sep), soname) + obj_path = os.path.join(self._root, obj.lstrip(os.sep)) try: soname_st = os.stat(soname_link) - obj_st = os.stat(obj) + obj_st = os.stat(obj_path) except OSError: pass else: