Skip to content

appimage: After the glibc 2.28 base (#927), the bundle check fails: 240 ELF files resolve host libraries #1042

Closed

Description

@zackees

Found while reproducing the AppImage container-test failures under bosn: `debian:trixie-slim`, the AppImage from run 38869769545 (master plus #1034), scenario `bundle`. With the `--version` check fixed (separate PR), the bundle scenario reports:

240 ELF files checked, 240 resolve libraries or symbols wrongly
::error::240 bundled ELF files do not load from the bundle

How many bundled ELF files resolve each library from the host:

Library Count
libc.so.6 239
libpthread.so.0 157
libdl.so.2 153
libm.so.6 124
libgcc_s.so.1 93
librt.so.1 91
libstdc++.so.6 81
libresolv.so.2 50
libffi.so.8 42
libutil.so.1 27

Questions for #927's design

  1. glibc family (libc, libm, libdl, librt, libpthread, libresolv, libutil): appimage: Build on a glibc 2.28 base and stop bundling glibc #927 stops bundling glibc, so host resolution is now intended. The bundle check in `test-appimage.sh` still requires them from the bundle ("With glibc bundled, the glibc libraries host GPU drivers link ... must come from the bundle too"). The check should allow them.
  2. libgcc_s / libstdc++: are these meant to come from the host now too? The old design bundled them and preferred the host's only when newer (appimage: Bundled glibc 2.43 can't load host Mesa's LLVM on glibc 2.44 hosts (root cause of #617) #621).
  3. libffi.so.8: likely a real gap. 42 bundled files take it from the host, and a host isn't guaranteed to have that soname. Should it be bundled?
  4. Loader warning: `libobs-va.so.2: no version information available (required by libavutil.so.60)` now prints on every run, in users' terminals too. The renamed libva has lost its symbol versions.

Reproduce

bosn run --task appimage-test-bundle --manifest build_appimage_test/bosn.toml

This uses a local manifest: Debian trixie pinned by digest, with `HOSTILE_QT=1` and `EXPECT_RUST=1`, mirroring `appimage.yaml`. Add a `[task]` like this to the repo's `bosn.toml` if it's useful.

Activity

  1. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Checked against master (72074061e, #1063): all four points look resolved.

    1-2. test-appimage.sh now allows the host C/C++ runtime when no glibc is bundled (HOST_RUNTIME_RE: libc, libm, libdl, librt, libpthread, libresolv, libutil, libstdc++, libgcc_s, ...; lines ~339-345).
    3. libffi is allowed as part of the host driver stack: nothing bundled links it; the host's libwayland-client does.
    4. The libobs-va.so.2: no version information warning is handled in build-aux/appimage/hostlib/build.py (~l.218) and asserted absent by hostlib/test-hostlib.sh (~l.60).

    The bundle scenario passed on Debian trixie and AlmaLinux 8 in local runs for #1234 today. Unless someone still sees the 240-file failure, this can be closed.

  2. zackees commented on Oct 18, 2026

    @zackees
    MemberAuthor

    Closing per the check above: all four points are resolved on master, and the bundle scenario passes on Debian trixie and AlmaLinux 8. No one has reported the 240-file failure since. Reopen if it comes back.

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions