Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920279

Summary: app-emulation/qemu-8.1.3 doesn't compile on musl: error: 'F_GETLK64' undeclared
Product: Gentoo Linux Reporter: Tohka <enigmaticsmile>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dilfridge
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
build.log
patch

Description Tohka 2023-12-18 16:48:49 UTC
Created attachment 879878 [details]
emerge-info.txt

Hi qemu-8.1.3 doesn't compile on musl however there was a patch that I have found on alpine that just worked on gentoo. However, it would be great if something could be added or forwarded to upstream so that we don't need to do this.

I have attached the patch, build log and emerge info.
Comment 1 Tohka 2023-12-18 16:49:09 UTC
Created attachment 879879 [details]
build.log
Comment 2 Tohka 2023-12-18 16:49:49 UTC
Created attachment 879880 [details, diff]
patch
Comment 3 Alfred Wingate 2023-12-18 17:24:52 UTC
https://www.mail-archive.com/qemu-devel@nongnu.org/msg926875.html it appears it was submitted to the mailing list. Only the first patch was applied while the second part was left out?

https://github.com/qemu/qemu/commit/87d67ffe4f7e4faad9fa5bc7129ca91d314677ed
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-18 22:39:23 UTC

*** This bug has been marked as a duplicate of bug 915809 ***