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

Bug 108570

Summary: libquicktime links to libdv with USE="-dv" set
Product: Gentoo Linux Reporter: spiralvoice <spiralvoice>
Component: New packagesAssignee: Marc Hildebrand (RETIRED) <zypher>
Status: RESOLVED FIXED    
Severity: normal CC: media-video
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description spiralvoice 2005-10-09 01:33:19 UTC
I have installed this:

[ebuild   R   ] media-libs/libquicktime-0.9.7  -dv +gtk +ieee1394 +jpeg +mmx
+oggvorbis +png 747 kB

revdep-rebuild prints this:
  broken /usr/lib/libquicktime1394.so.0.0.0 (requires  libdv.so.4)
  broken /usr/lib/libquicktime/lqt_dv.so (requires  libdv.so.4)
  broken /usr/lib/libquicktime/lqt_mjpeg.so (requires  libjpeg-mmx.so.62)

after I yesterday removed some packages:
media-libs/libdv-0.104
media-libs/jpeg-mmx-0.1.6-r1

These were installed as dependencies of cinerella-cvs which I also removed.

I guess libquicktime pulled in libdv during compile after I installed cinerella,
although the USE flag "dv" was not set. Any possibility to avoid this?

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-09 02:00:42 UTC
Not libquicktime w/ USE="-dv"... Use 'equery depends media-libs/libdv' to find
out what depends on it. 
Comment 2 spiralvoice 2005-10-09 03:50:33 UTC
gentoo ~ # equery depends media-libs/libdv
[ Searching for packages depending on media-libs/libdv... ]
media-libs/libdvdnav-0.1.10
media-libs/libquicktime-0.9.7
media-libs/libdvdplay-1.0.1
media-libs/libdvdread-0.9.4-r1
media-video/transcode-0.6.14-r2
media-video/mplayer-1.0_pre7-r1
media-video/vlc-0.8.2-r2

Although only libquicktime was found by revdep-rebuild.
I bet when I rebuild libquicktime it will not be linked to libdv anymore.

However jpeg-mmx shows different dependencies:
gentoo ~ # equery depends media-libs/jpeg-mmx
[ Searching for packages depending on media-libs/jpeg-mmx... ]
gentoo ~ # 

So the question is, why do libquicktime binaries link to libs which were not
requested by USE flags? My guess is, that, if for example libdv is present
on the system, although "-dv" is set, libquicktime links against it.
Can this be avoided to reduce unnecessary recompiling of installed packages?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-10-09 04:21:39 UTC
OK, thanks, changing the summary. It also seems to use deprecated oggvorbis USE
flag.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-15 17:28:17 UTC
Added a patch to avoid this problem.