diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-26 11:33:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-26 11:33:18 +0000 |
commit | 5036b05df01cea1911a8c431b18cedce1423f7c2 (patch) | |
tree | 75d2748ce264e7733060a01321a7c43dab58c99c /pym/repoman | |
parent | 29b86c987aba118e75428fd01b8e4261a3eba685 (diff) | |
download | portage-5036b05df01cea1911a8c431b18cedce1423f7c2.tar.gz portage-5036b05df01cea1911a8c431b18cedce1423f7c2.tar.bz2 portage-5036b05df01cea1911a8c431b18cedce1423f7c2.zip |
Fix LinkageMap.findConsumers() to check whether the master link for a lib
providing a given soname actually points to that lib. If there is another
version of this lib with the same soname and the master link points to
that other version, this lib will be shadowed and won't have any consumers.
By eliminating false, positives this way, we avoid the following state
after upgrade from media-libs/mesa-7.0.3 to media-libs/mesa-7.1_rc3:
# scanelf -S /usr/lib64/libGLU.so*
TYPE SONAME FILE
ET_DYN libGLU.so.1 /usr/lib64/libGLU.so
ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1
ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3
ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3.070003
ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3.070100 <- shadowed lib
Thanks to Diego "Flameeyes" Pettenò for reporting this issue.
svn path=/main/trunk/; revision=11200
Diffstat (limited to 'pym/repoman')
0 files changed, 0 insertions, 0 deletions