Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 356757

Summary: x11-drivers/xf86-video-intel-2.14.0 fails to compile: intel_display.c:52: error: expected specifier-qualifier-list before 'drmEventContext'
Product: Gentoo Linux Reporter: Martin Luessi <mluessi>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal CC: mluessi
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge output
emerge --info =x11-drivers/xf86-video-intel-2.14.0

Description Martin Luessi 2011-02-27 21:40:36 UTC
xf86-video-intel-2.14.0 (exact same error with xf86-video-intel-2.13.0) fails to compile with the following error (full output below):

..
intel_display.c:52: error: expected specifier-qualifier-list before 'drmEventContext'
..

I have the following relevant packages installed:
media-libs/mesa-7.9.1
x11-libs/libdrm-2.4.23
x11-base/xorg-server-1.9.4
sys-kernel/tuxonice-sources-2.6.36-r5

I have spent some time trying to find out what is causing this problem but so far I have not had any success. Any tips on how to resolve this bug are highly appreciated.


Reproducible: Always

Steps to Reproduce:
1. try to emerge xf86-video-intel-2.14.0



Actual Results:  
error during compile phase

Expected Results:  
fails to compile
Comment 1 Martin Luessi 2011-02-27 21:42:49 UTC
Created attachment 264107 [details]
emerge output
Comment 2 Martin Luessi 2011-02-27 21:44:14 UTC
Created attachment 264109 [details]
emerge --info =x11-drivers/xf86-video-intel-2.14.0
Comment 3 Martin Luessi 2011-02-28 14:34:29 UTC
I marked this "bug" as closed; it was caused by orphaned header files in /usr/local/include/. The header files must have been there from the time when I first got this laptop (~4 years ago) and installed unstable libdrm, mesa, and intel driver packages without using portage (by now I'm smarter and write my own ebuilds for things like that).

Anyways, I hope I didn't waste anyones time with this. 
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2011-02-28 20:21:06 UTC
Reopening
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2011-02-28 20:21:31 UTC
Closing with the proper resolution.

Thanks for finding the cause and letting us know.