Bug 23164 - brasero plugins/dvdcss/burn-dvdcss.c is outdated and causes errors
Summary: brasero plugins/dvdcss/burn-dvdcss.c is outdated and causes errors
Status: RESOLVED DUPLICATE of bug 20826
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: GNOME maintainers
QA Contact:
URL: https://www.reddit.com/r/archlinux/co...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-10 13:18 CEST by Rolf Pedersen
Modified: 2018-06-12 00:17 CEST (History)
1 user (show)

See Also:
Source RPM: brasero-3.12.1-6.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Rolf Pedersen 2018-06-10 13:18:53 CEST
I ran into this by looking at Plugins in the brasero Edit menu and see:
"The version of "libdvdcss.so.2" is too old" although my installation of libdvdcss.so.2 is fine.  Also, trying to copy a protected dvd with brasero gives an error:

All required applications and libraries are not installed.
Please install the following manually and try again:
libdvdcss.so.2 (library).

Google shows many such reports and the provided demonstration url pointed me to a probable cause:  brasero in Mageia uses a version check that has been dropped as of libdvdcss 1.3.0:

Changes between 1.2.13 and 1.3.0:
---------------------------------

  * Dropped deprecated, undocumented API:
    - the function dvdcss_title()
    - the type dvdcss_handle
    - the variable dvdcss_interface_2
...
https://abi-laboratory.pro/tracker/changelog/libdvdcss/1.3.0/log.html

Gnome removed this check from brasero 11 months ago:
"Remove check for dvdcss_interface_2"
https://gitlab.gnome.org/GNOME/brasero/blob/master/plugins/dvdcss/burn-dvdcss.c

and looking at this file in the referenced source rpm, I see the obsolete code is still there:

#define BRASERO_DVDCSS_I_BLOCKS 16ULL

static GObjectClass *parent_class = NULL;

static gboolean
brasero_dvdcss_library_init (BraseroPlugin *plugin)
{
        gpointer address;
        GModule *module;

        if (css_ready)
                return TRUE;

        /* load libdvdcss library and see the version (mine is 1.2.0) */
        module = g_module_open ("libdvdcss.so.2", G_MODULE_BIND_LOCAL);
        if (!module)
                goto error_doesnt_exist;

        if (!g_module_symbol (module, "dvdcss_interface_2", &address))
                goto error_version;

        if (!g_module_symbol (module, "dvdcss_open", &address))
                goto error_version;
        dvdcss_open = address;
                                                                               98,1-8        11%

Thanks.
Marja Van Waes 2018-06-11 07:44:03 CEST

Assignee: bugsquad => gnome
CC: (none) => marja11

Marja Van Waes 2018-06-11 07:45:40 CEST

URL: https://www.reddit.com/r/archlinux/comments/2tky0r/brasero_doesnt_read_css_encrypted_dvds_claims/co0uq7r/ => https://www.reddit.com/r/archlinux/comments/2tky0r/brasero_doesnt_read_css_encrypted_dvds_claims/co0uq7r/ https://gitlab.gnome.org/GNOME/brasero/blob/master/plugins/dvdcss/burn-dvdcss.c

Comment 1 Marja Van Waes 2018-06-11 07:47:01 CEST
(Seems adding a second URL doesn't work well, the links are no longer clickable)

URL: https://www.reddit.com/r/archlinux/comments/2tky0r/brasero_doesnt_read_css_encrypted_dvds_claims/co0uq7r/ https://gitlab.gnome.org/GNOME/brasero/blob/master/plugins/dvdcss/burn-dvdcss.c => https://www.reddit.com/r/archlinux/comments/2tky0r/brasero_doesnt_read_css_encrypted_dvds_claims/co0uq7r/

Comment 2 katnatek 2018-06-11 20:24:53 CEST
The package brasero-3.12.2-1.mga6 that solve the issue is in updates_testing
Im quite sure that not much time ago was pushed to regular updates repositories but don't know why is in testing again and  gone from regular updates

see bug #20826
Comment 3 Marja Van Waes 2018-06-12 00:17:50 CEST
(In reply to katnatek from comment #2)
> The package brasero-3.12.2-1.mga6 that solve the issue is in updates_testing
> Im quite sure that not much time ago was pushed to regular updates
> repositories but don't know why is in testing again and  gone from regular
> updates
> 
> see bug #20826

Thanks, I reopened that report, I think it was only pushed to cauldron, but never to 6 as regular update

Closing this report as duplicate of that one

*** This bug has been marked as a duplicate of bug 20826 ***

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.