Created attachment 426826 [details, diff] Patch to fix compile failure There seems to be corruption in the upstream tarball. include/public/grant_table.h has some 'corrupt' characters in one of it's comments, leading to gcc not detecting the end of the comment block. The attached patch fixes compilation on my system. The corruption does not appear in the git tree, so it must have been introduced during the generation of the tarball.
Ahhh, viewing the patch in browser, it's a smart quote.
http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=3f293c7caaefc2c37b61e44e8ebd5a7f1c554afb Upstream fix... should be rolled into the ebuild.
For anyone concerned with backporting the upstream fix, there is exactly zero risk as it only affects a comment with a smart quote that grep isn't smart enough to parse correctly.
commit 5e3265d6af09ae438104fc24c8e8537c4c235061 Author: Ian Delaney <idella4@gentoo.org> Date: Thu Apr 14 20:00:50 2016 +0800 app-emulation/xen-tools: correct typo in source of vn. 4.6.1 noted in gentoo bug, set with an equivalent sed statement substituting an upstream patch, the sed being completed in one line Gentoo-bug: #575868 commit e7f4ae036081464c52eb4bd8d61baf87dd4478d5 Author: Ian Delaney <idella4@gentoo.org> Date: Thu Apr 14 19:59:09 2016 +0800 app-emulation/xen: correct typo in source of vn. 4.6.1 noted in gentoo bug, set with an equivalent sed statement substituting an upstream patch, the sed being completed in one line Gentoo-bug: #575868