Skip to content

[Bug]: v0.1.10 .deb adds libc6 (>= 2.39) dependency with no corresponding glibc need — breaks Ubuntu 22.04 installs #38057

Closed

Description

@54keesh

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Run T3 Code 0.1.9 (.deb) on Ubuntu 22.04 LTS (jammy, glibc 2.35).
  2. Let the in-app updater download and install 0.1.10, or manually sudo dpkg -i T3-Code-0.1.10-amd64.deb.

Expected behavior

Update installs successfully, as previous releases did on the same OS.

Actual behavior

dpkg -i fails:

dpkg: dependency problems prevent configuration of t3code:
 t3code depends on libc6 (>= 2.39); however:
  Version of libc6:amd64 on system is 2.35-0ubuntu3.18.
dpkg: error processing package t3code (--install):
 dependency problems - leaving unconfigured

Ubuntu 22.04's libc6 tracks within the 2.35 series via normal apt upgrade and will never reach 2.39 (that ships starting with Ubuntu 24.04 noble), so this isn't fixable by updating packages — it effectively requires an OS upgrade.

Investigation — this looks like a packaging regression, not a real requirement

Comparing the .deb control metadata and actual binaries for 0.1.9 vs 0.1.10:

  • 0.1.9's .deb control file has no libc6 dependency at all:
    Depends: libasound2t64 | libasound2, libatspi2.0-0t64 | libatspi2.0-0, libgbm1,
             libgtk-3-0t64 | libgtk-3-0, libnotify4, libnss3, libsecret-1-0,
             libuuid1, libxss1, libxtst6, xdg-utils
    
  • 0.1.10's adds libc6 (>= 2.39).
  • Both versions bundle the identical Electron/Chromium build: Chrome/152.0.7977.169 Electron/44.10.1 (confirmed via strings on the main binary in both .debs).
  • objdump -T on the main t3code binary in both 0.1.9 and 0.1.10 shows the highest versioned glibc symbol actually referenced is GLIBC_2.25 — nowhere near 2.39, and already satisfied by glibc 2.35.

Since the binary itself is unchanged between the two releases and doesn't reference any GLIBC_2.39 symbols, the new libc6 (>= 2.39) floor appears to be an artifact of the packaging/build pipeline (e.g. an electron-builder version bump or a change in the CI build image's default dependency generation) rather than an actual runtime requirement. This silently drops support for Ubuntu 22.04 LTS (and any other glibc < 2.39 distro) with a minor version bump, without changelog mention.

Impact

Major degradation or frequent failure

Version or commit

Upgrading from 0.1.9 (.deb) to 0.1.10 (.deb)

Environment

Ubuntu 22.04.5 LTS (jammy), glibc 2.35-0ubuntu3.18

Suggestion

  • Investigate the CI/build config change between 0.1.9 and 0.1.10 that introduced the libc6 (>= 2.39) dependency (likely electron-builder config or version), since it doesn't correspond to an actual symbol requirement in the shipped binary.
  • If a real OS-support decision is being made (dropping Ubuntu 22.04 LTS), please document it in release notes / system requirements instead of surfacing only as a bare dpkg dependency error.

Activity

  1. 54keesh commented on Nov 17, 2026

    @54keesh
    Author

    Root cause identified: it's a single binary, not a real glibc requirement.

    Checked GLIBC_2.39 symbol references across every native binary bundled in the 0.1.10 .deb. Only resources/kde-capture/t3-kde-snap-shot references it:

    w   DF *UND* (GLIBC_2.39) pidfd_spawnp
    w   DF *UND* (GLIBC_2.39) pidfd_getpid
    

    These are weak symbols from glibc's pidfd_spawn(3) wrappers (added in glibc 2.39), pulled in by Rust's std::process::Command on Linux. native/kde-snap-shot's source is unchanged between the real 0.1.9 and 0.1.10 release commits (confirmed via git diff on native/) — so this isn't an app code change. The release workflow pins the Rust toolchain to a floating channel:

    uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
    with:
      toolchain: stable

    A newer stable Rust on the CI runner between the two release builds is what linked these new weak symbols into the identical source, and dpkg-shlibdeps/fpm then conservatively bumped the whole package's libc6 floor to 2.39 — even though weak symbols don't hard-require the glibc version at runtime.

    Possible fixes: pin the Rust toolchain to an exact version instead of floating stable, or have the deb packaging step exclude kde-snap-shot's weak pidfd symbols from dependency generation (e.g. via an explicit --deb-no-default-deps/symbol-exclusion on that one binary, or building it with an older glibc baseline via cargo zigbuild/a pinned sysroot).

    Happy to send a PR pinning the Rust toolchain version if that's the preferred fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions