* [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-07 21:34 [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild? michael
@ 2006-09-08 7:27 ` Marc Blumentritt
2006-09-08 13:00 ` Dale
2006-09-08 7:37 ` [gentoo-user] " Richard Fish
2006-09-08 7:54 ` Alan McKinnon
2 siblings, 1 reply; 21+ messages in thread
From: Marc Blumentritt @ 2006-09-08 7:27 UTC (permalink / raw
To: gentoo-user
michael@michaelshiloh.com schrieb:
> I'm upgrading my gcc from 3.x to 4.x. I've done the gcc switching, and
> now I'm
> updating my system.
>
> The recommended steps are:
>
> # emerge -eav system
> # emerge -eav world
>
> While emerging my system I received a message suggesting I run
> revdep-rebuild:
>
> warning - be sure to run revdep-rebuild now
>
> My question is, should I run revdep-rebuild right after emerging the
> system,
> or should I wait until after I emerge world? My concern was that in
> between,
> my system is in an unstable intermediate state, and it might be damaged
> by a
> revdep-rebuild in between.
Well, you rebuild world, which includes all packages you would rebuild
with revdep-rebuild. I would run revdep-rebuild after the rebuild of
world, just to be sure. I also recommend to look through the info
outputs of every emerge, if you missed something, e.g. I had messages
like "rebuild against the new library, than it is save to delete the old
one." If you miss this, then you have cruft libs on your system.
Cheers
Marc
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-08 7:27 ` [gentoo-user] " Marc Blumentritt
@ 2006-09-08 13:00 ` Dale
2006-09-08 19:22 ` Marc Blumentritt
2006-09-08 19:38 ` Bo Ørsted Andresen
0 siblings, 2 replies; 21+ messages in thread
From: Dale @ 2006-09-08 13:00 UTC (permalink / raw
To: gentoo-user
Marc Blumentritt wrote:
> <snip>
> I would run revdep-rebuild after the rebuild of
> world, just to be sure.
>
< snip>
> Cheers
> Marc
>
>
>
I did that too. I'm not sure if it is just me or what but every time I
run revdep-rebuild it wants to emerge gcc again. It did the same thing
before the gcc upgrade. If you run it, you may want to post to make
sure it is making sense. After three runs, I said forget it. It'll
just have to keep. I read somewhere it was a bug. I dunno.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-08 13:00 ` Dale
@ 2006-09-08 19:22 ` Marc Blumentritt
2006-09-08 19:42 ` Dale
2006-09-08 19:38 ` Bo Ørsted Andresen
1 sibling, 1 reply; 21+ messages in thread
From: Marc Blumentritt @ 2006-09-08 19:22 UTC (permalink / raw
To: gentoo-user
Dale schrieb:
> Marc Blumentritt wrote:
> I did that too. I'm not sure if it is just me or what but every time I
> run revdep-rebuild it wants to emerge gcc again. It did the same thing
> before the gcc upgrade. If you run it, you may want to post to make
> sure it is making sense. After three runs, I said forget it. It'll
> just have to keep. I read somewhere it was a bug. I dunno.
Did you remove the temporary files of revdep-rebuild from /root?
I had no problems with the upgrade and running revdep-rebuild afterward.
In fact, revdep-rebuild showed me no package at all to rebuild, which
was what I expected.
Cheers
Marc
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-08 19:22 ` Marc Blumentritt
@ 2006-09-08 19:42 ` Dale
0 siblings, 0 replies; 21+ messages in thread
From: Dale @ 2006-09-08 19:42 UTC (permalink / raw
To: gentoo-user
Marc Blumentritt wrote:
> Dale schrieb:
>
>> Marc Blumentritt wrote:
>> I did that too. I'm not sure if it is just me or what but every time I
>> run revdep-rebuild it wants to emerge gcc again. It did the same thing
>> before the gcc upgrade. If you run it, you may want to post to make
>> sure it is making sense. After three runs, I said forget it. It'll
>> just have to keep. I read somewhere it was a bug. I dunno.
>>
>
> Did you remove the temporary files of revdep-rebuild from /root?
>
> I had no problems with the upgrade and running revdep-rebuild afterward.
> In fact, revdep-rebuild showed me no package at all to rebuild, which
> was what I expected.
>
> Cheers
> Marc
>
>
I remove those each time. It is sort of a habit now. I run it on
occasion especially if I remove something. Just to make sure.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-08 13:00 ` Dale
2006-09-08 19:22 ` Marc Blumentritt
@ 2006-09-08 19:38 ` Bo Ørsted Andresen
2006-09-08 21:14 ` Dale
1 sibling, 1 reply; 21+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-08 19:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
On Friday 08 September 2006 15:00, Dale wrote:
> I'm not sure if it is just me or what but every time I
> run revdep-rebuild it wants to emerge gcc again. It did the same thing
> before the gcc upgrade.
It is bug #125728 [1]? Otherwise if it continues consider posting the output
of:
# revdep-rebuild -i -- -vp
[1] http://bugs.gentoo.org/show_bug.cgi?id=125728
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-08 19:38 ` Bo Ørsted Andresen
@ 2006-09-08 21:14 ` Dale
2006-09-08 21:27 ` Richard Fish
2006-09-08 21:53 ` Neil Bothwick
0 siblings, 2 replies; 21+ messages in thread
From: Dale @ 2006-09-08 21:14 UTC (permalink / raw
To: gentoo-user
Bo Ørsted Andresen wrote:
> On Friday 08 September 2006 15:00, Dale wrote:
>
>> I'm not sure if it is just me or what but every time I
>> run revdep-rebuild it wants to emerge gcc again. It did the same thing
>> before the gcc upgrade.
>>
>
> It is bug #125728 [1]? Otherwise if it continues consider posting the output
> of:
>
> # revdep-rebuild -i -- -vp
>
> [1] http://bugs.gentoo.org/show_bug.cgi?id=125728
>
>
This is what your command gave me:
> root@smoker / # revdep-rebuild -i -- -vp
> Configuring search environment for revdep-rebuild
>
> Checking reverse dependencies...
>
> Packages containing binaries and libraries broken by a package update
> will be emerged.
>
> Collecting system binaries and libraries... done.
> (/root/.revdep-rebuild.1_files)
>
> Collecting complete LD_LIBRARY_PATH... done.
> (/root/.revdep-rebuild.2_ldpath)
>
> Checking dynamic linking consistency...
> broken /usr/lib/aqbanking/plugins/0/bankinfo/de.la (requires
> /usr/lib/libaqbanking.la)
> broken /usr/lib/aqbanking/plugins/0/bankinfo/de.la (requires
> /usr/lib/libgwenhywfar.la)
> broken /usr/lib/aqbanking/plugins/0/imexporters/ofx.la (requires
> /usr/lib/libaqbanking.la)
> broken /usr/lib/aqbanking/plugins/0/imexporters/ofx.la (requires
> /usr/lib/libgwenhywfar.la)
> broken /usr/lib/aqbanking/plugins/0/providers/aqofxconnect.la
> (requires /usr/lib/libaqbanking.la)
> broken /usr/lib/aqbanking/plugins/0/providers/aqofxconnect.la
> (requires /usr/lib/libgwenhywfar.la)
> broken /usr/lib/avifile-0.7/ac3pass.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/ac3pass.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/audiodec.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/audiodec.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/ffmpeg.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/ffmpeg.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/mad_audiodec.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/mad_audiodec.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/osmjpeg.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/osmjpeg.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/vorbis_audio.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/vorbis_audio.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/win32.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/win32.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/avifile-0.7/xvid4.la (requires
> /usr/lib/libaviplayavformat.la)
> broken /usr/lib/avifile-0.7/xvid4.la (requires
> /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la (requires
> /usr/lib/lib-gnu-java-awt-peer-gtk.la)
> broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires
> /usr/lib/libgcj.la)
> broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> /usr/kde/3.4/lib/libkio.la)
> broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> /usr/kde/3.4/lib/libkdesu.la)
> broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> /usr/kde/3.4/lib/libkwalletclient.la)
> broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> /usr/kde/3.4/lib/libkdeui.la)
> broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> /usr/kde/3.4/lib/libkdecore.la)
> broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> /usr/kde/3.4/lib/libDCOP.la)
> broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> /usr/kde/3.4/lib/libkdefx.la)
> broken /usr/lib/libaqbankingpp.la (requires /usr/lib/libaqbanking.la)
> broken /usr/lib/libaqbankingpp.la (requires /usr/lib/libgwenhywfar.la)
> broken /usr/lib/libaqofxconnect.la (requires /usr/lib/libaqbanking.la)
> broken /usr/lib/libaqofxconnect.la (requires /usr/lib/libgwenhywfar.la)
> broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavformat.la)
> broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/libkbanking.la (requires /usr/lib/libaqbanking.la)
> broken /usr/lib/libkbanking.la (requires /usr/lib/libgwenhywfar.la)
> broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavformat.la)
> broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavcodec.la)
> broken /usr/lib/libqbanking.la (requires /usr/lib/libaqbanking.la)
> broken /usr/lib/libqbanking.la (requires /usr/lib/libgwenhywfar.la)
> done.
> (/root/.revdep-rebuild.3_rebuild)
>
> Assigning files to ebuilds... done.
> (/root/.revdep-rebuild.4_ebuilds)
>
> Evaluating package order... done.
> (/root/.revdep-rebuild.5_order)
>
> All prepared. Starting rebuild...
> emerge --oneshot -vp =sys-devel/gcc-4.1.1
> ..........
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] sys-devel/gcc-4.1.1 USE="doc fortran gcj gtk nls
> -bootstrap -build -hardened -ip28 -ip32r10k -mudflap -multislot -nocxx
> -objc -objc++ -objc-gc -test -vanilla" 0 kB
>
> Total size of downloads: 0 kB
> Build finished correctly. Removing temporary files...
> You can re-run revdep-rebuild to verify that all libraries and binaries
> are fixed. If some inconsistency remains, it can be orphaned file, deep
> dependency, binary package or specially evaluated library.
> root@smoker / #
I unmerged aqbanking. It wouldn't compile and I was not using it anyway.
What you think? Bug or me having a setting wrong??
Dale
;-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-08 21:14 ` Dale
@ 2006-09-08 21:27 ` Richard Fish
[not found] ` <450221F1.9070806@vista-express.com>
2006-09-08 21:53 ` Neil Bothwick
1 sibling, 1 reply; 21+ messages in thread
From: Richard Fish @ 2006-09-08 21:27 UTC (permalink / raw
To: gentoo-user
On 9/8/06, Dale <teendale@vista-express.com> wrote:
> > Checking dynamic linking consistency...
> > broken /usr/lib/aqbanking/plugins/0/bankinfo/de.la (requires
> > /usr/lib/libaqbanking.la)
Since you don't have aqbanking installed anymore, just delete these
files, and probably the entire /usr/lib/qabanking directory. Might
want to run an "equery belongs /usr/lib/aqbanking" first just to make
sure nothing claims ownership of those files first...
> > broken /usr/lib/avifile-0.7/ac3pass.la (requires
> > /usr/lib/libaviplayavformat.la)
> > broken /usr/lib/avifile-0.7/ac3pass.la (requires
...
I suspect this is the same as aqbanking..no longer installed, so same
solution. "Equery belongs" to be sure...
> > broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcjawt.la (requires
> > /usr/lib/lib-gnu-java-awt-peer-gtk.la)
> > broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires
> > /usr/lib/libgcj.la)
Definitely bug #125728. I believe comment #29 contains the best
workarounds until a fix is actually applied.
> > broken /usr/lib/kde3/libk3blibsndfiledecoder.la (requires
> > /usr/kde/3.4/lib/libkio.la)
...
Here again, "equery belongs /usr/lib/kde3/libk3blibsndfiledecoder.la".
If nothing owns it, just remove it.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-08 21:14 ` Dale
2006-09-08 21:27 ` Richard Fish
@ 2006-09-08 21:53 ` Neil Bothwick
1 sibling, 0 replies; 21+ messages in thread
From: Neil Bothwick @ 2006-09-08 21:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 879 bytes --]
On Fri, 08 Sep 2006 16:14:53 -0500, Dale wrote:
> > broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavformat.la)
> > broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavcodec.la)
> > broken /usr/lib/libqbanking.la (requires /usr/lib/libaqbanking.la)
> > broken /usr/lib/libqbanking.la (requires /usr/lib/libgwenhywfar.la)
[repeated]
>
> I unmerged aqbanking. It wouldn't compile and I was not using it
> anyway.
>
> What you think? Bug or me having a setting wrong??
Did you run fix_libtool_files.sh between merging and unmerging aqbanking?
This changes .la files, which means that their checksums no longer match
the installed versions so portage doesn't remove them. Whether this is a
bug in fix_libtool_files.sh or portage is open for discussion.
--
Neil Bothwick
When companies ship Styrofoam, what do they pack it in?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-07 21:34 [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild? michael
2006-09-08 7:27 ` [gentoo-user] " Marc Blumentritt
@ 2006-09-08 7:37 ` Richard Fish
2006-09-08 7:54 ` Alan McKinnon
2 siblings, 0 replies; 21+ messages in thread
From: Richard Fish @ 2006-09-08 7:37 UTC (permalink / raw
To: gentoo-user
On 9/7/06, michael@michaelshiloh.com <michael@michaelshiloh.com> wrote:
> I'm upgrading my gcc from 3.x to 4.x. I've done the gcc switching, and now I'm
> updating my system.
>
> The recommended steps are:
>
> # emerge -eav system
> # emerge -eav world
>
> While emerging my system I received a message suggesting I run revdep-rebuild:
>
> warning - be sure to run revdep-rebuild now
Um, I believe you can ignore this. The emerge -eav world will rebuild
all packages...there is nothing that revdep-rebuild will catch that
world won't.
Now if you want to keep /using/ the system while it is rebuilding, you could do:
emerge -eav system # if already complete, don't repeat
revdep-rebuild --library libstdc++.so.6
emerge -eav world
The revdep-rebuild command will recompile all C++ applications, and
will take a damn long time to run. But less time than rebuilding
world, and once it completes, your C++ apps should at least be sane.
Otherwise you might get ABI conflicts while the world rebuild is going
on.
Of course, those same C++ apps are going to be rebuilt during the
world step...which is kind of lame. There are some tricks you can use
to avoid rebuilding things twice...search the archives of this list
for ideas.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild?
2006-09-07 21:34 [gentoo-user] gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild? michael
2006-09-08 7:27 ` [gentoo-user] " Marc Blumentritt
2006-09-08 7:37 ` [gentoo-user] " Richard Fish
@ 2006-09-08 7:54 ` Alan McKinnon
2006-09-08 8:23 ` Richard Fish
2 siblings, 1 reply; 21+ messages in thread
From: Alan McKinnon @ 2006-09-08 7:54 UTC (permalink / raw
To: gentoo-user
On Thursday 07 September 2006 23:34, michael@michaelshiloh.com
wrote:
> I'm upgrading my gcc from 3.x to 4.x. I've done the gcc
> switching, and now I'm updating my system.
>
> The recommended steps are:
>
> # emerge -eav system
> # emerge -eav world
>
> While emerging my system I received a message suggesting I
> run revdep-rebuild:
>
> warning - be sure to run revdep-rebuild now
>
> My question is, should I run revdep-rebuild right after
> emerging the system, or should I wait until after I emerge
> world? My concern was that in between, my system is in an
> unstable intermediate state, and it might be damaged by a
> revdep-rebuild in between.
There's no need to run revdep-rebuild, whatever you do it will
be redundant. The notices you are seeing are primarily intended
for when you explicitly emerge packages that other packages may
link to. So everything that might be relevant to the notice you
see is going to be recompiled anyway when you run 'emerge -e
world'.
As previously noted on this list, the mention of using
revdep-rebuild as a shortcut when upgrading gcc was intended
for the move from 3.3 to 3.4 *only*. The specifics of that
upgrade made this shortcut possible, in all other upgrades you
definitely don't use it. i.e. the guide is in need of an uodate
to make this explicitly clear. If you need more info, ask
Richard for the inside dope - he's the resident gcc expert
around here :-)
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread