← Back to issue list

Fix kde-neon-6 LD_LIBRARY_PATH

View original Github issue

Metadata

Project
snapcraft
Number
#6002
Type
pull request
State
closed
Author
Kyuyrii
Labels
—
Created
Updated
Closed

Current evaluation

Superseded by merged PR canonical/snapcraft#6016 (commit 3fc9abd0b), which corrected KDE Neon 6 environment handling by relying on launcher configuration.

Resolution: closed superseded

Reason: PR #6002 was explicitly closed after its author opened replacement PR #6016. That replacement was merged as commit 3fc9abd0b and removed the extension-added environment overrides in favor of desktop-launch configuration.

Evaluated by: mr-cal-bot

No scores available.

Issue body

I noticed that in Snapcraft, before the lxqt-support changes, the LD_LIBRARY_PATH looked something like this: ```LD_LIBRARY_PATH: ${SNAP_LIBRARY_PATH}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}:$SNAP/usr/lib:$SNAP/usr/lib/x86_64-linux-gnu``` However, after the lxqt-support changes, this was replaced, and instead of the lxqt-support paths being added. ```LD_LIBRARY_PATH: $SNAP/lxqt-support-core24/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}``` Now the LD_LIBRARY_PATH should look something like this: ```LD_LIBRARY_PATH: ${SNAP_LIBRARY_PATH}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}:$SNAP/usr/lib:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/lxqt-support-core24/usr/lib/x86_64-linux-gnu``` --- - [X] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [X] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Superseded by merged PR canonical/snapcraft#6016 (commit 3fc9abd0b), which corrected KDE Neon 6 environment handling by relying on launcher configuration.
stealth/space-bunny-alpha — closed superseded PR closed unmerged by its author in favour of #6016, which reworked kde-neon-6 to drop extension-set LD_LIBRARY_PATH/QT_PLUGIN_PATH in favour of launcher config and was merged (3fc9abd0b).
stealth/space-bunny-alpha — closed superseded Replaced by #6016, merged as 3fc9abd0b: KDE's launcher now manages LD_LIBRARY_PATH and QT_LIBRARY_PATH rather than the extension.
stealth/space-bunny-alpha — closed superseded Closed as superseded by merged PR #6016 (3fc9abd0b), which let KDE's desktop launcher manage LD_LIBRARY_PATH and QT_PLUGIN_PATH.
stealth/space-bunny-alpha — closed superseded Closed as superseded by PR #6016, which removed the kde-neon-6 LD_LIBRARY_PATH changes in favor of KDE’s desktop launcher; the replacement was merged in commit 3fc9abd0b.
qwen/qwen3.6-35b-a3b — — Superseded by the author, who opened replacement pull request #6016 to address the kde-neon-6 LD_LIBRARY_PATH fix after discussing implementation details with reviewers.
qwen3.6-35b-a3b-mtp-q6 — — Superseded by PR #6016. The author closed this kde-neon-6 LD_LIBRARY_PATH fix after maintainers suggested using prepend_to_env. The lxqt-support changes broke expected paths, requiring a revised implementation.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#6016 fix(kde): don't modify LD_LIBRARY_PATH snapcraft merged Merged in PR #6016 (commit 3fc9abd0b), removing Snapcraft-added LD_LIBRARY_PATH and QT_LIBRARY_PATH from KDE Neon 6 in favor of launcher configuration.
89%
#6366 fix(kde-neon-6): don't modify LD_LIBRARY_PATH snapcraft merged Merged PR #6366 reapplies #6016 onto main: KDE Neon 6 no longer sets LD_LIBRARY_PATH/QT_PLUGIN_PATH in snapcraft.yaml (moved to the launcher) and lxqt-support is updated, fixing #6327 (SNAPCRAFT-1365).
88%
#6327 Snapcraft 9 incorrectly sets LD_LIBRARY_PATH and QT_LIBRARY_PATH in the extensions snapcraft closed Fixed in merged PR #6366, restoring #6016 on main: KDE Neon 6 configures library paths in its launcher, and lxqt-support symlinks are corrected.
77%
#5104 extensions/kde-neon-6: fix XDG_CONFIG_DIRS snapcraft merged Merged PR #5104, adding $SNAP_REAL_HOME/.config to XDG_CONFIG_DIRS so KDE Neon 6 can locate kdeglobals theming settings.
72%
#5585 fix: kde-neon: Append usr to cmake prefix path #5272 snapcraft merged Merged as e2daf4cbe: PR #5585 updates KDE Neon CMAKE_PREFIX_PATH entries to use SDK usr subdirectories, fixing #5272; released in Snapcraft 8.10.1.
71%
#5302 kde-neon: invalid CMAKE_PREFIX_PATH snapcraft closed Fixed KDE Neon CMAKE_PREFIX_PATH handling in merged PR #5310 (commit 9cb3f5155), released in Snapcraft 8.8; the maintainer marked #5302 completed.
71%