Bug 22875

Summary: xf86-video-ati (git version) build fails due to a /usr/include/xorg/vgaHW.h error
Product: xorg Reporter: Panos <panosfilip>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
The build error.
none
The xorg-server PKGBUILD, the file we use in Arch in order to build packages (uploaded in txt format)
none
The xf86-video-ati-git PKGBUILD. none

Description Panos 2009-07-21 08:04:23 UTC
Created attachment 27880 [details]
The build error.

Distribution: Arch Linux x86_64
GCC: gcc version 4.4.0 20090630 (prerelease) (GCC)
Xorg server version: X.Org X Server 1.6.2

Hello to everyone.

I am trying to build xf86-video-ati,from the freedesktop git repository.

It could be built until I upgraded to Xorg server 1.6.2.

It fails with the error: 

In file included from radeon_driver.c:104:                                            
/usr/include/xorg/vgaHW.h:29:33: error: X11/extensions/dpms.h: No such file or directory                                                                                    
make[2]: *** [radeon_driver.lo] Error 1                                               
make[2]: *** Waiting for unfinished jobs.... 

My package manager tells that this vgaHW.h file is installed by xorg-server.

"pacman -Qo /usr/include/xorg/vgaHW.h
/usr/include/xorg/vgaHW.h is owned by xorg-server 1.6.2-1"

The whole build log is included in the xf86-video-ati-git-error.txt.

Please tell me if you need more information about this.
Comment 1 Panos 2009-07-21 08:05:41 UTC
Created attachment 27881 [details]
The xorg-server PKGBUILD, the file we use in Arch in order to build packages (uploaded in txt format)
Comment 2 Panos 2009-07-21 08:12:50 UTC
Created attachment 27882 [details]
The xf86-video-ati-git PKGBUILD.
Comment 3 Julien Cristau 2009-07-21 08:51:02 UTC
xorg-server 1.6.2 needs xextproto < 1.0.99. dpms.h was recently moved to libXext, so you need the header from before the move.
Comment 4 Panos 2009-07-21 09:34:05 UTC
OK then. I rechecked that packages that are needed, I reinstalled xextproto and it continues to build. 

Thank you very much.
Comment 5 Panos 2009-07-21 09:37:56 UTC
(Sorry I forgot) I also had libxext 1.0.5-2 preinstalled.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.