Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202433 - libdvdnav-4.1.1 collides with libdvdread-0.9.7
Summary: libdvdnav-4.1.1 collides with libdvdread-0.9.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-16 00:24 UTC by Matthias Langer
Modified: 2008-05-12 15:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Langer 2007-12-16 00:24:38 UTC
this is what i get when trying to merge media-libs/libdvdnav-4.1.1:

* Detected file collision(s):
* 
*      /usr/include/dvdread/nav_read.h
*      /usr/include/dvdread/ifo_types.h
*      /usr/include/dvdread/ifo_read.h
*      /usr/include/dvdread/ifo_print.h
*      /usr/include/dvdread/dvd_reader.h
*      /usr/include/dvdread/nav_print.h
*      /usr/include/dvdread/nav_types.h
*      /usr/lib64/libdvdread.la
*      /usr/lib64/libdvdread.so
* 
* Searching all installed packages for file collisions...
* 
* Press Ctrl-C to Stop
* 
* media-libs/libdvdread-0.9.7
*      /usr/include/dvdread/nav_read.h
*      /usr/include/dvdread/ifo_types.h
*      /usr/include/dvdread/ifo_read.h
*      /usr/include/dvdread/ifo_print.h
*      /usr/include/dvdread/dvd_reader.h
*      /usr/include/dvdread/nav_print.h
*      /usr/include/dvdread/nav_types.h
*      /usr/lib64/libdvdread.la
*      /usr/lib64/libdvdread.so
Comment 1 Vlad 2008-01-15 09:44:02 UTC
According http://www.mplayerhq.hu/DOCS/tech/dvdnav-howto.txt the new version of libdvdnav provides libdvdread as well, so if you use mplayer's libdvdnav I would suggest:
1) emerge -C libdvdnav
2) echo media-libs/libdvdread-0.9.7 >>/etc/portage/profile/package.provided
3) revdep-rebuild -av
I'm not sure if everything could be compiles agaings the new version....
Comment 2 taipan67 2008-01-22 15:00:51 UTC
Modifying the ebuild to read <RDEPEND="!media-libs/libdvdread"> as in "_NOT_ media-libs/libdvdread" resolves this (on a fresh install, at least)...

...However, if it's desired for 'dvdnav://' functionality in mplayer, you'll lose the use of 'libdvdcss' in the process. I've hacked this ebuild & the mplayer one with just that objective in mind, & there appears to be no way to have both options at once - i'm gonna query this upstream at mplayer shortly...

I don't want to attach any patches/ebuilds here, as my modifications were made without consulting any 'ebuild-writing guides' (the wiki-guide i had wasn't there when i looked).

Additionally, such a 'blocking-modification' would need to be mirrored in the libdvdread-ebuilds, too, if it were to enter portage.
Comment 3 lordcris 2008-05-11 11:27:20 UTC
hello,
i cannot install vlc having mplayer installed because of the conflict between libdvdnav and libdvdread.
what should i do?

emerge -pv vlc

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

Calculating dependencies   waiting for lock on /var/db/.pkg.portage_lockfile
... done!
[ebuild  N    ] media-libs/libdvdnav-4.1.1_p997-r1  USE="-debug" 153 kB [1]
[ebuild  N    ] media-video/vlc-0.9.0_alpha20080409  USE="X a52 aac alsa bidi cdda cdio dbus dts dvb dvd esd ffmpeg flac gnutls hal httpd live matroska mmx mp3 mpeg musepack musicbrainz ncurses ogg opengl optimisememory oss png qt4 rtsp samba sdl skins sse stream svg theora truetype v4l v4l2 vcd vlm vorbis win32codecs wxwindows x264 xml xv -3dfx -aalib (-altivec) -arts -atmo -avahi -cddb -daap -dc1394 -debug -directfb -fbcon -fluidsynth -ggi -gnome -id3tag -jack -libcaca -libnotify -lirc -lua -modplug -nsplugin -pulseaudio -pvr -sdl-image -seamonkey -shout -speex -svga -taglib -twolame -upnp -vcdx -xinerama -xosd -xulrunner" 0 kB
[blocks B     ] media-libs/libdvdread (is blocking media-libs/libdvdnav-4.1.1_p997-r1)

Total: 2 packages (2 new), Size of downloads: 153 kB
Conflict: 1 block (1 unsatisfied)
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2008-05-12 15:31:02 UTC
libdvdnav-4.1.1 was removed from the tree, partially because of the collisions.  If you want to install it, it's a blocker to libdvdread.

I've setup a personal overlay where you can get it in the meantime if you're interested.

http://overlays.gentoo.org/dev/beandog/browser