Skip to content

Link Research Linux packages against glibc 2.39 and verify the floor - #1454

Merged
AnthonyRonning merged 3 commits into
masterfrom
fix/linux-glibc-floor
Nov 5, 2026
Merged

AnthonyRonning merged 3 commits into
masterfrom
fix/linux-glibc-floor

Conversation

@w3irdrobot

@w3irdrobot w3irdrobot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1453.

Problem

The 3.4.7 Linux .deb, .rpm and AppImage fail to start on Ubuntu 24.04 and Mint 22:

maple: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.43' not found (required by maple)

The Linux release links maple against the Nix shell's glibc and then patches in the system ELF interpreter, so whatever glibc nixpkgs carries becomes the floor the package needs. #1431 moved nixpkgs' glibc from 2.40 to 2.44, and libm now binds acosf/atan2f to GLIBC_2.43. 3.4.5 and 3.4.6 only worked because glibc 2.40 added no symbol the app used; the margin was already zero against Ubuntu 24.04's 2.39. The nixpkgs bump itself was wanted (libsoup CVE fixes), so reverting it is not the fix.

Release nixpkgs glibc Highest GLIBC version maple needs
3.4.5 2.40 2.39
3.4.6 2.40 2.39
3.4.7 2.44 2.43 (acosf, atan2f)

Fix: .deb and .rpm (glibc 2.39 floor)

Link against an explicit floor, the way the Agent app already does: cargo-zigbuild's zig cc wrapper with -target x86_64-linux-gnu.2.39 (Ubuntu 24.04, the oldest supported distribution per maple.ai/downloads). LINUX_GLIBC_FLOOR in scripts/ci/_common.sh is the one place the floor lives.

  • configure_linux_glibc_floor_linker sets Cargo's target.<host> linker and the CC/CXX for C dependencies through the environment, so tauri-cli's own cargo builds honour it and the target/release layout is unchanged. Called from desktop-release.sh, desktop-pr.sh and research-dev-desktop.sh.
  • Executables link with the Nix loader while they build and run under the build's Nix LD_LIBRARY_PATH (build scripts included); the existing sanitize step gives the packaged executable the system loader back.
  • The wrapper runs on the Nix bash and pins zig and rustc, so cargo-zigbuild never probes PATH, python or $RUSTC_WRAPPER rustc from inside sccache's server (cc-rs routes C compiles through sccache too).
  • zig does not read NIX_HARDENING_ENABLE, so LINUX_C_HARDENING_FLAGS gives C and C++ dependencies the hardening the Nix compiler wrapper applied (stack protector, _FORTIFY_SOURCE=3, stack clash protection, and the rest of that set).
  • cargo-zigbuild and zig join the desktop-linux shell; the shell exports MAPLE_NIX_ELF_INTERPRETER.

AppImage: a declared glibc 2.44 floor

The AppImage cannot get the 2.39 floor this way. It bundles Nix-built WebKitGTK, GTK and GStreamer while taking libc from the host, and those libraries cannot be relinked. Of its 628 ELF files, 571 need glibc 2.39 or older, 3 need 2.42, 31 need 2.43 and 10 need 2.44, WebKitGTK and JavaScriptCore among them. Until now it failed below that in the dynamic loader with a missing symbol version.

This PR makes that floor explicit instead of accidental:

  • LINUX_APPIMAGE_GLIBC_FLOOR (2.44) declares the newest glibc any bundled file needs.
  • AppRun checks the host's glibc before any bundled runtime hook. Below the floor it explains the requirement, points to the .deb and .rpm (glibc 2.39 and newer) and exits, with a best-effort desktop dialog for launches without a terminal. A host that reports no glibc version is not refused, and MAPLE_APPIMAGE_SKIP_GLIBC_CHECK=1 overrides the check.
  • AppImage verification scans every bundled ELF file and fails when the bundle needs more than the declared floor, when nothing needs it, or when AppRun announces another floor. A nixpkgs bump that moves the requirement has to change the constant in the same change.

In practice the AppImage now runs on Ubuntu 26.10, Fedora 45, Arch and openSUSE Tumbleweed, and tells users of Ubuntu 24.04/26.04, Debian 13 and Fedora 43/44 to install the .deb or .rpm.

Guard

scripts/ci/elf_glibc_floor.py parses ELF version needs and fails when a file needs a GLIBC_x.y, or a GLIBC_ABI_* loader marker, above the floor, naming the symbols. --require-fortify also requires a fortified glibc import, as evidence the hardening flags reached the C dependencies (zig's compiler-rt supplies __stack_chk_fail statically, so that import cannot be asserted). The build runs it on target/release/maple before bundling, the .deb, .rpm, AppImage and Research Dev RPM verifiers run it on every packaged maple, and the AppImage verifier runs it across the whole bundle.

Verification

Head is b7101c5, rebased onto master at f633b70. CI is green on that head: 36 jobs pass and ci-ok passes, with ci:package selecting the desktop packaging lanes. The launch tests below were run locally on the same three commits before the rebase, which had no conflicts.

  • research-desktop-linux lane (desktop-pr.sh with fake updater signing): exit 0. Every packaged maple reports GLIBC_2.39 floor=2.39 fortify=2; the AppImage reports GLIBC_2.44 floor=2.44 files=628. CI's run of this lane on b7101c5 reports the same lines.
  • .deb launched on Ubuntu 24.04 (glibc 2.39), where the published 3.4.7 fails with the GLIBC_2.43 error.
  • .rpm launched on Fedora 42 (glibc 2.41), where the published 3.4.7 fails the same way, and on Fedora 45 (glibc 2.44).
  • AppImage: prints the floor message and exits 1 on Ubuntu 24.04, Ubuntu 26.04, Debian 13 and Fedora 43; starts and completes its update check on Ubuntu 26.10 and Fedora 45. On Ubuntu 26.10 with the host's libGLESv2.so.2 installed, as a desktop has, maple, WebKitNetworkProcess and WebKitWebProcess are all alive after 25 s.
  • Hardening: stack canary loads in maple are 761 (567 in the 3.4.5 release, 22 before the flags were added).
  • nix flake check (the repo lane): 562 CI script tests pass, including test_linux_glibc_floor.py (synthetic ELF fixtures, the linker setup through fake tools, the AppRun check against a fake getconf, and the bundle verification failing in each direction).

All of these launches were headless containers under Xvfb, up to the update check. Separately, the .deb from an earlier commit of this PR was installed on a real Ubuntu 24.04 VM during review and reached the login screen. Nobody has signed in on a fixed build.

Not covered

  • The updater. The start-up message does not stop the in-app updater from replacing a working AppImage on a host below the floor, and clients fall back from linux-x86_64-appimage to linux-x86_64. That needs a separate change to the update metadata and the scripts that require those keys.
  • Release path. desktop-release.sh has not run with these changes; it calls the same functions as desktop-pr.sh.
  • aarch64. There the stack guard is the __stack_chk_guard global, which zig's compiler-rt defines as a fixed constant. Releases are x86_64 only, where the canary comes from glibc's TLS slot.
  • Download page wording. The AppImage's higher floor is not yet reflected where the downloads are described.
  • Seen while testing, not caused by this PR: a bundled library opens libGLESv2.so.2 by an absolute /nix/store path. On a host without its own libGLESv2.so.2 (a minimal container), the AppImage logs Couldn't open libGLESv2.so.2 and WebKitWebProcess does not survive while maple keeps running. With the host library present the renderer runs. That is being fixed separately.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Maple Auth development preview: https://695f0cf2.maple-auth-dev.pages.dev

Commit: b7101c5eedaf5f588e2ada60ae97eacb55f86be9

Uses development services. Cloudflare Access applies. Provider OAuth is not configured for PR URLs; use the stable Auth Dev host for OAuth rehearsal.

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Maple development preview: https://c6beff7b.maple-ca8.pages.dev

Commit: b7101c5eedaf5f588e2ada60ae97eacb55f86be9

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

@w3irdrobot w3irdrobot added the ci:package Build unsigned packages on this PR label Nov 5, 2026
AnthonyRonning
AnthonyRonning previously approved these changes Nov 5, 2026
@AnthonyRonning

Copy link
Copy Markdown
Contributor

Review: tested on real Ubuntu 24.04

Verdict: this is the right fix for the .deb, and it works. There is one regression to fix before merge.

I added ci:package and re-ran CI at 9b3360d16f, then installed the maple-linux-pr artifact on a pristine Ubuntu 24.04.5 VM (x86_64, glibc 2.39-0ubuntu8.9).

On Ubuntu 24.04 Published 3.4.7 This PR
.deb starts No, GLIBC_2.43 not found Yes, login screen loads
Newest glibc maple needs 2.43 2.39
LD_BIND_NOW=1 ldd -r undefined symbols Not checked 0
AppImage Fails Still fails, as the PR says

In CI, research-desktop-linux passed and reported GLIBC_2.39 floor=2.39 on all four copies of maple. The bundled libonnxruntime.so needs only GLIBC_2.27.

Fix before merge

Linking through zig cc drops the C hardening that Nix's compiler wrapper was providing. zig cc -O3 adds no stack protector or fortify checks unless asked, so C dependencies now build without them. That includes ring, which maple-sdk and rustls use.

Dynamic imports in usr/bin/maple Published 3.4.7 This PR
__stack_chk_fail Yes No
Fortified _chk calls 3 (__fprintf_chk, __memcpy_chk, __vsnprintf_chk) 0

With the pinned zig 0.17.0, a small C test confirms the default, and adding -fstack-protector-strong -D_FORTIFY_SOURCE=2 restores both. apps/maple-agent/scripts/linux-runtime.nix already sets those flags for the Agent's bundled libraries. The likely fix is adding them in write_linux_glibc_floor_compiler_wrapper, but I haven't tested that in a full build, so check that the same wrapper also being the linker causes no trouble.

Worth knowing

  • Release path: CI ran desktop-pr.sh, so desktop-release.sh still hasn't run with this change.
  • .rpm: not launch-tested yet. A Fedora test is next.
  • Coverage: I stopped at the login screen and didn't sign in.
  • ci-ok on this re-run failed for reasons that look unrelated to this PR: research-desktop-windows hit an HTTP 504 while bundling, and both os-helpers lanes failed Trivy on CVE-2026-109518 (HIGH) in apt 2.6.1. Those lanes passed on attempt 1, so the Trivy failure looks new and will probably need its own fix.
  • elf_glibc_floor.py crashes on GLIBC_ABI_GNU2_TLS with invalid glibc version. It fails closed and doesn't affect maple today, but running it across the AppImage hits this in 33 files, so it needs handling before CI can report the AppImage's real floor.

AppImage data

Scanned from the published 3.4.7 AppImage. The problem is narrower than the whole Nix closure:

  • 68 of 628 ELF files need more than 2.39, and the other 560 are fine.
  • Those 68 need 19 symbols, mostly libm: acosf, acoshf, asinf, atan2f, atanhf, cfgetispeed, cfgetospeed, cosh, coshf, free_aligned_sized, free_sized, __inet_pton_chk, log10f, __memset_explicit_chk, remainder, remainderf, sinh, sinhf, sqrtf.
  • The harder part is the GLIBC_ABI_GNU2_TLS marker in 33 files, including WebKit and JavaScriptCore. It appears to guard how the loader handles TLS descriptors, so bypassing it may not be safe. I haven't tried patching anything.

If the AppImage ships with this floor, a preflight message alone won't protect people. The updater would still replace a working install, and clients fall back from linux-x86_64-appimage to linux-x86_64, so both manifest keys would have to go. latest-json.sh, verify-release-artifacts.sh and prepare-installers.ts currently require them.

w3irdrobot added a commit that referenced this pull request Nov 5, 2026
Review of #1454 found that linking through zig cc dropped the C hardening
nixpkgs' compiler wrapper applied: zig does not read NIX_HARDENING_ENABLE,
so C dependencies such as ring were built without the stack protector or
_FORTIFY_SOURCE.

Give C and C++ dependencies the wrapper's flags explicitly
(LINUX_C_HARDENING_FLAGS) through CFLAGS, CXXFLAGS and their CMake
equivalents, the variables the reproducible-build path remaps already use.
In the rebuilt `maple` the stack canary checks go from 22 back to 761
(567 in the 3.4.5 release) and the fortified glibc imports return.

zig's compiler-rt supplies __stack_chk_fail and several __*_chk functions
statically, so the stack protector leaves no import to assert. The ELF
check therefore gains --require-fortify: a packaged `maple` must import at
least one fortified glibc function, which is the evidence that the flags
reached the C dependencies. The package verifiers and the pre-bundle check
use it, and it rejects the build this PR first produced.

Also stop the check crashing on GLIBC_ABI_* loader markers. They are not
numbered releases and distributions backport them, so each known marker
names the first release whose every build defines it and any other counts
as above the floor. Ubuntu 24.04's glibc defines only GLIBC_ABI_DT_RELR,
so a file needing GLIBC_ABI_GNU2_TLS is reported by name.

Verified with the research-desktop-linux lane locally and by launching
the resulting .deb on Ubuntu 24.04.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@w3irdrobot

Copy link
Copy Markdown
Contributor Author

Thanks for testing on a real VM. Pushed 5bb2008 for the review points.

Hardening (the fix-before-merge item). Confirmed: zig does not read NIX_HARDENING_ENABLE, so the C dependencies lost the wrapper's flags. They now get the same set explicitly (LINUX_C_HARDENING_FLAGS: stack protector, _FORTIFY_SOURCE=3, stack clash protection, and the rest of what the Nix wrapper injects). I put them in CFLAGS/CXXFLAGS and the CMake equivalents instead of the wrapper script, so they stay out of the link invocations and show up in the build log. That is the same channel the reproducible-build path remaps already use.

__stack_chk_fail will still be absent from the imports, and that is expected. zig's compiler-rt (ssp.zig) defines __stack_chk_fail and several __*_chk functions statically, so they never appear as dynamic imports in a zig-linked binary. The stack protector itself is back on. Counting canary loads (mov %fs:0x28, reg) in usr/bin/maple:

Build Canary loads Fortified glibc imports
3.4.5 release (Nix gcc) 567 6
This PR at 9b3360d (what you tested) 22 0
This PR at 5bb2008 761 2 (__vfprintf_chk, __vsnprintf_chk)

The mem/str _chk calls resolve to zig's static implementations, which is why only the two printf-family ones remain as glibc imports.

Guard. Because the stack-protector symbol is not observable, elf_glibc_floor.py gains --require-fortify: a packaged maple must import at least one fortified glibc function, as evidence the flags reached the C dependencies. The pre-bundle check and the .deb, .rpm, AppImage and Dev RPM verifiers all use it. It rejects the 9b3360d build and passes 3.4.5 and the new one.

GLIBC_ABI_GNU2_TLS crash. Fixed. GLIBC_ABI_* markers are reported by name instead of parsed as numbers. They do not follow release order (Debian 13's 2.41 defines GNU2_TLS, Ubuntu 24.04's 2.39 defines only DT_RELR), so each known marker lists the first release whose every build defines it, and anything else counts as above the floor. On the published AppImage's libwebkit2gtk-4.1.so.0 it now reports the marker alongside the GLIBC_2.42–2.44 symbols.

Verification on 5bb2008. research-desktop-linux lane locally: exit 0, all four copies of maple report GLIBC_2.39 floor=2.39 fortify=2. The resulting .deb starts on an Ubuntu 24.04 container under Xvfb and completes its update check. nix flake check: 556 CI script tests pass.

Still open, unchanged by this push.

  • desktop-release.sh has not run with the change; it calls the same function as desktop-pr.sh.
  • aarch64 caveat for the future: there the stack guard is the __stack_chk_guard global, which zig's compiler-rt defines as a fixed constant. Releases are x86_64 only, where the canary comes from glibc's TLS slot, so nothing shipped is affected, but an ARM Linux build would need that settled first.
  • Agreed on the AppImage: a preflight alone does not help once the updater has replaced a working install, and the manifest key fallback makes it worse. That needs its own issue and decision; this PR does not change AppImage behaviour.

🤖 Generated with Claude Code

w3irdrobot and others added 3 commits November 5, 2026 17:33
The 3.4.7 Linux .deb, .rpm and AppImage fail to start on Ubuntu 24.04 and
Mint 22 with "version `GLIBC_2.43' not found" (#1453). The Linux release
links `maple` against the Nix shell's glibc and then patches in the system
ELF interpreter, so whatever glibc nixpkgs carries becomes the floor the
package needs. The nixpkgs bump in #1431 moved that glibc from 2.40 to
2.44, and libm now binds acosf/atan2f to GLIBC_2.43. 3.4.5 and 3.4.6 only
worked because glibc 2.40 added no symbol the app used.

Link against an explicit floor instead, the way the Agent app already
does: cargo-zigbuild's zig cc wrapper with `-target x86_64-linux-gnu.2.39`
(Ubuntu 24.04, the oldest supported distribution). The linker and C
compiler are set through Cargo's target.<host> environment so tauri-cli's
own cargo builds honour them without changing the target/release layout.
Executables link with the Nix loader while they build and run under the
build's Nix LD_LIBRARY_PATH; the existing sanitize step gives the packaged
executable the system loader back. The wrapper runs on the Nix bash and
pins zig and rustc so cargo-zigbuild never probes PATH, python or
`$RUSTC_WRAPPER rustc` from inside sccache's server.

Add scripts/ci/elf_glibc_floor.py, which parses the ELF version needs
and fails when a file needs a GLIBC_x.y above the floor, naming the
symbols. The build runs it on target/release/maple before bundling and the
.deb, .rpm, AppImage and Research Dev RPM verifiers run it on every
packaged copy, so a nixpkgs bump cannot raise the requirement silently.

Verified with the research-desktop-linux lane locally: the packaged
`maple` needs at most GLIBC_2.39 (pidfd_spawnp from std) with the system
interpreter, where the 3.4.7 release needs GLIBC_2.43.

Not covered: the AppImage's bundled Nix WebKitGTK libraries need
GLIBC_2.44 themselves, so the AppImage still needs a separate decision
(bundle glibc, or pin the Linux runtime closure).

Fixes #1453

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Review of #1454 found that linking through zig cc dropped the C hardening
nixpkgs' compiler wrapper applied: zig does not read NIX_HARDENING_ENABLE,
so C dependencies such as ring were built without the stack protector or
_FORTIFY_SOURCE.

Give C and C++ dependencies the wrapper's flags explicitly
(LINUX_C_HARDENING_FLAGS) through CFLAGS, CXXFLAGS and their CMake
equivalents, the variables the reproducible-build path remaps already use.
In the rebuilt `maple` the stack canary checks go from 22 back to 761
(567 in the 3.4.5 release) and the fortified glibc imports return.

zig's compiler-rt supplies __stack_chk_fail and several __*_chk functions
statically, so the stack protector leaves no import to assert. The ELF
check therefore gains --require-fortify: a packaged `maple` must import at
least one fortified glibc function, which is the evidence that the flags
reached the C dependencies. The package verifiers and the pre-bundle check
use it, and it rejects the build this PR first produced.

Also stop the check crashing on GLIBC_ABI_* loader markers. They are not
numbered releases and distributions backport them, so each known marker
names the first release whose every build defines it and any other counts
as above the floor. Ubuntu 24.04's glibc defines only GLIBC_ABI_DT_RELR,
so a file needing GLIBC_ABI_GNU2_TLS is reported by name.

Verified with the research-desktop-linux lane locally and by launching
the resulting .deb on Ubuntu 24.04.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The glibc 2.39 floor fixes `maple`, which is all the .deb and .rpm carry.
The AppImage also bundles Nix-built WebKitGTK, GTK and GStreamer while
taking libc from the host. Of its 628 ELF files, 44 need more than glibc
2.39 and ten need 2.44, WebKitGTK and JavaScriptCore among them. Those
cannot be relinked, so the AppImage cannot run on Ubuntu 24.04 whatever
`maple` itself needs, and until now failed there in the dynamic loader
with a missing symbol version.

Make that floor explicit instead of accidental:

- LINUX_APPIMAGE_GLIBC_FLOOR (2.44) declares the newest glibc any bundled
  file needs.
- AppRun sources a new maple-glibc-floor.sh hook before any bundled
  runtime hook. On a host below the floor it explains the requirement,
  points to the .deb and .rpm (glibc 2.39 and newer) and exits, with a
  best-effort desktop dialog for launches without a terminal. A host that
  reports no glibc version is not refused, and
  MAPLE_APPIMAGE_SKIP_GLIBC_CHECK=1 overrides the check.
- AppImage verification scans every bundled ELF file and fails when the
  bundle needs more than the declared floor, when nothing needs it, or
  when AppRun announces another floor. A nixpkgs bump that moves the
  requirement therefore has to change the constant in the same change.

elf_glibc_floor.py gains --summary and --exact for that scan, and learns
the two loader markers glibc 2.43 introduced (GLIBC_ABI_GNU2_TLS,
GLIBC_ABI_DT_X86_64_PLT).

Verified with the research-desktop-linux lane locally: the built AppImage
prints the message and exits 1 on Ubuntu 24.04, Ubuntu 26.04, Debian 13
and Fedora 43, and starts on Ubuntu 26.10.

This does not stop the updater from replacing a working AppImage on a host
below the floor; that needs a separate change to the update metadata.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@w3irdrobot

Copy link
Copy Markdown
Contributor Author

@AnthonyRonning an update on the AppImage, since your review raised it and the PR now does something about it. The earlier reply covers the hardening fix; this is about the approach we took for the AppImage and why.

Decision: declare the AppImage's floor instead of trying to lower it. We looked at the alternatives and landed here for this PR:

  • Relinking is not available. Your scan matches mine on the build from this branch: of 628 ELF files, 571 are fine at 2.39, 3 need 2.42, 31 need 2.43 and 10 need 2.44, including libwebkit2gtk-4.1.so.0 and libjavascriptcoregtk-4.1.so.0. So the real floor is glibc 2.44, set by Nix-built WebKitGTK.
  • Patching the 68 files is out for the reason you gave. The GLIBC_ABI_GNU2_TLS marker turns out not to be the binding constraint though: upstream added it in glibc 2.43 and distros backported it (Debian 13's 2.41 and AlmaLinux 10's 2.39 define it; Ubuntu 24.04's 2.39 does not). The numbered symbols alone put the floor at 2.44.
  • Bundling glibc is what the Agent app removed in fix(agent): run Linux bundles on the host glibc, like Zed (#1166) #1403 because of conflicts with newer host Mesa/LLVM drivers, and this AppImage loads host GPU drivers the same way.
  • Building the AppImage runtime from Ubuntu 24.04 packages would give a true 2.39 floor. It is the only option that makes the AppImage work on 24.04, and it is a much larger change to the closure handling and WebKit staging. We chose not to take that on here.

What the PR does (commit b7101c5):

  • LINUX_APPIMAGE_GLIBC_FLOOR is 2.44, next to the 2.39 floor for the .deb and .rpm.
  • AppRun sources a new maple-glibc-floor.sh hook before any bundled runtime hook. Below the floor it says what the AppImage needs and what the host has, points to the .deb/.rpm (glibc 2.39+) and exits 1, with a best-effort zenity/kdialog/notify-send dialog for launches without a terminal. A host that reports no glibc version is not refused, and MAPLE_APPIMAGE_SKIP_GLIBC_CHECK=1 overrides it.
  • verify_linux_appimage_executable_metadata now scans every ELF file in the bundle with elf_glibc_floor.py and fails if the bundle needs more than the declared floor, if nothing needs it any more, or if AppRun announces a different number. So a nixpkgs bump that moves the floor fails CI until the constant changes in the same PR, instead of shipping silently like Bump root nixpkgs to nixos-unstable 2026-10-30 #1431 did. This is also the "CI reports the AppImage's real floor" piece; the GLIBC_ABI_* crash you hit is fixed and those markers are handled by name.

Tested: the built AppImage prints the message and exits 1 on Ubuntu 24.04, Ubuntu 26.04, Debian 13 and Fedora 43, and starts and completes its update check on Ubuntu 26.10 and Fedora 45 (headless, Xvfb). In distro terms it now runs on 26.10, Fedora 45, Arch and Tumbleweed.

Your updater point still stands and is not fixed here. A clear message does not stop the updater from replacing a working AppImage on a host below the floor, and the linux-x86_64-appimage to linux-x86_64 fallback is untouched. I left latest-json.sh, verify-release-artifacts.sh and prepare-installers.ts alone because changing what the release publishes felt like its own decision. It is listed under "Not covered" in the description. Until that is handled, a 3.4.6 AppImage user on an older glibc who updates will land on the message.

Status: rebased on master (picks up #1468), ci-ok is green on b7101c5 with ci:package, and the description is updated to match. The earlier approval was dismissed by the pushes, so this needs another look when you have time. The .rpm item from your list is done: the PR build starts on Fedora 42 (glibc 2.41), where the published 3.4.7 fails.

🤖 Generated with Claude Code

@w3irdrobot

Copy link
Copy Markdown
Contributor Author

A correction to my previous comment. I wrote that the AppImage "starts and completes its update check on Ubuntu 26.10 and Fedora 45". That overstated what I had tested.

What I had actually checked: that the maple process stayed alive and logged its updater activity. I did not check the WebKit renderer.

What a closer look shows. On Ubuntu 26.10 in the minimal container I used, maple and WebKitNetworkProcess were running after 25 s but WebKitWebProcess was not, so the window would have been blank. The log line Couldn't open libGLESv2.so.2: /nix/store/...-libglvnd-1.7.0/lib/libGLESv2.so.2 is the cause: the bundled libepoxy.so.0 embeds the Nix libglvnd directory, and the AppImage does not bundle libGLESv2.

With the host's own libGLESv2.so.2 installed (libgles2), which a normal desktop has, all three processes are alive after 25 s and the error line is gone. So the result holds on a real desktop, but my container run did not demonstrate it. I repeated this on Ubuntu 26.10 only, not Fedora 45.

This is not from this PR. The published 3.4.7 AppImage has the same embedded path in libepoxy.so.0 and also bundles no libGLESv2, so it predates these changes and is independent of the glibc work. It most likely goes unnoticed because desktop installs usually carry that library. It is still a real defect for a self-contained AppImage, since a host without it gets a blank window and no error. It is being fixed in a separate branch and will come as its own PR.

Nothing in this PR's code changes as a result. I have updated the description's verification notes to say what was tested at the process level and to describe this caveat.

🤖 Generated with Claude Code

@AnthonyRonning AnthonyRonning left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved after testing the final build (b7101c5) on real Ubuntu 24.04 and Fedora 45 desktops.

@AnthonyRonning
AnthonyRonning merged commit 70286af into master Nov 5, 2026
42 checks passed
@AnthonyRonning
AnthonyRonning deleted the fix/linux-glibc-floor branch November 5, 2026 19:34

This branch was successfully deployed

2 active deployments
pages-pr-1454 — b7101c5e Deployed Nov 5, 2026 by github-actions[bot]
auth-pages-pr-1454 — b7101c5e Deployed Nov 5, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:package Build unsigned packages on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux .deb 3.4.7 fails to launch on Ubuntu 24.04 / Mint 22 — requires GLIBC_2.43, but system has 2.39

2 participants