Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 240022

Summary: suppress preserved libs entries for symlinks
Product: Portage Development Reporter: Fabian Groffen <grobian>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: trivial Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 240323, 210077    
Attachments: patch to make preserved-libs output shorter

Description Fabian Groffen gentoo-dev 2008-10-05 17:49:02 UTC
Portage currently shows output like so:

!!! existing preserved libs:
>>> package: net-misc/neon-0.26.4
 *  - /Library/Gentoo/usr/lib/libneon.so.27
 *      used by /Library/Gentoo/usr/bin/svn (dev-util/subversion-1.5.2)
 *      used by /Library/Gentoo/usr/bin/svnsync (dev-util/subversion-1.5.2)
 *      used by /Library/Gentoo/usr/lib/libsvn_ra_neon-1.so.0.0.0 (dev-util/subversion-1.5.2)
 *  - /Library/Gentoo/usr/lib/libneon.so.27.1.2
 *      used by /Library/Gentoo/usr/bin/svn (dev-util/subversion-1.5.2)
 *      used by /Library/Gentoo/usr/bin/svnsync (dev-util/subversion-1.5.2)
 *      used by /Library/Gentoo/usr/lib/libsvn_ra_neon-1.so.0.0.0 (dev-util/subversion-1.5.2)

This is a bit redundant, since libneon.so.27.1.2 and libneon.so.27 are the same object.

Reproducible: Always



Expected Results:  
only show "used by" once for each real file.

I will attach a patch which implements the desired behaviour.
Comment 1 Fabian Groffen gentoo-dev 2008-10-05 17:49:58 UTC
Created attachment 167347 [details, diff]
patch to make preserved-libs output shorter

output with this patch:

!!! existing preserved libs:
>>> package: net-misc/neon-0.26.4
 *  - /Library/Gentoo/usr/lib/libneon.so.27.1.2
 *  - /Library/Gentoo/usr/lib/libneon.so.27
 *      used by /Library/Gentoo/usr/bin/svn (dev-util/subversion-1.5.2)
 *      used by /Library/Gentoo/usr/bin/svnsync (dev-util/subversion-1.5.2)
 *      used by /Library/Gentoo/usr/lib/libsvn_ra_neon-1.so.0.0.0 (dev-util/subversion-1.5.2)
Comment 2 Zac Medico gentoo-dev 2008-10-05 18:48:41 UTC
Thanks, this is in svn r11636.

*** This bug has been marked as a duplicate of bug 210077 ***
Comment 3 Zac Medico gentoo-dev 2008-10-05 18:49:08 UTC
oops, not a duplicate...
Comment 4 Zac Medico gentoo-dev 2008-10-09 21:42:58 UTC
This is fixed in 2.2_rc12.