Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45809 - [python] please strip libpython3

Attached to Project: Arch Linux
Opened by CalimeroTeknik (Calimero) - Tuesday, 28 July 2015, 12:52 GMT
Last edited by Felix Yan (felixonmars) - Monday, 05 October 2015, 18:08 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Angel Velasquez (angvp)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The python3 library is a lot bigger than python2's.
2,0M /usr/lib/libpython2.7.so.1.0
8,8M /usr/lib/libpython3.4m.so.1.0

I tried `strip -s` on it and:
2,5M /tmp/libpython3.4m.so.1.0

My interest in this is that it would notably make python3 programs more reactive the first time when using slow media.
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 05 October 2015, 18:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in python 3.5.0
Comment by Doug Newgard (Scimmia) - Tuesday, 28 July 2015, 14:52 GMT
The problem here seems to be that the library is read only inside fakeroot. According to Dave, Allan, and Andrew, makepkg ignores stripping read-only libs.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 15 September 2015, 07:53 GMT
Are you sure about the effect? I believe this will only save some space (download and installed). The debug information isn't actually read from disk until it is needed.

Loading...