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

Bug 690418

Summary: app-emulation/qemu-4.0.0-r3 needs a patch to build with >=sys-kernel/linux-headers-5.2
Product: Gentoo Linux Reporter: Maciej S. Szmigiero <mail>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 690296    

Description Maciej S. Szmigiero 2019-07-21 22:14:57 UTC
app-emulation/qemu-4.0.0-r3 does not build with >=sys-kernel/linux-headers-5.2
as SIOCGSTAMP was moved across headers.

It does compile successfully, however, after applying this upstream patch
(small whitespace adaptation needed):
https://git.qemu.org/?p=qemu.git;a=commit;h=6d5d5dde9adb5acb32e6b8e3dfbf47fff0f308d2
Comment 1 cyrillic 2019-07-26 23:31:13 UTC
I was not able to get the patch to work, but running app-emulation/qemu-9999 is another way to get sys-kernel/linux-headers-5.2 working.
Comment 2 Larry the Git Cow gentoo-dev 2019-07-28 18:21:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76e446190008f27fbad7ad055ea57c4e124a232

commit f76e446190008f27fbad7ad055ea57c4e124a232
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2019-07-28 18:11:01 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2019-07-28 18:21:26 +0000

    app-emulation/qemu: maintenacne patches, revbump
    
     * patch for linux-headers-5.2
     * apply upstream patch for pc-q35 regression with windows guests
    
    Closes: https://bugs.gentoo.org/690418
    Closes: https://bugs.gentoo.org/690280
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 .../qemu/files/qemu-4.0.0-linux-headers-5.2.patch  | 334 +++++++++
 .../qemu/files/qemu-4.0.0-pc-q35-4.0.patch         | 135 ++++
 app-emulation/qemu/qemu-4.0.0-r4.ebuild            | 813 +++++++++++++++++++++
 3 files changed, 1282 insertions(+)