Summary: | app-emulation/qemu[xfs]: Build failure using sys-kernel/linux-headers-4.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Vesely <jano.vesely> |
Component: | Current packages | Assignee: | Gentoo QEMU Project <qemu+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugzie, c.affolter, jesse, roy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://lists.nongnu.org/archive/html/qemu-trivial/2016-03/msg00054.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
configure: Check if struct fsxattr is available from linux headers
create_config:generate defines for HAVE_* configuration options |
Description
Jan Vesely
2016-03-20 03:13:00 UTC
Created attachment 428632 [details, diff]
configure: Check if struct fsxattr is available from linux headers
Created attachment 428636 [details, diff]
create_config:generate defines for HAVE_* configuration options
this is a partial backport of patch in upstream qemu that makes the first patch work by adding the necessary define.
please send patches like this to the upstream qemu mailing list (In reply to SpanKY from comment #3) > please send patches like this to the upstream qemu mailing list I did. https://lists.nongnu.org/archive/html/qemu-trivial/2016-03/threads.html#00054 (In reply to Jan Vesely from comment #4) great! let's see how it pans out. +1 here. Perhaps this should be changed to "CONFIRMED"? :) Cheers. the xfs code isn't terribly useful if you want to disable it for now. it's only used when using raw disk images on an XFS formatted fs, and then it's only to quickly zero out / discard blocks. This has been broken for over a month now ... (In reply to SpanKY from comment #7) > the xfs code isn't terribly useful if you want to disable it for now. it's > only used when using raw disk images on an XFS formatted fs, and then it's > only to quickly zero out / discard blocks. Note that xfsprogs<4.5 also fails to build with linux-headers>=4.5. So maybe the correct fix is to have a block for those combinations. qemu builds OK with xfsprogs-4.5 and linux-headers-4.5 even without these patches. The first patch was accepted upstream: http://git.qemu.org/?p=qemu.git;a=commit;h=277abf15a60f7653bfb05ffb513ed74ffdaea1b7 Note that backporting to 2.5 will also need the other patch (generate defines ...) if you decide to go that way. i've added that patch to the 2.5.1 stable ebuild: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b13602fdf3ffadf7a32cf41f29580a686bd0802 and 2.6.0 is in the tree for unstable. |