Building Xorg xserver 1.17.2 fails if dri2proto is disabled with these configure options: --enable-xorg --disable-kdrive --disable-dri --disable-libdrm --disable-glx --disable-aiglx --enable-config-udev --enable-config-udev-kms --enable-libdrm --disable-dri2 --disable-dri3 This is the error message: ------------------------------ make[6]: Entering directory `/home/test/autobuild/instance-3/output/build/xserver_xorg-server-1.17.2/hw/xfree86/drivers/modesetting' CC dri2.lo In file included from dri2.c:43:0: ./../../dri2/dri2.h:36:39: fatal error: X11/extensions/dri2tokens.h: No such file or directory #include <X11/extensions/dri2tokens.h> ^ compilation terminated. make[6]: *** [dri2.lo] Error 1 make[6]: *** Waiting for unfinished jobs.... ------------------------------ The dependency for DRI2 support in the modesetting driver can be seen here: http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46 The complete compile log can be found here: http://autobuild.buildroot.net/results/f26/f26018d5ad62bc7b61623dd173dc1e92e2c958a4//build-end.log
Created attachment 117587 [details] [review] Patch configure.ac This patch fixes the bug by adding a dri2 check to modesetting support.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/479.
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.