Created attachment 403128 [details] build.log-emerge info-environment fails to build generating this error: /usr/include/xorg/os.h:579:1: error: expected identifier or ‘(’ before ‘__extension__’ I attach build.log and emerge info files.
Created attachment 406224 [details, diff] 0007-always_include_xorg_server.h.patch I was directed to this patch at https://github.com/openembedded/oe-core/blob/master/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0007-always_include_xorg_server.h.patch and it fixed this bug for me. I hope it helps.
(In reply to DogHackit from comment #1) > Created attachment 406224 [details, diff] [details, diff] > 0007-always_include_xorg_server.h.patch > > I was directed to this patch at > https://github.com/openembedded/oe-core/blob/master/meta/recipes-graphics/ > xorg-driver/xf86-video-omapfb/0007-always_include_xorg_server.h.patch and it > fixed this bug for me. > I hope it helps. I came across this same patch on my own searching before coming here. It works for me too. Also, it looks like this is not the first time this occurred. Same happened with x11-drivers/xf86-input-vmmouse in bug 527190.
Can confirm. Reproduced this issue on the Raspberry Pi B+ when emerging xorg-server. xf86-video-omapfb fails to build with this exact error. This patch fixed it.
Please include patch 0007-always_include_xorg_server.h.patch
Was it forwarded to upstream?
commit 1469ff24575a246ca2ec87157358a2544205a46d Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> Date: Sun May 29 19:58:30 2016 +0200 x11-drivers/xf86-video-omapfb: fix building against glibc-2.20 Bug: https://bugs.gentoo.org/show_bug.cgi?id=549264 Package-Manager: portage-2.2.28