Repository navigation
fix(linux): declare missing package dependencies - #117
Merged
Merged
Conversation
The packages don't start on a clean system. V8 14.6 links libatomic, and the app needs libEGL, libxcb-icccm, libxcb-keysyms and libxcb-shape, none of which the deb declares, so on a minimal Ubuntu 24.04 the DesktopEditors binary fails to load. The rpm misses libatomic and libOpenGL (libglvnd-opengl) on Fedora 41. Found by the smoke tests in DesktopEditors#226, which install the package with only its declared dependencies; with these added they pass. Checked with ldd over the installed files: what's left unresolved are optional Qt plugins (SQL drivers, Quick3D). Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Hendrik Leidinger <hendrik.leidinger@nextcloud.com>
1 task done
1 task done
juliusknorr
approved these changes
Nov 12, 2026
juliusknorr
left a comment
Member
There was a problem hiding this comment.
Thanks a lot for this, nice that the smoke tests already pay off. Code wise this seems fine 👍 Two small non-blocking points:
- Not a blocker: the
.debchanges get their regression test fromsmoke-linuxin DesktopEditors#226, but nothing covers the rpm:libatomicandlibglvnd-openglwere only checked by hand onfedora:41. Could we add an rpm leg to the smoke job (minimal Fedora image with only the declared deps) as a follow-up? Then the rpm list can't fall behind again either. - Small nitpick: since
no-tests-neededis set, mind adding aNo-test: covered by smoke-linux in DesktopEditors#226line so it's clear where the test lives? :)
Member
|
/backport to stable-9.3 |
42 of 55 tasks
|
The backport to # Switch to the target branch and update it
git checkout stable-9.3
git pull origin stable-9.3
# Create the new backport branch
git checkout -b backport/117/stable-9.3
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick f5dc53a0
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/117/stable-9.3Error: Failed to cherry pick commits: error: no cherry-pick or revert in progress Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
Member
|
/backport 83a53c3 to stable-9.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Linux packages from current
DesktopEditorsmain don't start on a clean system:Adds what the installed files need but the packages don't declare:
libatomic1(new with V8 14.6),libegl1,libxcb-icccm4,libxcb-keysyms1,libxcb-shape0libatomic,libglvnd-opengl(libOpenGL.so.0)Found by the smoke tests in Euro-Office/DesktopEditors#226, which install the
.debon a minimal Ubuntu 24.04 with only its declared dependencies. With these libraries added, all 12 tests pass for both brands (packages from DesktopEditors run 42078771605).Checked:
lddover every installed file after installing the package onubuntu:24.04and the rpm onfedora:41: nothing is unresolved except optional Qt plugins (SQL drivers, Quick3D).fulledition branches are unchanged.Not fixed here: on Rocky Linux 9 the rpm can't work anyway, because the bundled ICU needs
GLIBC_2.35and Rocky 9 ships 2.34.Once merged and the submodule is bumped in DesktopEditors, the
smoke-linuxjob in Euro-Office/DesktopEditors#226 should go green.AI-assisted: Claude Code (claude-opus-5-5).
🤖 Generated with Claude Code