Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199607 - x11-drivers/xf86-video-ati fails to build with Xdamage support due to explicit --enable-dri
Summary: x11-drivers/xf86-video-ati fails to build with Xdamage support due to explici...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2007-11-19 01:14 UTC by Steven Newbury
Modified: 2008-01-17 10:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Newbury 2007-11-19 01:14:19 UTC
The x11-drivers/xf86-video-ati ebuild explicitly enables or disables DRI depending on the USE flag.  Unforntunately the configure script then doesn't check for other dependencies such as the Xdamage headers causing the resulting driver to be extremely sub-optimal.

Reproducible: Always

Steps to Reproduce:
1.emerge x11-drivers/xf86-video-ati
2.
3.

Actual Results:  
Driver lacks Xdamage support.


Expected Results:  
Driver should support the Xdamage extension.

Using only --disable-dri when the dri USE flag is not set works around this issue since DRI is enabled by default when available.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-11-20 06:35:32 UTC
In configure.ac, if 'DRI=' didn't become 'DRI=yes' for some reason upon --enable-dri, or if it somehow managed to pass in an argument such as --enable-dri=badarg, I guess I could see how this could happen. How are you testing it?
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-20 06:51:33 UTC
Upstream bug:
http://bugs.freedesktop.org/show_bug.cgi?id=13244
It was solved in commit a94123f33ec6584fbdfc4b9ecd543d1357de8814:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=commit;h=a94123f33ec6584fbdfc4b9ecd543d1357de8814
Comment 3 Mart Raudsepp gentoo-dev 2008-01-17 10:49:53 UTC
This fix is included in 6.7.197 that has been in the tree for a while with equal visibility to 6.7.196 (only version where this was broken iirc)