build: migrate to core22 - #92
Conversation
|
I’ll add the older-host regression coverage myself before asking others to spend time testing. I’ll test this exact snap build on Ubuntu 20.04 Desktop first, tear that VM down, then repeat on Ubuntu 22.04 Desktop. For each release I’ll verify installation, real GUI launch, and the live library paths from |
Ubuntu 20.04 Desktop result: PASSTested the exact locally built
Relevant host versions were The VM was used only for this test and will now be removed before the Ubuntu 22.04 run. |
|
FYI @jnsgruk |
Ubuntu 22.04 Desktop result: PASSTested the exact locally built
Relevant host package versions were Together with the Ubuntu 20.04 result above, this confirms the old mixed host/core library failure is not reproduced on either Focal or Jammy. The test VM will now be removed. |
|
Correction: the earlier local artifact and Focal/Jammy results were from a branch based on |
17acb28 to
7bd938c
Compare
Candidate-based Ubuntu 24.04 Desktop result: PASSThis supersedes my earlier
The old mixed host/core loader failure was not reproduced. The disposable VM is being deleted before work starts on Sublime Merge, keeping only one VM running at a time. |
|
Reopening to trigger the candidate-branch pull-request workflow after correcting the PR base. |
Summary
candidatebranch snap fromcore20tocore22core20Background
Issue #47 previously documented a failed core22 experiment: the classic snap mixed libraries from the snap and host, then failed with
GLIBC_2.33/GLIBC_2.34requirements on an older host.This PR tests the current
candidatetree directly rather than assuming that the old failure still applies.Verification
Built commit
7bd938c158029a03a9c989fa1f0118b8806c2361using Snapcraft's managed LXD provider:The packed metadata reports
version: 4200,base: core22,architectures: [amd64], and classic confinement.The exact local snap was installed in a fresh Ubuntu 24.04 Desktop LXD VM and launched in normal mode with a real
test.txtfile. The visible window was:The GUI rendered normally without an error dialog or loader failure. A 1280×800 screenshot was captured.
The live process's
/proc/<pid>/mapsshowed the critical libraries resolving from the Ubuntu 24.04 host rather than from/snap/sublime-text/...:Static ELF inspection also showed the upstream executable retaining its generic interpreter
/lib64/ld-linux-x86-64.so.2and$ORIGINrunpath. Snapcraft's library linter warned thatlibGL.so.1was not staged, but the running classic snap correctly loaded the host'slibGL.so.1.7.0.This does not reproduce the mixed core/host-library failure from #47.
Review
@popey: you were involved in the earlier core22 investigation in #47. Could you please review and independently test this candidate-based migration?
@om26er: tagging you as the most recent maintainer to change this manifest and the author of the candidate branch's current core20 compatibility commit.