Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is revdep-rebuild now obsolete?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Felig
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 180

PostPosted: Wed Oct 01, 2008 4:44 pm    Post subject: Is revdep-rebuild now obsolete? Reply with quote

I used to run revdep-rebuild -p to see what was broken, but it hasn't said boo for a while now, in fact since about the same time all those preserved lib warnings started appearing. I understand the preserved-libs in general -- it used to delete older versions of libs when new versions came out, which clobbered my boot at least once. So I suppose I should like it. But when I emerge @preserved-rebuild, it doesn't seem to change much.

Is revdep-rebuild now useless? And what is the proper way to deal with @preserved-rebuild? The documentation seems pretty scattered. A nice simple HOWTO would be nice: HOWTO get rid of preserved lib messages, or HOWTO rebuild them properly, or even HOWTO find out about this stuff other than google and turn up lots of half baked unofficial old outdated stuff.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Wed Oct 01, 2008 5:12 pm    Post subject: Reply with quote

I don't think that revdep-rebuild is useless since they changed it quite a bit recently. The new preserved-libs feature is supposed to make frequent revdep-rebuilds unnecessary, but it might still be useful.

Once you "emerge @preserved-libs", all the preserved lib mesages should go away - so it seems you might have hit a bug... Could you post which ones are not going away?
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Felig
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 180

PostPosted: Wed Oct 01, 2008 5:37 pm    Post subject: Reply with quote

AM088 wrote:
Once you "emerge @preserved-libs", all the preserved lib mesages should go away - so it seems you might have hit a bug... Could you post which ones are not going away?


Give me a day or two. I upgraded to (kde?qt?) 4.4.2 and qt-core insists on still needing the 4.3.5 lib, or something like that -- an emerge leaves about a dozen package failures for various reasons, and it may be that they are the cause -- I'll have to check it out later, maybe not til Friday, maybe tonight (Wednesday), but certainly not Thursday.

(I don't use KDE or Gnome much at all, so how those upgrade is not something I pay much attention to.)
Back to top
View user's profile Send private message
FuzzyRay
Retired Dev
Retired Dev


Joined: 02 Oct 2003
Posts: 79

PostPosted: Wed Oct 01, 2008 7:44 pm    Post subject: Re: Is revdep-rebuild now obsolete? Reply with quote

Felig wrote:
Is revdep-rebuild now useless?


No, I have found in practice that while using preserved-libs significantly reduces how much you need to run revdep-rebuild, it is still necessary at times.

Additionally, I have met some people that don't like the preserved-libs feature and have turned it off. For those people, revdep-rebuild is still needed.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9532
Location: beyond the rim

PostPosted: Wed Oct 01, 2008 8:41 pm    Post subject: Reply with quote

preserve-libs is intended to reduce the necessity of revdep-rebuild, not to obsolete it. However, there's another thing in the works (the @missing-rebuild package set) to replace revdep-rebuild eventually in the long run.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Oct 01, 2008 10:24 pm    Post subject: Re: Is revdep-rebuild now obsolete? Reply with quote

FuzzyRay wrote:
Additionally, I have met some people that don't like the preserved-libs feature and have turned it off. For those people, revdep-rebuild is still needed.

I am one of those people, so please don't remove revdep-rebuild yet.
Back to top
View user's profile Send private message
FuzzyRay
Retired Dev
Retired Dev


Joined: 02 Oct 2003
Posts: 79

PostPosted: Thu Oct 02, 2008 12:55 am    Post subject: Re: Is revdep-rebuild now obsolete? Reply with quote

cyrillic wrote:
FuzzyRay wrote:
Additionally, I have met some people that don't like the preserved-libs feature and have turned it off. For those people, revdep-rebuild is still needed.

I am one of those people, so please don't remove revdep-rebuild yet.


It won't be going away for quite awhile. I am all for migrating revdep-rebuild functionality into portage, since that will make maintaining Gentoo easier for a lot of people. However, revdep-rebuild is quite useful in a lot of cases, so I don't plan on it becoming an unsupported utility.
Back to top
View user's profile Send private message
Felig
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 180

PostPosted: Sat Oct 04, 2008 11:27 pm    Post subject: Before and after preserved libs Reply with quote

Here is the preserved libs report after an emerge:

Code:
!!! existing preserved libs:
>>> package: kde-base/kdelibs-3.5.10
 *  - /usr/kde/3.5/lib64/libartskde.so.1
 *      used by /usr/bin/basket (x11-misc/basket-1.0.3.1)
 *      used by /usr/bin/kamix (media-sound/kamix-0.6.6)
 *      used by /usr/kde/3.5/bin/artsbuilder (kde-base/kdemultimedia-arts-3.5.9)
 *      used by 72 other files
 *  - /usr/kde/3.5/lib64/libkdnssd.so.1
 *      used by /usr/bin/kftpgrabber (net-ftp/kftpgrabber-0.8.1-r1)
 *      used by /usr/kde/3.5/bin/atlantik (kde-base/atlantik-3.5.10)
 *      used by /usr/kde/3.5/bin/atlantikdesigner (kde-base/atlantikdesigner-3.5.10)
 *      used by 43 other files
 *  - /usr/kde/3.5/lib64/libartskde.so.1.2.0
 *      used by /usr/bin/basket (x11-misc/basket-1.0.3.1)
 *      used by /usr/bin/kamix (media-sound/kamix-0.6.6)
 *      used by /usr/kde/3.5/bin/artsbuilder (kde-base/kdemultimedia-arts-3.5.9)
 *      used by 72 other files
 *  - /usr/kde/3.5/lib64/libkdnssd.so.1.0.0
 *      used by /usr/bin/kftpgrabber (net-ftp/kftpgrabber-0.8.1-r1)
 *      used by /usr/kde/3.5/bin/atlantik (kde-base/atlantik-3.5.10)
 *      used by /usr/kde/3.5/bin/atlantikdesigner (kde-base/atlantikdesigner-3.5.10)
 *      used by 43 other files
>>> package: sys-devel/libtool-2.2.6a
 *  - /usr/lib64/libltdl.so.3
 *      used by /usr/kde/3.5/lib64/libarts_akode.so.0.0.0 (kde-base/artsplugin-akode-3.5.9)
 *      used by /usr/lib/misc/xscreensaver/matrixview (x11-misc/rss-glx-0.8.1-r4)
 *      used by /usr/lib64/libguilegtk-2.0.so.0.0.0 (x11-libs/guile-gtk-2.0)
 *      used by /usr/lib64/sane/libsane-epkowa.so.1.0.15 (media-gfx/iscan-2.11.0)
 *  - /usr/lib64/libltdl.so.3.1.6
 *      used by /usr/kde/3.5/lib64/libarts_akode.so.0.0.0 (kde-base/artsplugin-akode-3.5.9)
 *      used by /usr/lib/misc/xscreensaver/matrixview (x11-misc/rss-glx-0.8.1-r4)
 *      used by /usr/lib64/libguilegtk-2.0.so.0.0.0 (x11-libs/guile-gtk-2.0)
 *      used by /usr/lib64/sane/libsane-epkowa.so.1.0.15 (media-gfx/iscan-2.11.0)
>>> package: dev-libs/libmowgli-0.7.0
 *  - /usr/lib64/libmowgli.so.1
 *      used by /usr/lib64/gkrellm2/plugins/gkrellmms.so (x11-plugins/gkrellmms-2.1.22-r1)
 *  - /usr/lib64/libmowgli.so.1.0.0
 *      used by /usr/lib64/gkrellm2/plugins/gkrellmms.so (x11-plugins/gkrellmms-2.1.22-r1)
>>> package: dev-libs/DirectFB-1.2.3
 *  - /usr/lib64/libdirect-1.1.so.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 10 other files
 *  - /usr/lib64/libdirectfb-1.1.so.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 6 other files
 *  - /usr/lib64/libfusion-1.1.so.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 8 other files
 *  - /usr/lib64/libdirect-1.1.so.0.1.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 10 other files
 *  - /usr/lib64/libdirectfb-1.1.so.0.1.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 6 other files
 *  - /usr/lib64/libfusion-1.1.so.0.1.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 8 other files
>>> package: app-text/sword-1.5.11
 *  - /usr/lib64/libsword-1.5.10.so
 *      used by /usr/lib64/kde3/kio_sword.so (kde-misc/kio-sword-0.2)
Use emerge @preserved-rebuild to rebuild packages using these libraries


Here is the preserved libs report after emerging @preserved-rebuild (which was 65 builds):

Code:
!!! existing preserved libs:
>>> package: app-text/sword-1.5.11
 *  - /usr/lib64/libsword-1.5.10.so
 *      used by /usr/lib64/kde3/kio_sword.so (kde-misc/kio-sword-0.2)
>>> package: sys-devel/libtool-2.2.6a
 *  - /usr/lib64/libltdl.so.3
 *      used by /usr/kde/3.5/lib64/libarts_akode.so.0.0.0 (kde-base/artsplugin-akode-3.5.9)
 *      used by /usr/lib/misc/xscreensaver/matrixview (x11-misc/rss-glx-0.8.1-r4)
 *      used by /usr/lib64/libguilegtk-2.0.so.0.0.0 (x11-libs/guile-gtk-2.0)
 *      used by /usr/lib64/sane/libsane-epkowa.so.1.0.15 (media-gfx/iscan-2.11.0)
 *  - /usr/lib64/libltdl.so.3.1.6
 *      used by /usr/kde/3.5/lib64/libarts_akode.so.0.0.0 (kde-base/artsplugin-akode-3.5.9)
 *      used by /usr/lib/misc/xscreensaver/matrixview (x11-misc/rss-glx-0.8.1-r4)
 *      used by /usr/lib64/libguilegtk-2.0.so.0.0.0 (x11-libs/guile-gtk-2.0)
 *      used by /usr/lib64/sane/libsane-epkowa.so.1.0.15 (media-gfx/iscan-2.11.0)
>>> package: dev-libs/DirectFB-1.2.3
 *  - /usr/lib64/libdirect-1.1.so.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 10 other files
 *  - /usr/lib64/libdirectfb-1.1.so.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 6 other files
 *  - /usr/lib64/libfusion-1.1.so.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 8 other files
 *  - /usr/lib64/libdirect-1.1.so.0.1.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 10 other files
 *  - /usr/lib64/libdirectfb-1.1.so.0.1.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 6 other files
 *  - /usr/lib64/libfusion-1.1.so.0.1.0
 *      used by /usr/bin/gnome-jabber (net-im/gnome-jabber-0.4)
 *      used by /usr/bin/ladcca_gtk_client (media-libs/ladcca-0.4.0-r1)
 *      used by /usr/bin/ladcca_save_button_2 (media-libs/ladcca-0.4.0-r1)
 *      used by 8 other files
>>> package: dev-libs/libmowgli-0.7.0
 *  - /usr/lib64/libmowgli.so.1
 *      used by /usr/lib64/gkrellm2/plugins/gkrellmms.so (x11-plugins/gkrellmms-2.1.22-r1)
 *  - /usr/lib64/libmowgli.so.1.0.0
 *      used by /usr/lib64/gkrellm2/plugins/gkrellmms.so (x11-plugins/gkrellmms-2.1.22-r1)
>>> package: kde-base/kdelibs-3.5.10
 *  - /usr/kde/3.5/lib64/libartskde.so.1
 *      used by /usr/bin/basket (x11-misc/basket-1.0.3.1)
 *      used by /usr/bin/kamix (media-sound/kamix-0.6.6)
 *      used by /usr/kde/3.5/bin/artsbuilder (kde-base/kdemultimedia-arts-3.5.9)
 *      used by 72 other files
 *  - /usr/kde/3.5/lib64/libkdnssd.so.1
 *      used by /usr/bin/kftpgrabber (net-ftp/kftpgrabber-0.8.1-r1)
 *      used by /usr/kde/3.5/bin/atlantik (kde-base/atlantik-3.5.10)
 *      used by /usr/kde/3.5/bin/atlantikdesigner (kde-base/atlantikdesigner-3.5.10)
 *      used by 43 other files
 *  - /usr/kde/3.5/lib64/libartskde.so.1.2.0
 *      used by /usr/bin/basket (x11-misc/basket-1.0.3.1)
 *      used by /usr/bin/kamix (media-sound/kamix-0.6.6)
 *      used by /usr/kde/3.5/bin/artsbuilder (kde-base/kdemultimedia-arts-3.5.9)
 *      used by 72 other files
 *  - /usr/kde/3.5/lib64/libkdnssd.so.1.0.0
 *      used by /usr/bin/kftpgrabber (net-ftp/kftpgrabber-0.8.1-r1)
 *      used by /usr/kde/3.5/bin/atlantik (kde-base/atlantik-3.5.10)
 *      used by /usr/kde/3.5/bin/atlantikdesigner (kde-base/atlantikdesigner-3.5.10)
 *      used by 43 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries


They are the same libs but in a different order.

Here is the list of what failed during the emerge:

Code:
 * ERROR: app-office/kpresenter-1.6.3 failed.
 * ERROR: dev-scheme/drscheme-4.1 failed.
 * ERROR: kde-base/blinken-3.5.10 failed.
 * ERROR: kde-base/juk-3.5.10 failed.
 * ERROR: kde-base/kalarm-3.5.10 failed.
 * ERROR: kde-base/kanagram-3.5.10 failed.
 * ERROR: kde-base/kbounce-3.5.10 failed.
 * ERROR: kde-base/kdemultimedia-arts-3.5.10 failed.
 * ERROR: kde-base/kolf-3.5.10 failed.
 * ERROR: kde-base/konq-plugins-3.5.10 failed.
 * ERROR: kde-base/kttsd-3.5.10 failed.
 * ERROR: kde-misc/kio-sword-0.2 failed.
 * ERROR: media-gfx/iscan-2.11.0 failed.
 * ERROR: media-libs/ladcca-0.4.0-r1 failed.
 * ERROR: media-sound/kamix-0.6.6 failed.
 * ERROR: net-im/gnome-jabber-0.4 failed.
 * ERROR: x11-libs/guile-gtk-2.0 failed.
 * ERROR: x11-misc/basket-1.0.3.1 failed.
 * ERROR: x11-misc/rss-glx-0.8.1-r4 failed.
 * ERROR: x11-plugins/gkrellmms-2.1.22-r1 failed.


I have looked these failures over. Some have bugs filed on them, some don't, but none of them particularly worry me. I don't use KDE or Gnome altho those are in my useflags, and most of these are dragged in by dependencies which I don't have any interest in. The KDE 3.5.* ones may be from having KDE4.* installed, and again I don't really care.

At any rate, every emerge ends with the same preserved libs report and emerging tries to emerge 65 packages of which 21 fail.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sun Oct 05, 2008 12:25 am    Post subject: Reply with quote

Well, I think you've answered your own question: emerge @preserved-rebuild doesn't do anything because you can't re-emerge programs that depend on the old libraries, and so the old libraries are left for those programs!

Now the question I'd like to ask you is, if you don't use KDE of GNOME, why would you leave the kde and gnome flags enabled? You'd save so much space and time if you just added "-kde -gnome" and did emerge -N @installed && emerge --depclean -a, and you wouldn't have this problem anymore! :P
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Felig
Apprentice
Apprentice


Joined: 22 Jun 2004
Posts: 180

PostPosted: Sun Oct 05, 2008 1:18 am    Post subject: Reply with quote

AM088 wrote:
Now the question I'd like to ask you is, if you don't use KDE of GNOME, why would you leave the kde and gnome flags enabled? You'd save so much space and time if you just added "-kde -gnome" and did emerge -N @installed && emerge --depclean -a, and you wouldn't have this problem anymore! :P


Because space is not an issue. I do use individual KDE and GNOME program occasionally, and I sometimes fire up a KDE or GNOME session out of curiousity.

Seriously, why anyone worries about space and time on modern computers is beyond my comprehension. On a notebook or a mission-specific server or a recycled low power machine, sure. But on a general purpose machine, it is a pointless worry. My weekly updates take, what, two hours instead of one hour? I should worry so much.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sun Oct 05, 2008 2:36 am    Post subject: Reply with quote

Felig wrote:

Because space is not an issue. I do use individual KDE and GNOME program occasionally, and I sometimes fire up a KDE or GNOME session out of curiousity.

Seriously, why anyone worries about space and time on modern computers is beyond my comprehension. On a notebook or a mission-specific server or a recycled low power machine, sure. But on a general purpose machine, it is a pointless worry. My weekly updates take, what, two hours instead of one hour? I should worry so much.


You must have a fast machine, because my Core2 Duo laptop usually doesn't finish updating KDE by next morning (Or I should go to bed earlier). And I have only 8 GB free...

I guess I misunderstood you because I associate KDE/Gnome as the stuff that comes with it, not necessarily the desktop session.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum