Summary: | x11-base/xorg-server[minimal] failed to compile due to missing x11-proto/dri2proto dependency | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joerg Bornkessel (RETIRED) <hd_brummy> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bertrand, wizardedit |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch from 594838
try 2 |
Description
Joerg Bornkessel (RETIRED)
2015-02-11 13:01:54 UTC
Do you mean xorg-server-1.17.0 or 1.17.1? (In reply to Chí-Thanh Christopher Nguyễn from comment #1) > Do you mean xorg-server-1.17.0 or 1.17.1? I mean xorg-server-1.17.0 but shortly added x11-base/xorg-server-0.17.1 fails with the same error emerge --unmerge dri2proto USE="minimal" emerge =x11-base/xorg-server-1.17.1 <snipp> /var/tmp/portage/x11-base/xorg-server-1.17.1/work/xorg-server-1.17.1/hw/xfree86/drivers/modesetting/../../dri2/dri2.h:36:39: fatal error: X11/extensions/dri2tokens.h: No such file or directory #include <X11/extensions/dri2tokens.h> </snapp> emerge dri2proto USE="minimal" emerge =x11-base/xorg-server-1.17.1 works, finaly, missing depends on use-flag minimal I'd like to consider whether the minimal USE flag is actually useful. Is it useful for you, and if so why? (In reply to Matt Turner from comment #3) > I'd like to consider whether the minimal USE flag is actually useful. Is it > useful for you, and if so why? minimal is used to bring up a X server without windows, mousecursers, etc. this setup is needed for nvidia driver with vdpau, it is mainly used by media-plugins/vdr-xineliboutput media-plugins/vdr-softhddevice ( in the moment in vdr-devel overlay) also when i USE="-minimal" it pulls in the big mesa lib and a lot more of uneeded crap I also rely on xorg-server[minimal] on certain non-x86 machines to avoid a runtime dependency on mesa. To me the question is whether that include is in the right place upstream, i.e maybe it should be in a place that isn't compiled with USE=minimal for us. But I guess with dri3proto outside "!minimal?" block anyway too, that's kind of moot. Another day, another ARM machine that will need to waste time recompiling xorg-server again after manually adding the dependency. Though now I wonder if modesetting driver should be optional or disabled with USE=minimal Stable x11-base/xorg-server-1.17.4 is now suffering this same problem. Compile fails due to missing x11-proto/dri2proto dependency with USE=minimal. *** Bug 594838 has been marked as a duplicate of this bug. *** Created attachment 462020 [details, diff] patch from 594838 I uploaded a patch for this to bug 594838, which got no comments until it was marked as a dupe of this bug. If x11@ ACKs, I'll commit it. (In reply to Austin English from comment #9) > Created attachment 462020 [details, diff] [details, diff] > patch from 594838 > > I uploaded a patch for this to bug 594838, which got no comments until it > was marked as a dupe of this bug. > > If x11@ ACKs, I'll commit it. The patch itself looks fine, but we cannot fix just 1.18.4. The fix must go to 9999, and 1.19*. Created attachment 463896 [details, diff]
try 2
Try 2, updating:
xorg-server-1.18.4.ebuild
xorg-server-1.19.1.ebuild
xorg-server-9999.ebuild
(In reply to Austin English from comment #11) > Created attachment 463896 [details, diff] [details, diff] > try 2 > > Try 2, updating: > xorg-server-1.18.4.ebuild > xorg-server-1.19.1.ebuild > xorg-server-9999.ebuild https://github.com/gentoo/gentoo/commit/6329b2135cb42a69625a70a182fab0062ad73a21 |