On Sonntag 07 Juni 2009, Hazen Valliant-Saunders wrote: > Good Day; > > ati-drivers fails to emerge; foolowed the somewhat out of date doc's > online. > > > emerge ati-drivers > Calculating dependencies... done! > > >>> Verifying ebuild manifests > >>> > >>> Emerging (1 of 1) x11-drivers/ati-drivers-8.552-r2 > > * ati-driver-installer-8-11-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ... > [ ok ] > * checking ebuild checksums ;-) ... [ > ok ] > * checking auxfile checksums ;-) ... [ > ok ] > * checking miscfile checksums ;-) ... [ > ok ] > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found kernel object directory: > * /lib/modules/2.6.29-gentoo-r5/build > * Found sources for kernel version: > * 2.6.29-gentoo-r5 > > >>> Unpacking source... > > Warning: target directory exists > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work > Verifying archive integrity... All good. > Uncompressing ATI Proprietary Linux > Driver-8.552............................................................... >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >............................................................................ >.......................................... * Converting 2.6.x/Makefile to > use M= instead of SUBDIRS= ... [ ok ] > > >>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/extra > > >>> Source unpacked in > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work > > >>> Compiling source in > > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work ... > * Preparing fglrx module > make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- > LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.29-gentoo-r5 KDIR=/usr/src/linux kmod_build > make -C /usr/src/linux > M=/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules >/fglrx/build_mod/2.6.x modules > make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5' > CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_agp.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_debug.o CC [M] > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_ioctl.o > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_EvalObject': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:229: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:255: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyHandler': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:483: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:485: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:487: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyContext': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:510: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:512: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:514: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_UpdateNotifyHandler': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:540: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_UpdateNotifyContext': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to > incomplete type > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/kcl_acpi.c:559: error: dereferencing pointer to > incomplete type > make[2]: *** > [/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/ >fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:1429: error: 'struct task_struct' has > no member named 'euid' > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c: In function > 'KCL_PosixSecurityCapSetIPCLock': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:1784: error: 'struct task_struct' has > no member named 'cap_effective' > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:1788: error: 'struct task_struct' has > no member named 'cap_effective' > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c: In function '__ke_vm_phys_addr_str': > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3206: warning: return makes pointer > from integer without a cast > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3207: warning: return makes pointer > from integer without a cast > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3208: warning: return makes pointer > from integer without a cast > /var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/f >glrx/build_mod/2.6.x/firegl_public.c:3210: warning: return makes pointer > from integer without a cast > make[2]: *** > [/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/modules/ >fglrx/build_mod/2.6.x/firegl_public.o] Error 1 > make[1]: *** > [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/work/common/lib/ >modules/fglrx/build_mod/2.6.x] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5' > make: *** [kmod_build] Error 2 > * > * ERROR: x11-drivers/ati-drivers-8.552-r2 failed. > * Call stack: > * ebuild.sh, line 48: Called src_compile > * environment, line 3410: Called linux-mod_src_compile > * environment, line 2596: Called die > * The specific snippet of code: > * eval "emake HOSTCC="$(tc-getBUILD_CC)" > CROSS_COMPILE=${CHOST}- > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} > ${BUILD_TARGETS} " || die "Unable to emake > HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- > LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} > ${BUILD_TARGETS}"; > * The die message: > * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc > CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 > KVER=2.6.29-gentoo-r5 KDIR=/usr/src/linux kmod_build > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/x11-drivers/ati-drivers-8.552-r2/temp/environment'. > * > > Any ideas? > > There are many bugs listed on line but very few resolutions. > > Regards,
oh - if you go with the overlay route. The safe way to update is: stop X eselect opengl set xorg-x11 emerge -C ati-drivers emerge ati-drivers eselect opengl set ati reboot (because when restarting X it tends to lock up for some people).