libraspberrypi0 not installable

Bug #1891613 reported by Gianfranco Costamagna
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libglvnd (Ubuntu)
Invalid
Undecided
Unassigned
raspberrypi-userland (Ubuntu)
Fix Released
High
Dave Jones

Bug Description

dpkg: error processing archive /tmp/apt-dpkg-install-IzpqYj/460-libraspberrypi0_0~20200520+git2fe4ca3-0ubuntu1_armhf.deb (--unpack):
trying to overwrite '/usr/lib/arm-linux-gnueabihf/libEGL.so', which is also in package libegl-dev:armhf 1.3.2-1
(mythtv fails to build on armhf) ^^

I uploaded a 2:31.0+fixes.20200323.9579662cdc-0ubuntu5 version without that libraspberrypi-dev [armhf] | hello
dependency, so we can progress with x265 transition.

Please have a look, and declare breaks/replaces or stop shipping that library!

Changed in raspberrypi-userland (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Dave Jones (waveform)
Timo Aaltonen (tjaalton)
Changed in libglvnd (Ubuntu):
status: New → Invalid
Revision history for this message
Dave Jones (waveform) wrote :

Looks like the armhf version of the package builds two (identical) copies of various GL-related libs (EGL, GLESv2, etc): one with "mesa-like" names (e.g. libEGL.so) and one with broadcom-specific names (e.g. libbrcmEGL.so).

In either case, the produced libraries are for use with the "legacy" graphics stack supported on the Pi 0 thru 3. The Pi 4 and beyond only support the mesa graphics stack (which is why these aren't built on arm64 as the Pi Foundation only (officially) support arm64 on the Pi 4).

I've added a patch to a build here which should suppress the production of the "mesa-like" libs while leaving the broadcom-specific named copies (as they seem to be in use by several groups), and tidied up the lintian warnings on the armhf build.

Will upload a copy to my userland PPA shortly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package raspberrypi-userland - 0~20200520+git2fe4ca3-0ubuntu2

---------------
raspberrypi-userland (0~20200520+git2fe4ca3-0ubuntu2) groovy; urgency=medium

  * Don't build libGL/EGL/GLES/etc. libraries with names conflicting with the
    mesa copies (LP: #1891613)
  * Tidied up some lintian warnings in armhf build

 -- Dave Jones <email address hidden> Fri, 14 Aug 2020 12:50:20 +0100

Changed in raspberrypi-userland (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.