Gentoo Forums
Gentoo Forums
Quick Search: in
make revdep-rebuild give the emerge line without the version
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
t35t0r
n00b
n00b


Joined: 27 Feb 2005
Posts: 68
Location: irc.freenode.net

PostPosted: Sat Sep 29, 2007 8:27 pm    Post subject: make revdep-rebuild give the emerge line without the version Reply with quote

app-portage/gentoolkit-0.2.4_pre7 (/usr/bin/revdep-rebuild)
[I--] [ ~] sys-apps/portage-2.1.3.11 (0)

-X option doesn't exist anymore? How do i not get it give the versions for the emerge line (i.e. revdep-rebuild -p)
Back to top
View user's profile Send private message
t35t0r
n00b
n00b


Joined: 27 Feb 2005
Posts: 68
Location: irc.freenode.net

PostPosted: Sat Sep 29, 2007 9:01 pm    Post subject: Reply with quote

everyone keeps saying the new revdep-rebuild implies -X but it doesn't, it's broken:

# revdep-rebuild -p -i -X

WARNING
WARNING *** This is a rewritten version of revdep-rebuild ***
WARNING
WARNING
WARNING Please report any bugs to http://bugs.gentoo.org
WARNING
WARNING In the bug report please include the following information:
WARNING emerge --info
WARNING A copy of the output from the revdep-rebuild command
WARNING A copy of the .revdep-rebuild* files as an attachment
WARNING
WARNING If the bug is severe, the previous version of revdep-rebuild is located
WARNING at: /usr/lib/gentoolkit/bin/revdep-rebuild
WARNING
WARNING
WARNING *** This is a rewritten version of revdep-rebuild ***
WARNING

* 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
* Generated new /root/.revdep-rebuild.1_files

* Collecting complete LD_LIBRARY_PATH
* Generated new /root/.revdep-rebuild.2_ldpath

* Checking dynamic linking consistency
[ 8% ] * broken /usr/bin/firestarter (requires libexpat.so.0)
[ 16% ] * broken /usr/bin/ogg123 (requires libFLAC.so.7
libOggFLAC.so.3)
* broken /usr/bin/oggenc (requires libFLAC.so.7
libOggFLAC.so.3)
[ 18% ] * broken /usr/bin/playsound (requires libFLAC.so.7)
[ 21% ] * broken /usr/bin/sndfile-resample (requires libFLAC.so.7)
[ 27% ] * broken /usr/kde/3.5/bin/kwifimanager (requires libiw.so.28)
* broken /usr/kde/3.5/lib/kde3/exrthumbnail.so (requires libHalf.so.4
libIex.so.4
libIlmImf.so.4
libIlmThread.so.4
libImath.so.4)
[ 31% ] * broken /usr/kde/3.5/lib/kde3/libaudiocd_encoder_flac.so (requires libFLAC.so.7)
[ 34% ] * broken /usr/kde/3.5/lib/libkwireless.so (requires libiw.so.28)
[ 57% ] * broken /usr/lib/gstreamer-0.8/libgstflac.so (requires libFLAC.so.7)
[ 61% ] * broken /usr/lib/kde3/libk3bflacdecoder.so (requires libFLAC++.so.5
libFLAC.so.7)
* broken /usr/lib/kde3/libk3blibsndfiledecoder.so (requires libFLAC.so.7)
* broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires libFLAC.so.7)
[ 65% ] * broken /usr/lib/libgnashbackend-0.8.0.so (requires libx264.so.54)
* broken /usr/lib/libgnashbase-0.8.0.so (requires libx264.so.54)
* broken /usr/lib/libgnashgui-0.8.0.so (requires libx264.so.54)
* broken /usr/lib/libgnashplayer-0.8.0.so (requires libx264.so.54)
* broken /usr/lib/libgnashserver-0.8.0.so (requires libx264.so.54)
[ 69% ] * broken /usr/lib/libquicktime/lqt_ffmpeg.so (requires libx264.so.54)
[ 70% ] * broken /usr/lib/libquicktime/lqt_x264.so (requires libx264.so.54)
[ 78% ] * broken /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so (requires libexpat.so.0)
[ 90% ] * broken /usr/lib/vlc/codec/libffmpeg_plugin.so (requires libx264.so.54)
* broken /usr/lib/vlc/codec/libflacdec_plugin.so (requires libFLAC.so.7)
* broken /usr/lib/vlc/codec/libx264_plugin.so (requires libx264.so.54)
[ 91% ] * broken /usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so (requires libx264.so.54)
[ 94% ] * broken /usr/lib/xine/plugins/1.1.8/xineplug_decode_ff.so (requires libx264.so.54)
[ 95% ] * broken /usr/lib/xine/plugins/1.1.8/xineplug_flac.so (requires libFLAC.so.7)
[ 100% ]
* Generated new /root/.revdep-rebuild.3_rebuild

* Assigning files to packages
* /usr/bin/firestarter -> net-firewall/firestarter
* /usr/bin/ogg123 -> media-sound/vorbis-tools
* /usr/bin/oggenc -> media-sound/vorbis-tools
* /usr/bin/playsound -> media-libs/sdl-sound
* /usr/bin/sndfile-resample -> media-libs/libsamplerate
* /usr/kde/3.5/bin/kwifimanager -> kde-base/kwifimanager
* /usr/kde/3.5/lib/kde3/exrthumbnail.so -> kde-base/kdebase-kioslaves
* /usr/kde/3.5/lib/kde3/libaudiocd_encoder_flac.so -> kde-base/kdemultimedia-kioslaves
* /usr/kde/3.5/lib/libkwireless.so -> kde-base/kwifimanager
* /usr/lib/gstreamer-0.8/libgstflac.so -> media-plugins/gst-plugins-flac
* /usr/lib/kde3/libk3bflacdecoder.so -> app-cdr/k3b
* /usr/lib/kde3/libk3blibsndfiledecoder.so -> app-cdr/k3b
* /usr/lib/libSDL_sound-1.0.so.1.0.0 -> media-libs/sdl-sound
* /usr/lib/libgnashbackend-0.8.0.so -> net-www/gnash
* /usr/lib/libgnashbase-0.8.0.so -> net-www/gnash
* /usr/lib/libgnashgui-0.8.0.so -> net-www/gnash
* /usr/lib/libgnashplayer-0.8.0.so -> net-www/gnash
* /usr/lib/libgnashserver-0.8.0.so -> net-www/gnash
* /usr/lib/libquicktime/lqt_ffmpeg.so -> media-libs/libquicktime
* /usr/lib/libquicktime/lqt_x264.so -> media-libs/libquicktime
* !!! /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so not owned by any package is broken !!!
* -n -e
/usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so -> (none)
* /usr/lib/vlc/codec/libffmpeg_plugin.so -> media-video/vlc
* /usr/lib/vlc/codec/libflacdec_plugin.so -> media-video/vlc
* /usr/lib/vlc/codec/libx264_plugin.so -> media-video/vlc
* /usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so -> media-video/vlc
* /usr/lib/xine/plugins/1.1.8/xineplug_decode_ff.so -> media-libs/xine-lib
* /usr/lib/xine/plugins/1.1.8/xineplug_flac.so -> media-libs/xine-lib
* Generated new /root/.revdep-rebuild.4_packages_raw and /root/.revdep-rebuild.4_package_owners

* Cleaning list of packages to rebuild
* Generated new /root/.revdep-rebuild.4_packages

* Assigning packages to ebuilds
* Generated new /root/.revdep-rebuild.4_ebuilds

* Evaluating package order
* Generated new /root/.revdep-rebuild.5_order

* All prepared. Starting rebuild
emerge --oneshot --pretend =media-libs/libsamplerate-0.1.2-r1 =media-sound/vorbis-tools-1.1.1-r3 =media-libs/libquicktime-1.0.0 =media-libs/sdl-sound-1.0.1-r2 =kde-base/kwifimanager-3.5.7 =net-www/gnash-0.8.0 =kde-base/kdebase-kioslaves-3.5.7-r1 =kde-base/kdemultimedia-kioslaves-3.5.7 =media-libs/xine-lib-1.1.8 =app-cdr/k3b-1.0.3 =media-video/vlc-0.8.6c

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] media-libs/libsamplerate-0.1.2-r1
[ebuild R ] media-sound/vorbis-tools-1.1.1-r3
[ebuild R ] media-libs/libquicktime-1.0.0
[ebuild R ] media-libs/sdl-sound-1.0.1-r2
[ebuild R ] kde-base/kwifimanager-3.5.7
[ebuild R ] net-www/gnash-0.8.0
[ebuild R ] kde-base/kdebase-kioslaves-3.5.7-r1
[ebuild R ] kde-base/kdemultimedia-kioslaves-3.5.7
[ebuild R ] media-libs/xine-lib-1.1.8
[ebuild R ] media-video/vlc-0.8.6c
[ebuild R ] app-cdr/k3b-1.0.3
* Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
Back to top
View user's profile Send private message
t35t0r
n00b
n00b


Joined: 27 Feb 2005
Posts: 68
Location: irc.freenode.net

PostPosted: Sun Sep 30, 2007 4:44 am    Post subject: Reply with quote

http://bugs.gentoo.org/show_bug.cgi?id=194229
http://bugs.gentoo.org/show_bug.cgi?id=187366

..no resolution yet.
Back to top
View user's profile Send private message
gagern
n00b
n00b


Joined: 26 Nov 2003
Posts: 38

PostPosted: Sun Sep 30, 2007 2:25 pm    Post subject: Reply with quote

I might be wrong, but it is my understanding that revdep-rebuild will always give a version in the emerge command. However, with old revdep-rebuild without -X this always was the version of the ebuild currently installed, whereas with -X or with the new revdep-rebuild, the version will always be the latest version of that package (probably for the affected slot). So if your only worry is that there are version numbers in the emerge invocation, that should be no problem if these are the version numbers of the latest versions. If it tries to emerge outdated versions, this would really feel like a bug. If so, you should give more details, like for example the version revdep-rebuild would remerge, compared to the version an emerge invocation with no version numbers would use.
Back to top
View user's profile Send private message
t35t0r
n00b
n00b


Joined: 27 Feb 2005
Posts: 68
Location: irc.freenode.net

PostPosted: Sun Sep 30, 2007 3:52 pm    Post subject: Reply with quote

Quote:
whereas with -X or with the new revdep-rebuild, the version will always be the latest version of that package (probably for the affected slot). So if your only worry is that there are version numbers in the emerge invocation, that should be no problem if these are the version numbers of the latest versions.


Yes that was my worry. If the behavior is what you described that's fine and it saves emerge from having to analyze for versions again in its processing.
Back to top
View user's profile Send private message
FuzzyRay
Developer
Developer


Joined: 02 Oct 2003
Posts: 68

PostPosted: Mon Oct 01, 2007 6:47 pm    Post subject: Reply with quote

As I just posted in Bug 194229:

It is working as designed. -X is no longer a usable option and is only present for backwards compatibility. Secondly, you are misunderstanding how revdep-rebuild works. revdep-rebuild always passes the version to the emerge command. The difference is when in exact mode, it will pass the version that is currently installed. When not in exact mode, it will determine the best version available and pass that to the emerge command. This can be seen by the following output:

# revdep-rebuild --exact --verbose --pretend
...
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-perl/XML-Parser-2.34 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

# revdep-rebuild --verbose --pretend
...
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] dev-perl/XML-Parser-2.34-r1 [2.34] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
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