FS#74954 - [qemu] binaries not stripped

Attached to Project: Arch Linux
Opened by Toolybird (Toolybird) - Saturday, 04 June 2022, 02:01 GMT
Last edited by David Runge (dvzrv) - Wednesday, 07 September 2022, 20:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

As of qemu-7.0.0, some of the emulators are deliberately not stripped, ie: "options=(!strip)" exists in package_* funcs.

This doesn't quite make sense as a debug pkg also gets built (unless I'm missing something).

$ ls -sh
33M qemu-system-i386 34M qemu-system-x86_64

after stripping:

$ ls -sh
20M qemu-system-i386 20M qemu-system-x86_64

The QEMU build machinery used to do the stripping for us, but this is no longer the case [1]. Recommend makepkg be allowed to strip the binaries. The only issue might be the blobs but hopefully not.

[1] https://gitlab.com/qemu-project/qemu/-/commit/a70248db

This task depends upon

Closed by  David Runge (dvzrv)
Wednesday, 07 September 2022, 20:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with qemu 7.1.0-4
Comment by Toolybird (Toolybird) - Tuesday, 12 July 2022, 04:26 GMT
> unless I'm missing something

Having looked into this a bit deeper, I can now see why David had to do it this way. The current debug machinery is a bit broken resulting in a broken debug pkg. There are some fixes in pacman git so hopefully we will see a fixed pacman release soon? Another option would be to just forget about a QEMU debug pkg for the time being.
Comment by David Runge (dvzrv) - Saturday, 03 September 2022, 00:17 GMT
The packages are now stripped. Please make sure that everything still works as intended with qemu* 7.1.0-2 (currently in [testing]).

Loading...