xserver-8dc70ac and ffb47a1 (Keith Packard) fail to build. No build issue with xserver-db9d2b8 and previous ones. ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-debug=no --without-doxygen make: ----- Making all in glx make[1]: Entering directory `/home/jos/src/xorg/git/xserver/glx' CC glxdri2.lo glxdri2.c: In function '__glXDRIscreenDestroy': glxdri2.c:374:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] glxdri2.c: In function 'dri2_convert_glx_attribs': glxdri2.c:422:20: error: '__DRI_CTX_FLAG_DEBUG' undeclared (first use in this function) glxdri2.c:422:20: note: each undeclared identifier is reported only once for each function it appears in glxdri2.c:422:43: error: '__DRI_CTX_FLAG_FORWARD_COMPATIBLE' undeclared (first use in this function) glxdri2.c: In function 'initializeExtensions': glxdri2.c:822:29: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] glxdri2.c: In function '__glXDRIscreenProbe': glxdri2.c:859:36: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] glxdri2.c:860:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] glxdri2.c: At top level: glxdri2.c:382:1: warning: 'dri2_convert_glx_attribs' defined but not used [-Wunused-function] make[1]: *** [glxdri2.lo] Error 1 make[1]: Leaving directory `/home/jos/src/xorg/git/xserver/glx' make: *** [all-recursive] Error 1 ----
No more compilation error with latest git xserver-59c2c4f6. Bug can be closed.
This issue is still present building xorg-server-1.12.99.901 and the git version.
Since today's last git xserver-d5977e5, xf86: include xf86platformBus.h in xf86AutoConfig.c no more build issues. This bug can be closed.
Created attachment 70745 [details] patch for this issue This is obviously moot, but I'm trying to track down an issue introduced while this bug existed. This patch fixes the compile issues for builds in the range described. It is just the last few commits in the range squashed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.