This ebuild specifies a runtime dependency on libdvdcss that allows it to be satisfied with a version that it is not runtime compatible with. Dependency from the ebuild: dvd? ( media-libs/libdvdcss:= ) Matching version of libdvdcss on my system: media-libs/libdvdcss-1.3.0 What is broken: logs from mythfrontend when I try to play a DVD Aug 30 19:29:44 pug xinit[7415]: libdvdnav: Using dvdnav version svnR1251 Aug 30 19:29:44 pug xinit[7415]: libdvdread: Missing symbols in libdvdcss.so.2, this shouldn't happen ! Aug 30 19:29:44 pug xinit[7415]: DVDcss_open=0x7fdb2c74a730 Aug 30 19:29:44 pug xinit[7415]: DVDcss_close=0x7fdb2c74b610 Aug 30 19:29:44 pug xinit[7415]: DVDcss_title=(nil) Aug 30 19:29:45 pug xinit[7415]: DVDcss_seek=0x7fdb2c74b740 Aug 30 19:29:45 pug xinit[7415]: DVDcss_read=0x7fdb2c74c0e0 Aug 30 19:29:45 pug xinit[7415]: DVDcss_error=0x7fdb2c74d000 Aug 30 19:29:45 pug xinit[7415]: dvdcss_version=(nil) Aug 30 19:29:45 pug xinit[7415]: libdvdread: Using libdvdcss version for DVD access Aug 30 19:29:45 pug xinit[7415]: Handling Erreur de segmentation Aug 30 19:29:46 pug xinit[7415]: /usr/bin/xinit: connection to X server lost The lines showing which symbols are missing was added by me. The reason is that libdvdcss removed these deprecated functions. There may be other version of libdvdcss that have these deprecated methods. Unfortunately I cannot use them because the latest version of libdvdread requires at least libdvdcss-1.3.0. So even if you fix this by modifying the libdvdcss dependency for mythtv, I won't be able to take the upgraded ebuild. What's frustrating is that the master branch of mythtv upstream updated to libdvdcss on 14 Jan in commit 2874f0d150342539644a5838f5147fa4c31f51ff. Maybe you could convince upstream to cherry pick this into fixes/0.27? Probably not since it's a feature and not a bugfix. If not I'm screwed unless I can figure out what to mask so I can downgrade libdvdcss to a version that mythtv actually works with. Do you happen to know what is the highest version of libdvdcss that actually works with mythtv-0.27.1_p20140817? It would be nice if there were an ebuild based of recent versions of master. Reproducible: Always Actual Results: mythfrontend crashes when trying to watch a DVD Expected Results: I can watch a DVD
Please post your `emerge --info media-libs/libdvdread media-libs/libdvdcss' output in a comment.
Created attachment 384214 [details] emerge info output of emerge --info media-libs/libdvdread media-libs/libdvdcss
Please be aware that even though the error logs say libdvdread, it is not code from the libdvdread package. What you are looking at is output from mythtv code that is copied from libdvdread. I was fooled by this at first and could not understand why my changes to libdvdread had no effect. Then I found the mythtv code that was a copy of it!
Reported upstream and they plan to work on backporting this. I have a bunch of mythplugin dependency improvements to make as well, so assuming they get to this early enough in the weekend I may get a chance to publish a new bump which includes it.
Ok, upstream backported this and it is fixed in the rich0 overlay. I'll leave this open until I commit it to portage in a few days, but you're welcome to test it in the meantime.
(In reply to Richard Freeman from comment #5) > Ok, upstream backported this and it is fixed in the rich0 overlay. I'll > leave this open until I commit it to portage in a few days, but you're > welcome to test it in the meantime. Thanks I'll let you know how it worksworks
(In reply to Joe Harvell from comment #6) > (In reply to Richard Freeman from comment #5) > > Ok, upstream backported this and it is fixed in the rich0 overlay. I'll > > leave this open until I commit it to portage in a few days, but you're > > welcome to test it in the meantime. > > Thanks I'll let you know how it worksworks Same result. I installed media-tv/mythtv-0.27.1_p20140817::portage-rich from rich0 in layman. I checked the sources in that package in mythtv/libs/libmythdvdnav/dvdread/dvd_input.c and the code is still looking for the same symbols. When I look at the head of branch fixes/0.27, the bug looks fixed: commit 2d4a7c9235287b0589035974bff282e3f2e9a7e5 (HEAD, refs/remotes/origin/fixes/0.27, refs/heads/fixes/0.27) Author: Richard Hulme <peper03@mythtv.org> Date: Sun Jan 19 11:29:44 2014 +0100 What branch and git revision is your package based off of ?
(In reply to Joe Harvell from comment #7) > > Same result. I installed media-tv/mythtv-0.27.1_p20140817::portage-rich > from rich0 in layman. > > ... > > What branch and git revision is your package based off of ? It is fixed in 0.27.3_p20140907. It is based off of fixes/0.27 as of this morning, just after the commits that made the fix. You might want to re-sync if you don't have that, or make sure that you don't have 0.27.3 unmasked. There are only a few patches difference between this and the last ebuild despite the version number change. 0.27.3 is just a tag off of fixes/0.27 which we've been following all along - I just wanted to wait to change the version until they marked it as released.
(In reply to Richard Freeman from comment #8) > (In reply to Joe Harvell from comment #7) > > > > Same result. I installed media-tv/mythtv-0.27.1_p20140817::portage-rich > > from rich0 in layman. > > > > ... > > > > What branch and git revision is your package based off of ? > > It is fixed in 0.27.3_p20140907. It is based off of fixes/0.27 as of this > morning, just after the commits that made the fix. You might want to > re-sync if you don't have that, or make sure that you don't have 0.27.3 > unmasked. > > There are only a few patches difference between this and the last ebuild > despite the version number change. 0.27.3 is just a tag off of fixes/0.27 > which we've been following all along - I just wanted to wait to change the > version until they marked it as released. Ok. 0.27.3 was blocked by mythplugins. I uninstalled mythplugins, then installed 02.7.3_p20140907::portage-rich. It fixes the problem. Thanks for turning this around so quickly!
(In reply to Joe Harvell from comment #9) > Ok. 0.27.3 was blocked by mythplugins. I uninstalled mythplugins, then > installed 02.7.3_p20140907::portage-rich. It fixes the problem. Thanks for > turning this around so quickly! It shouldn't be blocked as long as you also install the matching mythplugins version from that overlay. In any case, glad it is working, and this will be in the main tree in a few days. The dependency logic in mythplugins is also greatly improve, and automatic rebuilds should now work.
in portage now