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

Bug 443952

Summary: x11-drivers/xf86-video-mach64-6.9.3 patches to compile with xorg-server-1.13
Product: Gentoo Linux Reporter: Stefano Takekawa <s.takekawa>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: duncan, mk, vostorga
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0001-mach64-fix-build-on-32-bit.patch
mach64-6.8.1-defaultdepth.patch
mach64-6.9.3-fix-no-exa-build.patch
mach64-6.9.3-shadowfb.patch

Description Stefano Takekawa 2012-11-19 20:52:12 UTC
x11-drivers/xf86-video-mach64-6.9.3 does not compile against xorg-server-1.13, I don't know if it correctly works with these patches. I used these patches from fedora xorg-x11-drv-mach64-6.9.3-6 package.

Reproducible: Always
Comment 1 Stefano Takekawa 2012-11-19 20:53:23 UTC
Created attachment 329986 [details, diff]
0001-mach64-fix-build-on-32-bit.patch
Comment 2 Stefano Takekawa 2012-11-19 20:53:58 UTC
Created attachment 329988 [details, diff]
mach64-6.8.1-defaultdepth.patch
Comment 3 Stefano Takekawa 2012-11-19 20:54:24 UTC
Created attachment 329990 [details, diff]
mach64-6.9.3-fix-no-exa-build.patch
Comment 4 Stefano Takekawa 2012-11-19 20:55:18 UTC
Created attachment 329992 [details, diff]
mach64-6.9.3-shadowfb.patch
Comment 5 Fitzcarraldo 2012-12-03 17:25:31 UTC
I confirm the problem occurs with x86 arch. x11-drivers/xf86-video-mach64-6.9.3 does not compile against xorg-server-1.13 and I had to revert to x11-base/xorg-server-1.12.4 to be able to merge x11-drivers/xf86-video-mach64-6.9.3. I have not tried the patches posted in this bug report.
Comment 6 Robert R. Richter 2012-12-14 18:50:40 UTC
OK - I can confirm this -> same error happend on my box !

  CC     atipreinit.lo
  CC     atiprint.lo
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atipreinit.c: In function 'ATIPreInit':
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atipreinit.c:2341:25: warning: assignment discards qualifiers from pointer target type
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atipreinit.c:2510:30: warning: assignment discards qualifiers from pointer target type
  CC     atirgb514.lo
  CC     atiscreen.lo
  CC     atituner.lo
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: In function 'ATIScreenInit':
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:583:9: error: too many arguments to function 'ATISwitchMode'
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/aticonsole.h:36:13: note: declared here
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: At top level:
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:111:1: warning: 'ATIMinBits' defined but not used
make[2]: *** [atiscreen.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3_build'
make: *** [all] Error 2
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-12-20 21:43:16 UTC
Fixed in 6.9.4