Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163481 (Jwackito) - ati-drivers-8.32.5 not compile over kernel 2.6.20
Summary: ati-drivers-8.32.5 not compile over kernel 2.6.20
Status: RESOLVED UPSTREAM
Alias: Jwackito
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 19:17 UTC by Joaquin Ignacio Bogado Garcia
Modified: 2007-01-24 04:04 UTC (History)
2 users (show)

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


Attachments
complete emerge command output (build.log,125.94 KB, text/plain)
2007-01-23 19:24 UTC, Joaquin Ignacio Bogado Garcia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joaquin Ignacio Bogado Garcia 2007-01-23 19:17:05 UTC
uname
2.6.20-rc4 #9 SMP PREEMPT Sat Jan 13 17:50:49 ART 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux
USE="acpi opengl" emerge -v ati-drivers
 ^[32;01m*^[0m Determining the location of the kernel source code
 ^[32;01m*^[0m Found kernel source directory:
 ^[32;01m*^[0m     /usr/src/linux
 ^[32;01m*^[0m Found kernel object directory:
 ^[32;01m*^[0m     /lib/modules/2.6.20-rc4/build
 ^[32;01m*^[0m Found sources for kernel version:
 ^[32;01m*^[0m     2.6.20-rc4
 ^[33;01m*^[0m You have DRM support enabled builtin, the direct rendering will not work.
 ^[32;01m*^[0m X11 implementation is xorg-x11.
>>> Unpacking source...
 ^[32;01m*^[0m Unpacking Ati drivers ...
^[A^[115C  ^[34;01m[ ^[32;01mok^[34;01m ]^[0m
 ^[32;01m*^[0m Applying ati-drivers-2.6.19.patch ...
^[A^[115C  ^[34;01m[ ^[32;01mok^[34;01m ]^[0m
 ^[32;01m*^[0m Applying ati-powermode.sh.patch ...
^[A^[115C  ^[34;01m[ ^[32;01mok^[34;01m ]^[0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod ...
 ^[32;01m*^[0m Building the DRM module...
 ^[32;01m*^[0m Converting Makefile to use M= instead of SUBDIRS= ...
^[A^[115C  ^[34;01m[ ^[32;01mok^[34;01m ]^[0m
 ^[32;01m*^[0m Preparing fglrx module
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-2.6.20-rc4'
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod/firegl_public.o

...
a lot of similar errors
...

/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod/firegl_public.c:4006: error: old-style parameter declarations in prototyped function definition
/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod/firegl_public.c:185: error: parameter name omitted
/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod/firegl_public.c:185: error: parameter name omitted
/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod/firegl_public.c:185: error: parameter name omitted
/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod/firegl_public.c:4006: error: expected '{' at end of input
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.32.5/work/common/lib/modules/fglrx/build_mod] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-rc4'
make: *** [kmod_build] Error 2

!!! ERROR: x11-drivers/ati-drivers-8.32.5 failed.
Call stack:
  ebuild.sh, line 1618:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  environment, line 4116:   Called src_compile
  ati-drivers-8.32.5.ebuild, line 156:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  GCC_VER_MAJ=4 KVER=2.6.20-rc4 KDIR=/usr/src/linux kmod_build.
!!! If you need support, post the topmost build error, and the call stack if relevant.

Reproducible: allways
Comment 1 Joaquin Ignacio Bogado Garcia 2007-01-23 19:24:31 UTC
Created attachment 107924 [details]
complete emerge command output

~ # USE="acpi opengl" emerge -v ati-drivers
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 20:20:13 UTC
Yeah, they don't. Complain upstream.
Comment 3 Joaquin Ignacio Bogado Garcia 2007-01-23 22:26:54 UTC
Portage 2.1.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-rc4 x86_64)
=================================================================
System uname: 2.6.20-rc4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.8
Timestamp of tree: Tue, 23 Jan 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="es_AR es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri fortran gdbm gpm iconv isdnlog libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python qt4 readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_AR es en" USERLAND="GNU" VIDEO_CARDS="apm ark chips dummy fbdev tdfx v4l vesa vga vmware fglrx r128 radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Joaquin Ignacio Bogado Garcia 2007-01-23 22:28:49 UTC
Portage 2.1.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-rc4 x86_64)
=================================================================
System uname: 2.6.20-rc4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.8
Timestamp of tree: Tue, 23 Jan 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="es_AR es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri fortran gdbm gpm iconv isdnlog libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python qt4 readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_AR es en" USERLAND="GNU" VIDEO_CARDS="apm ark chips dummy fbdev tdfx v4l vesa vga vmware fglrx r128 radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Joaquin Ignacio Bogado Garcia 2007-01-23 22:48:36 UTC
sorry, I put the emerge --info twice, i am new on that..
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 22:53:19 UTC
As said, go moan upstream, not our fault...
Comment 7 Luca Barbato gentoo-dev 2007-01-24 04:04:52 UTC
Upstream is already aware, a short term solution is to locally reenable the deprecated interface as usual (nothing you can use and redistribute)