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#74954 - [qemu] binaries not stripped

Attached to Project: Arch Linux
Opened by Toolybird (Toolybird) - Saturday, 04 June 2022, 02:01 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 12 July 2022, 04:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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.

Loading...