You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop jar ships a 0-byte linux libpython3.14.so (symlink) and a 252 MB unstripped .so.1.0 #74
Found by toolchain#22's desktop-e2e on ubuntu (UnsatisfiedLinkError: .../libpython3.14.so: file too short). The published desktop jar (3.14.7-alpha01) contains:
0 lib/linux-x86_64/libpython3.14.so <- symlink in the PBS tarball, packed as an empty file
251884016 lib/linux-x86_64/libpython3.14.so.1.0 <- the real library, apparently unstripped
16800 lib/linux-x86_64/libpython3.so
19394064 lib/macos-aarch64/libpython3.14.dylib
manager.extractLibrary copies libpython3.14.so (the 0-byte entry) into the working directory (File(".", name)) and loads it.
Three defects:
Symlinks in the python-build-standalone archive become 0-byte jar entries; the jar must carry the real file under the name the loader asks for (resolve links when packing).
The linux library is ~250 MB vs ~19 MB on macOS; strip debug info when packing (or pick the stripped PBS variant) — measure before/after.
Completion: a plugin/build test that fails when any lib/** entry in the desktop jar is 0 bytes or a symlink stub; the linux entry loads in a CI job on ubuntu with no PYTHONHOME; extraction no longer writes to the cwd.
Activity
Test: Staged prefix materialises archive symlinks; a packaged home wi…
Fix: Extract the CPython archive with symlinks materialised and guard…
b-re-w commentedon Oct 3, 2026
Landed in develop via #85.