Comment 0 for bug 1933224

Revision history for this message
Oliver Grawert (ogra) wrote : recent changes completely break multi snaps

i 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