fix(lifecycle): return correct base when using devel for build-base
Metadata
Current evaluation
Merged #4523 fixed #4508: devel build-base now resolves to core24 for lifecycle paths, avoiding nonexistent /snap/devel library directories (commits 17666fb25, d75fdaf16).
Resolution: closed resolved
Reason: PR #4523 was merged in commits 17666fb25 and d75fdaf16, correcting lifecycle base resolution so builds using devel use the actual core24 runtime library paths.
Evaluated by: mr-cal-bot
No scores available.
Issue body
`get_effective_base()` should not return "devel" and pass it to the `PartsLifecycle()`, which make the parts think the coreXX is "devel". Thus checking the wrong path for dynamic linking.
`LD_LIBRARY_PATH=...:/snap/core24/current/lib:/snap/core24/current/usr/lib:...`
become
`LD_LIBRARY_PATH=...:/snap/devel/current/lib:/snap/devel/current/usr/lib:...`
which not exists.
Fix: #4508
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #4523 fixed #4508: devel build-base now resolves to core24 for lifecycle paths, avoiding nonexistent /snap/devel library directories (commits 17666fb25, d75fdaf16). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4523 in commits 17666fb25 and d75fdaf16, fixing lifecycle base resolution so a devel build-base no longer creates nonexistent /snap/devel library paths; addresses #4508. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged fix for get_effective_base() returning devel for build-base, preventing invalid LD_LIBRARY_PATH paths. Approved by three reviewers, passed CI, and resolves #4508. Reviewers requested targeting hotfix/8.0 and discussed a core24 validator. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix correcting get_effective_base() to return the actual base instead of devel as build-base, fixing invalid dynamic linking paths. Resolves #4508. Targeted for hotfix/8.0. Reviewers discussed adding a validator for core24. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
snapcore/snapcraft#4508
(confidence 100%)
This PR explicitly fixes the incorrect dynamic-linking paths reported in #4508.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4540 fix(lifecycle): return correct base when using devel for build-base (… | snapcraft | merged | Merged in snapcore/snapcraft#4540 via commit 17666fb25, correcting effective-base selection when build-base is devel; it carried the lifecycle fix from #4523. | |
| #4594 fix(lifecycle): install 'core24' snap | snapcraft | merged | Merged PR #4594 installed the core24 snap so lifecycle package-cutoff checks use the correct base's installed packages; landed as commit 990835982. |