Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668188 - =x11-base/xorg-server-1.20.1[minimal] failed to build: drm_fourcc.h: No such file or directory
Summary: =x11-base/xorg-server-1.20.1[minimal] failed to build: drm_fourcc.h: No such ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-09 19:31 UTC by Dragan Kašler
Modified: 2018-10-10 17:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
USE=minimal emerge --info xorg-server (emerge.info.xorg-server,14.08 KB, text/plain)
2018-10-09 19:32 UTC, Dragan Kašler
Details
USE=minimal emerge -1 xorg-server (build.log.gz,29.01 KB, application/gzip)
2018-10-09 19:34 UTC, Dragan Kašler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dragan Kašler 2018-10-09 19:31:22 UTC
=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
Comment 1 Dragan Kašler 2018-10-09 19:32:24 UTC
Created attachment 550278 [details]
USE=minimal emerge --info xorg-server
Comment 2 Dragan Kašler 2018-10-09 19:34:23 UTC
Created attachment 550280 [details]
USE=minimal emerge -1 xorg-server
Comment 3 Matt Turner gentoo-dev 2018-10-09 21:14:42 UTC
I suspect we should explicitly disable dri3 when minimal is set, like we do with dri2.
Comment 4 Larry the Git Cow gentoo-dev 2018-10-10 17:51:22 UTC
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(+)