FS#78520 - [yosys] huge package size increase in 0.24-4

Attached to Project: Community Packages
Opened by jules maselbas (jmaselbas) - Sunday, 14 May 2023, 20:23 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Filipe Laíns (FFY00)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

upgrading the ysosys package comes with a huge size increase:

community/yosys 0.24-3 -> 0.24-4
Net Change: ~238MB

on IRC BrainDamage noted:
"it got a .so without debug symbols stripping [...] in particular /usr/lib/python3.11/site-packages/pyosys /libyosys.so"

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:06 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/yosys/issues/1
Comment by Toolybird (Toolybird) - Sunday, 14 May 2023, 23:02 GMT
> without debug symbols stripping

Interesting. It's unclear how that could have happened.
Comment by loqs (loqs) - Monday, 15 May 2023, 10:27 GMT
> Interesting. It's unclear how that could have happened.
usr/lib/yosys/libyosys.so
usr/lib/python3.11/site-packages/pyosys/libyosys.so
Are the same library, so have the same Build ID. strip_file() in usr/share/makepkg/tidy/strip.sh skips the second instance of libyosys.so as it has already processed that Build ID.
https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/38

Related note yosys does its own stripping which should probably be disabled with STRIP=/usr/bin/true

Loading...