Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263520 - x11-drivers/xf86-video-intel-2.4.3 fails to compile due to gremlins
Summary: x11-drivers/xf86-video-intel-2.4.3 fails to compile due to gremlins
Status: RESOLVED DUPLICATE of bug 255584
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 17:45 UTC by Christopher Friedt
Modified: 2009-03-23 18:30 UTC (History)
0 users

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


Attachments
build.log (build.log,55.94 KB, text/plain)
2009-03-23 17:58 UTC, Christopher Friedt
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***