[Bug 1973285] Re: [SRU] libraspberrypi0 multi-arch install failing due to lintian override content difference

Dave Jones 1973285 at bugs.launchpad.net
Sat May 28 11:29:49 UTC 2022


** Description changed:

  [Impact]
  
  Despite libraspberrypi0 being declared Multi-Arch: same, users cannot
  install libraspberrypi0:armhf on arm64 systems. This affects the ability
  to (attempt to) use libwidevine (the library required to play certain
  proprietary streaming services, e.g. Netflix, which is currently only
  available as an armhf binary).
  
  Note: For the sake of clarity, while this fix enables
  libraspberrypi0:armhf to be co-installed with the arm64 variant, I have
  *not* tested installation / usage of widevine itself as that's beyond
  the scope of this bug.
  
  It also affects users of the (still very popular) legacy camera stack,
  which is only supported on the armhf architecture as of jammy (all the
  mmal utilities and libraries were removed from arm64 upstream, and this
  change was incorporated in raspberrypi-userland in jammy).
  
  [Test Plan]
  
  * Flash the Ubuntu Desktop 22.04 for Raspberry Pi to an SD card
  (http://cdimage.ubuntu.com/ubuntu/releases/jammy/release/ubuntu-22.04-preinstalled-
  desktop-arm64+raspi.img.xz is the relevant image, but this is probably
  easier to accomplish via the rpi-imager tool)
  
  * Boot the SD card on a supported Pi (4, 400, CM4) and run through
  first-time setup
  
  * Open a terminal
  
  * sudo dpkg --add-architecture armhf
  
  * sudo apt update
  
  * sudo apt install libraspberrypi0:armhf
  
  * Observe failure due to conflict in lintian-overrides
  
  * Enable proposed updates
  (https://wiki.ubuntu.com/Testing/EnableProposed)
  
  * sudo apt update
  
  * sudo apt install -t jammy-proposed libraspberrypi0:armhf
  
  * Package installs successfully
  
  * The fixed version also sets Multi-Arch: same on libraspberrypi-dev, so
  it would also be useful to test the following: sudo apt install
  libraspberrypi-dev:{armhf,arm64}
  
  [Regression Potential]
  
- We could backport just the Multi-Arch fixes to the lintian-overrides,
- but the diff between the version currently shipped in jammy, and the
- fixed version in kinetic is small consisting of only 6 (mostly trivial)
- commits (no new features are included, just bug fixes). Hence, I've
- decided to just backport the fixed version, unless the SRU team raises
- any objections.
+ We could backport just the Multi-Arch fixes to the lintian-overrides (an
+ essentially risk-free option, since the only difference would be in the
+ lintian overrides themselves), but the diff between the version
+ currently shipped in jammy, and the fixed version in kinetic is small
+ consisting of only 6 (mostly trivial) commits (no new features are
+ included, just bug fixes). Hence, I've decided to just backport the
+ kinetic version, unless the SRU team raises any objections.
  
  The fixed version has been tested on the jammy desktop and jammy server
- arm64 platforms without issue so far.
+ arm64 platforms without issue so far. The regression potential is low;
+ despite it being a new version the delta is (as mentioned) a few largely
+ trivial bug fixes.
  
  [Original Description]
  
  https://github.com/Botspot/pi-apps/pull/1806
  
  Cannot install libraspberrypi0:armhf on 22.04 (Jammy) because of broken dependencies.
  Please fix your packages for libraspberrypi0.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to raspberrypi-userland in Ubuntu.
https://bugs.launchpad.net/bugs/1973285

Title:
  [SRU] libraspberrypi0 multi-arch install failing due to lintian
  override content difference

Status in raspberrypi-userland package in Ubuntu:
  Fix Released
Status in raspberrypi-userland source package in Jammy:
  In Progress
Status in raspberrypi-userland source package in Kinetic:
  Fix Released

Bug description:
  [Impact]

  Despite libraspberrypi0 being declared Multi-Arch: same, users cannot
  install libraspberrypi0:armhf on arm64 systems. This affects the
  ability to (attempt to) use libwidevine (the library required to play
  certain proprietary streaming services, e.g. Netflix, which is
  currently only available as an armhf binary).

  Note: For the sake of clarity, while this fix enables
  libraspberrypi0:armhf to be co-installed with the arm64 variant, I
  have *not* tested installation / usage of widevine itself as that's
  beyond the scope of this bug.

  It also affects users of the (still very popular) legacy camera stack,
  which is only supported on the armhf architecture as of jammy (all the
  mmal utilities and libraries were removed from arm64 upstream, and
  this change was incorporated in raspberrypi-userland in jammy).

  [Test Plan]

  * Flash the Ubuntu Desktop 22.04 for Raspberry Pi to an SD card
  (http://cdimage.ubuntu.com/ubuntu/releases/jammy/release/ubuntu-22.04-preinstalled-
  desktop-arm64+raspi.img.xz is the relevant image, but this is probably
  easier to accomplish via the rpi-imager tool)

  * Boot the SD card on a supported Pi (4, 400, CM4) and run through
  first-time setup

  * Open a terminal

  * sudo dpkg --add-architecture armhf

  * sudo apt update

  * sudo apt install libraspberrypi0:armhf

  * Observe failure due to conflict in lintian-overrides

  * Enable proposed updates
  (https://wiki.ubuntu.com/Testing/EnableProposed)

  * sudo apt update

  * sudo apt install -t jammy-proposed libraspberrypi0:armhf

  * Package installs successfully

  * The fixed version also sets Multi-Arch: same on libraspberrypi-dev,
  so it would also be useful to test the following: sudo apt install
  libraspberrypi-dev:{armhf,arm64}

  [Regression Potential]

  We could backport just the Multi-Arch fixes to the lintian-overrides
  (an essentially risk-free option, since the only difference would be
  in the lintian overrides themselves), but the diff between the version
  currently shipped in jammy, and the fixed version in kinetic is small
  consisting of only 6 (mostly trivial) commits (no new features are
  included, just bug fixes). Hence, I've decided to just backport the
  kinetic version, unless the SRU team raises any objections.

  The fixed version has been tested on the jammy desktop and jammy
  server arm64 platforms without issue so far. The regression potential
  is low; despite it being a new version the delta is (as mentioned) a
  few largely trivial bug fixes.

  [Original Description]

  https://github.com/Botspot/pi-apps/pull/1806

  Cannot install libraspberrypi0:armhf on 22.04 (Jammy) because of broken dependencies.
  Please fix your packages for libraspberrypi0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/raspberrypi-userland/+bug/1973285/+subscriptions




More information about the foundations-bugs mailing list