project loader: remove special LD_LIBRARY_FLAGS handling for classic
Metadata
Current evaluation
Merged. Removes obsolete LD_LIBRARY_FLAGS handling causing libc6 mismatches and undefined behavior. Resolves the issue as library crawling improved. Approved by reviewers, passed CI, and temporarily switched CI to deb package.
Suggested action: —
No scores available.
Issue body
This implementation can cause clashes with changes in the host with
regards to the base in use (i.e; core, core18, ...) as their might
be libc6 mismatches at the time that can lead to undefined behavior.
The issue comes up when the core snap is installed as it is when
the libraries are used, this specific behavior is no longer needed
as the library crawling feature has improved since this was first
introduced.
Additionally, the Travis CI job has been moved to using the deb
for the time being to overcome the bootstrapping issue that this
misbehavior creates.
This fix also has to come into legacy first to as snapcraft builds with
legacy be
LP: #1817300
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Removes obsolete LD_LIBRARY_FLAGS handling causing libc6 mismatches and undefined behavior. Resolves the issue as library crawling improved. Approved by reviewers, passed CI, and temporarily switched CI to deb package. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged removal of special LD_LIBRARY_FLAGS handling for classic snaps to prevent libc6 mismatches. Improved library crawling made the workaround obsolete. Resolves LP #1817300. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged removal of special LD_LIBRARY_FLAGS handling for classic snaps to prevent libc6 mismatches. Improved library crawling made the workaround obsolete. Travis CI temporarily switched to deb builds. Resolves LP: #1817300. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2485 project loader: remove special LD_LIBRARY_FLAGS handling for classic | snapcraft | merged | Merged removal of special LD_LIBRARY_FLAGS handling for classic snaps to prevent libc6 mismatches and undefined behavior. Improved library crawling made the logic obsolete. Travis CI updated to edge. Approved, CI passed, 7 files changed. |