Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521790 - media-tv/mythtv? - libdvdread: Missing symbols in libdvdcss.so.2, this shouldn't happen !
Summary: media-tv/mythtv? - libdvdread: Missing symbols in libdvdcss.so.2, this should...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: MythTV Maintainers
URL: http://www.mythtv.org/pipermail/mytht...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 02:03 UTC by Joe Harvell
Modified: 2014-09-08 16:31 UTC (History)
0 users

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


Attachments
emerge info (ei.txt,5.29 KB, text/plain)
2014-09-05 01:15 UTC, Joe Harvell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Harvell 2014-08-31 02:03:34 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-04 09:13:58 UTC
Please post your `emerge --info media-libs/libdvdread media-libs/libdvdcss' output in a comment.
Comment 2 Joe Harvell 2014-09-05 01:15:04 UTC
Created attachment 384214 [details]
emerge info

output of emerge --info media-libs/libdvdread media-libs/libdvdcss
Comment 3 Joe Harvell 2014-09-05 01:16:50 UTC
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!
Comment 4 Richard Freeman gentoo-dev 2014-09-06 11:08:17 UTC
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.
Comment 5 Richard Freeman gentoo-dev 2014-09-07 15:23:04 UTC
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.
Comment 6 Joe Harvell 2014-09-07 17:44:34 UTC
(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
Comment 7 Joe Harvell 2014-09-08 00:22:22 UTC
(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 ?
Comment 8 Richard Freeman gentoo-dev 2014-09-08 00:40:54 UTC
(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.
Comment 9 Joe Harvell 2014-09-08 02:38:14 UTC
(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!
Comment 10 Richard Freeman gentoo-dev 2014-09-08 02:43:45 UTC
(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.
Comment 11 Richard Freeman gentoo-dev 2014-09-08 16:31:02 UTC
in portage now