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

Bug 263520

Summary: x11-drivers/xf86-video-intel-2.4.3 fails to compile due to gremlins
Product: Gentoo Linux Reporter: Christopher Friedt <chrisfriedt>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Christopher Friedt 2009-03-23 17:45:51 UTC
Building xf86-video-intel-2.4.3 fails [1]. The error message says that i830_dri.c:1475 attempts to use a member variable named  pipeA_x inside the drmI830Sarea type/struct. 

On line 1475, inside i830_dri.c, the file actually has '->planeA_x' written, and not '->pipeA_x', as the error would suggest. In i830_common.h, the member variable planeA_x is defined, so I know that the source is correct. 

This error must be caused by a very strange macro or a sed line somewhere in the source, or possibly by an included file, but I can't seem to find it. 

See the attached build.log . 

[1]
i830_dri.c: In function 'I830DRIClipNotify':
i830_dri.c:1475: error: 'drmI830Sarea' has no member named 'pipeA_x'
i830_dri.c:1476: error: 'drmI830Sarea' has no member named 'pipeA_y'
i830_dri.c:1477: error: 'drmI830Sarea' has no member named 'pipeA_w'
i830_dri.c:1478: error: 'drmI830Sarea' has no member named 'pipeA_h'
i830_dri.c:1479: error: 'drmI830Sarea' has no member named 'pipeB_x'
i830_dri.c:1480: error: 'drmI830Sarea' has no member named 'pipeB_y'
i830_dri.c:1481: error: 'drmI830Sarea' has no member named 'pipeB_w'
i830_dri.c:1482: error: 'drmI830Sarea' has no member named 'pipeB_h'



Reproducible: Always

Steps to Reproduce:
1.emerge xf86-video-intel
2.
3.

Actual Results:  
error, with planeA_x and others renamed to pipeA_x for an unexplainable reason.

Expected Results:  
no compile errors
Comment 1 Christopher Friedt 2009-03-23 17:58:04 UTC
Created attachment 186014 [details]
build.log
Comment 2 Christopher Friedt 2009-03-23 18:30:20 UTC

*** This bug has been marked as a duplicate of bug 255584 ***