[Bug 1536081] Re: libsdl2:i386 needs egl-mesa

Vlad Orlov 1536081 at bugs.launchpad.net
Fri Jul 21 11:57:23 UTC 2017


[Impact]

The bug prevents users from installing libsdl2:i386 on 64-bit systems
with newer graphics stack (in particular, libwayland-egl1-mesa-lts-*
package).

32-bit libsdl2 is usually needed for games or gaming console emulators,
or Wine, or some proprietary software which only comes in 32-bit
packages.

The debdiff which is attached to this report contains the patch which fixes the problem.
It makes libsdl2 explicitly depend on virtual package libwayland-egl1 which is provided by libwayland-egl1-mesa and all libwayland-egl1-mesa-lts-* packages.
That allows installing libsdl2:i386 with any graphics stacks available in Trusty repos.

[Test Case]

Steps to reproduce:

- have 64-bit Trusty installation with some new graphics stack
- install libsdl2-2.0-0
- try to install libsdl2-2.0-0:i386

Expected result:

- libsdl2-2.0-0:i386 is installed successfully

What really happens:

- apt-get shows error message about unmet dependencies:

The following packages have unmet dependencies:
 libsdl2-2.0-0:i386 : Depends: libwayland-egl1-mesa:i386 (>= 10.0.2) or
                               libwayland-egl1:i386
E: Unable to correct problems, you have held broken packages

Apparently, apt-get always chooses to install libwayland-egl1-mesa:i386 which is impossible as libwayland-egl1-mesa-lts-*:amd64 is installed, so libwayland-egl1-mesa-lts-*:i386 is needed instead.
That's why explicit dependency on libwayland-egl1 (virtual package) is added in the patch.

[Regression Potential]

I've tested the patch with the graphics stack from Wily before, and now also tested with Xenial's stack.
It works fine with both.

The patch only adds one new dependency on a virtual package which is already provided in all graphics stacks.
I don't think there could be a place for regressions there.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1536081

Title:
  libsdl2:i386 isn't installable on 64-bit systems with newer graphics
  stack

Status in libsdl2 package in Ubuntu:
  Fix Released
Status in libsdl2 source package in Trusty:
  New

Bug description:
  Basically, I need libsdl2:i386 for witcher2, but I can't because when
  I try to install it this happens

  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   libsdl2-2.0-0:i386 : Depends: libwayland-egl1-mesa:i386 (>= 10.0.2) or
                                 libwayland-egl1:i386
  E: Unable to correct problems, you have held broken packages

  I am on nvidia drivers, so obviously I cant use mesa.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1536081/+subscriptions



More information about the Ubuntu-sponsors mailing list