Patchelf misses some libraries when I build MicroStack with 3.9.7 or 3.9.8

Bug #1860766 reported by Pete Vander Giessen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Critical
Sergio Schvezov

Bug Description

This happens in the MicroStack snap (https://opendev.org/x/microstack).

I have a qemu part, which was building successfully under snapcraft 3.8, producing a qemu-system-x86_64 binary that executed successfully when run from the snap.

As of 3.9.7, my qemu binary fails to execute, as it is missing libraries in usr/lib/$SNAPCRAFT_ARCH_TRIPLET/ceph and $SNAPCRAFT_ARCH_TRIPLET/pulseaudio. Adding those to paths to the build environment works around the issue.

Per Sergio Schezov's request, I'm building a version of my snap with some extra logging, and will attach the logs to this bug once my build completes.

Changed in snapcraft:
status: New → Confirmed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Regression was introduced on https://github.com/snapcore/snapcraft/commit/76e8a3f3f1c3f69d957b2806c9387ac3c57e926a

Host file paths are considered valid paths after this commit.

Changed in snapcraft:
status: Confirmed → In Progress
importance: Undecided → Critical
assignee: nobody → Sergio Schvezov (sergiusens)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Part of 3.10

Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers