=x11-base/xorg-server-1.20.1[minimal] cannot build due to following error: /var/tmp/portage/x11-base/xorg-server-1.20.0/work/xorg-server-1.20.0/dri3/dri3.c:29:10: fatal error: drm_fourcc.h: No such file or directory Two versions are present: /usr/include/drm/drm_fourcc.h /usr/include/libdrm/drm_fourcc.h
Created attachment 550278 [details] USE=minimal emerge --info xorg-server
Created attachment 550280 [details] USE=minimal emerge -1 xorg-server
I suspect we should explicitly disable dri3 when minimal is set, like we do with dri2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec4053988ae4d4c6201899779816b386089fe74 commit cec4053988ae4d4c6201899779816b386089fe74 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2018-10-10 17:50:40 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2018-10-10 17:50:40 +0000 x11-base/xorg-server: Disable dri3 with USE=minimal Closes: https://bugs.gentoo.org/668188 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-base/xorg-server/xorg-server-1.20.1.ebuild | 1 + x11-base/xorg-server/xorg-server-9999.ebuild | 1 + 2 files changed, 2 insertions(+)