Recent changes completely break 32bit snaps

Bug #1933224 reported by Oliver Grawert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Undecided
Chris Patterson

Bug Description

I (Oliver Grawert) have a lot of snaps for the pi that need to use hardware acceleration. for this i need to use the binary library blobs from the pi foundation which are only available in 32bit versions ...

since all our 64bit base snaps have been designed with the ability of running 32bit binaries by seeding a base set of libc and friends for 32bit support, this has always worked fine when building on a 32bit host and declaring:

architectures:
  - build-on: armhf
    run-on: [ armhf, arm64 ]

... which then creates a _multi.snap file ...

recently snapcraft added filtering of all libs from the base snaps with no warning, not way to override this behaviour ... since this does not cause a build error this results in releasing snaps with missing libraries (there is not the full set of libs for 32bit support in the base and it would bloat the base massively if we duplicated everything) ...

could we:

    a) pretty pretty please make some more noise about such changes, all my Pi snaps have been broken for months in edge and only a user pointing that out to me made me even aware of this breakage and this is not the first time of having quiet changes breaking something.
    b) have a switch to keep the old behaviour for multi arch packages so developers do not need to manually seed additional 60 libs

Tags: craft-337
tags: added: craft-337
Revision history for this message
Chris Patterson (cjp256) wrote :

Multi-arch packages should not be filtered, we need to fix this.

Changed in snapcraft:
status: New → Confirmed
Changed in snapcraft:
status: Confirmed → Triaged
Chris Patterson (cjp256)
Changed in snapcraft:
assignee: nobody → Chris Patterson (cjp256)
Revision history for this message
I-Cat (i-cat) wrote :

HolyFurrball!

summary: - recent changes completely break multi snaps
+ recent changes completely break 32bit snaps
summary: - recent changes completely break 32bit snaps
+ Recent changes completely break 32bit snaps
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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