Skip to content

Desktop jar: ship a stripped linux libpython (252 MB unstripped today) #86

Closed

Description

@b-re-w

After #74 the linux libpython3.14.so in the desktop jar is the real file but 251,884,016 bytes: python-build-standalone's install_only build carries debug info, and the best-effort strip finds no ELF-capable strip on a macOS build host (no ELF-capable strip found; libpython3.14.so ships unstripped). macOS dylibs are ~19 MB.

Fix: acquire PBS's install_only_stripped archives (pin URL + SHA-256 like the others in python-checksums.properties) for linux (and check windows/macos variants), instead of relying on a host strip tool. Measure the jar before/after.

Completion: the jar's linux libpython is a stripped ELF (size recorded), checksums pinned, a build check fails if a linux libpython in the jar has a .debug_info section.

Activity

  1. b-re-w commented on Oct 3, 2026

    @b-re-w
    MemberAuthor

    Landed in develop via #93.

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