← All tasks
pythonpython-lz4/python-lz4 #305Not a task: already works

Package size due to nonstripped library files

envgap__python-lz4__python-lz4-305

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
d5daffd8356e71cb075fef5071bbbe75b274d109
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

python-lz4/python-lz4 #305 · read the original issue
The package currently has a size of 5,256 kb (amd64) as the library files are not stripped. Stripping the library files brings it down to a mere 656 kb.

This is important for building small Docker images for edge device scenarios.

Could the official library files be stripped?


A note about stripping: This is about removing debug symbols from the library.
```
⮞ file _version.cpython-312-x86_64-linux-gnu.so
_version.cpython-312-x86_64-linux-gnu.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=27c8a45f9c078580ad07c9dc9003ba742301762b, with debug_info, not stripped
⮞ strip _version.cpython-312-x86_64-linux-gnu.so
⮞ file _version.cpython-312-x86_64-linux-gnu.so
_version.cpython-312-x86_64-linux-gnu.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=27c8a45f9c078580ad07c9dc9003ba742301762b
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]