Broken down it fails like this: ====================================================================== sping@freedom /var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/dix # ../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DDBUS_API_SUBJECT_TO_CHANGE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((5) * 1000) + 0)" -march=nocona -O2 -pipe -MT dispatch.lo -MD -MP -MF .deps/dispatch.Tpo -c -o dispatch.lo dispatch.c In file included from ../Xext/panoramiX.h:44, from dispatch.c:134: /usr/include/X11/extensions/panoramiXext.h:49: error: expected ‘)’ before ‘*’ token /usr/include/X11/extensions/panoramiXext.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXQueryVersion’ /usr/include/X11/extensions/panoramiXext.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetState’ /usr/include/X11/extensions/panoramiXext.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetScreenCount’ /usr/include/X11/extensions/panoramiXext.h:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetScreenSize’ dispatch.c: In function ‘ProcCloseFont’: dispatch.c:1117: warning: ‘SecurityLookupIDByType’ is deprecated (declared at ../include/resource.h:272) ====================================================================== The related header (panoramiXext.h) is coming from x11-libs/libXinerama-1.1. The header looks sane to me at that place, no later patches to it from upstream. Any ideas? What more info do you need from me?
You're probably mixing ~arch and stable packages. Check your packages.keywords and packages.unmask. Thanks
(In reply to comment #1) > You're probably mixing ~arch and stable packages. Check your packages.keywords > and packages.unmask. I don't see how that makes the bug invalid. I had xorg-server-1.7 masked, nothing related else. Also, with "emerge --update @world" I run into a mix of testing and stable over time anyway.
Reopening
https://bugs.gentoo.org/show_bug.cgi?id=291312#c12 is what you need if you want to stay with xorg-server 1.6. Thanks *** This bug has been marked as a duplicate of bug 291312 ***