Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690418 - app-emulation/qemu-4.0.0-r3 needs a patch to build with >=sys-kernel/linux-headers-5.2
Summary: app-emulation/qemu-4.0.0-r3 needs a patch to build with >=sys-kernel/linux-he...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: linux-headers-5.2
  Show dependency tree
 
Reported: 2019-07-21 22:14 UTC by Maciej S. Szmigiero
Modified: 2019-07-28 18:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(+)