Skip to content

Fix/2026.1 build#182

Merged
hemanthnakkina merged 3 commits into
canonical:mainfrom
gboutry:fix/2026.1-build
May 20, 2026
Merged

Fix/2026.1 build#182
hemanthnakkina merged 3 commits into
canonical:mainfrom
gboutry:fix/2026.1-build

Conversation

@gboutry
Copy link
Copy Markdown
Collaborator

@gboutry gboutry commented May 19, 2026

On resolute, firmware data packages bring ubuntu-virt, which itselfs
brings a lot of un-wanted or already-present dependencies, which breaks
the build.

Drop qemu-efi-arm firware as it brings arm32 firmware, which is not
available on resolute, and we don't make use of.

Since we're staging libc6, ensure we're using the right binary libs for runtime.

On resolute, firmware data packages bring ubuntu-virt, which itselfs
brings a lot of un-wanted or already-present dependencies, which breaks
the build.

Drop qemu-efi-arm firware as it brings arm32 firmware, which is not
available on resolute, and we don't make use of.

Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
@gboutry
Copy link
Copy Markdown
Collaborator Author

gboutry commented May 19, 2026

Kept the runstatedir change from: #181

gboutry and others added 2 commits May 19, 2026 16:47
Enable Snapcraft ELF patching for parts that stage or build ELF files.
This makes staged libc usage consistent in the snap payload. Avoid
prime-time mutations on those parts because Snapcraft cannot track files
changed by `override-prime` when applying `enable-patchelf`.

Add a narrow final RPATH correction for NumPy's `lapack_lite` extension,
whose LAPACK dependency also needs the BLAS alternatives path for the
classic linter.

Assisted-By: Codex (gpt-5-5)
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
Pin libvirt's runstatedir to $SNAP_COMMON/run so libvirtd can write
its sockets under strict confinement (libvirt 11+ no longer derives
it from localstatedir).

Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
@gboutry gboutry force-pushed the fix/2026.1-build branch from 089bc36 to db79d85 Compare May 19, 2026 14:47
@gboutry gboutry requested a review from hemanthnakkina May 19, 2026 14:54
@hemanthnakkina hemanthnakkina merged commit 163188d into canonical:main May 20, 2026
3 checks passed
@gboutry gboutry deleted the fix/2026.1-build branch May 20, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants