On Sun, 17 May 2009 15:19:17 -0600
Ryan Hill <dirtye...@gentoo.org> wrote:

> On Sun, 17 May 2009 23:00:21 +0200
> Arfrever Frehtes Taifersar Arahesis <arfrever....@gmail.com> wrote:
> 
> > 2009-05-17 22:51:50 Ryan Hill napisał(a):
> > > On Sun, 17 May 2009 21:03:46 +0200
> > > Tiziano Müller <dev-z...@gentoo.org> wrote:
> > > > So, unless you're doing a pkgmove
> > > > it's a dangerous thing since the PM can't reliably track reverse deps
> > > > when doing uninstalls since it has to use the vdb entry for that,
> > > > doesn't it?
> > > 
> > > Since when do we track reverse deps for uninstalls?
> > 
> > Portage supports `emerge --depclean ${package}` command which checks 
> > reverse dependencies.
> 
> But it also checks link level dependencies as well, doesn't it?

halo ~ # grep chmlib /var/db/pkg/app-text/xchm-1.16/*
halo ~ # cat /var/db/pkg/app-text/xchm-1.16/NEEDED
/usr/bin/xchm 
libwx_gtk2u_aui-2.8.so.0,libwx_gtk2u_html-2.8.so.0,libwx_gtk2u_core-2.8.so.0,libwx_baseu_net-2.8.so.0,libwx_baseu-2.8.so.0,libchm.so.0,libstdc++.so.6,libgcc_s.so.1,libpthread.so.0,libc.so.6
                                                                             
halo ~ # cat /var/db/pkg/app-text/xchm-1.16/NEEDED.ELF.2                        
                                                            
X86_64;/usr/bin/xchm;;;libwx_gtk2u_aui-2.8.so.0,libwx_gtk2u_html-2.8.so.0,libwx_gtk2u_core-2.8.so.0,libwx_baseu_net-2.8.so.0,libwx_baseu-2.8.so.0,libchm.so.0,libstdc++.so.6,libgcc_s.so.1,libpthread.so.0,libc.so.6
                                                                    
halo ~ # emerge --depclean -pv chmlib

Calculating dependencies... done!
>>> Checking for lib consumers...
>>> Assigning files to packages...
 * In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in.
 *
 *   dev-libs/chmlib-0.39-r1 pulled in by:
 *     app-text/xchm-1.16
 *
>>> Adding lib providers to graph...
 -
Calculating dependencies... done!
  dev-libs/chmlib-0.39-r1 pulled in by:
    app-text/xchm-1.16

>>> No packages selected for removal by depclean




-- 
gcc-porting,                                      by design, by neglect
treecleaner,                              for a fact or just for effect
wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

Attachment: signature.asc
Description: PGP signature

Reply via email to