Skip to content

fix(linux): declare missing package dependencies - #117

Merged
rikled merged 1 commit into
mainfrom
fix/linux-package-deps
Nov 24, 2026
Merged

rikled merged 1 commit into
mainfrom
fix/linux-package-deps

Conversation

@rikled

@rikled rikled commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

The Linux packages from current DesktopEditors main don't start on a clean system:

/opt/euro-office/euro-office/DesktopEditors: error while loading shared libraries: libatomic.so.1: cannot open shared object file

Adds what the installed files need but the packages don't declare:

  • deb: libatomic1 (new with V8 14.6), libegl1, libxcb-icccm4, libxcb-keysyms1, libxcb-shape0
  • rpm: libatomic, libglvnd-opengl (libOpenGL.so.0)

Found by the smoke tests in Euro-Office/DesktopEditors#226, which install the .deb on 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:

  • ldd over every installed file after installing the package on ubuntu:24.04 and the rpm on fedora:41: nothing is unresolved except optional Qt plugins (SQL drivers, Quick3D).
  • The new deb names resolve on Ubuntu 22.04, Ubuntu 24.04 and Debian 12.
  • The full edition branches are unchanged.

Not fixed here: on Rocky Linux 9 the rpm can't work anyway, because the bundled ICU needs GLIBC_2.35 and Rocky 9 ships 2.34.

Once merged and the submodule is bumped in DesktopEditors, the smoke-linux job in Euro-Office/DesktopEditors#226 should go green.

AI-assisted: Claude Code (claude-opus-5-5).

🤖 Generated with Claude Code

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>

@juliusknorr juliusknorr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 .deb changes get their regression test from smoke-linux in DesktopEditors#226, but nothing covers the rpm: libatomic and libglvnd-opengl were only checked by hand on fedora: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-needed is set, mind adding a No-test: covered by smoke-linux in DesktopEditors#226 line so it's clear where the test lives? :)

@rikled
rikled merged commit 83a53c3 into main Nov 24, 2026
4 of 7 checks passed
@rikled
rikled deleted the fix/linux-package-deps branch November 24, 2026 17:30
@juliusknorr

Copy link
Copy Markdown
Member

/backport to stable-9.3

@backportbot backportbot Bot added the backport-request Needs a backport to a stable branch label Nov 30, 2026
@juliusknorr juliusknorr mentioned this pull request Nov 30, 2026
42 of 55 tasks
@backportbot

backportbot Bot commented Nov 30, 2026

Copy link
Copy Markdown

The backport to stable-9.3 failed. Please do this backport manually.

# 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.3

Error: Failed to cherry pick commits: error: no cherry-pick or revert in progress
fatal: cherry-pick failed


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@juliusknorr

Copy link
Copy Markdown
Member

/backport 83a53c3 to stable-9.3

@backportbot backportbot Bot removed the backport-request Needs a backport to a stable branch label Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-tests-needed feat/fix PR that needs no tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] Euro-Office fails to launch due to missing Qt library search path

2 participants