Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499566 - x11-drivers/ati-drivers-13.12 - kcl_acpi.c:796:59: error: ‘struct acpi_dev_node’ has no member named ‘handle’
Summary: x11-drivers/ati-drivers-13.12 - kcl_acpi.c:796:59: error: ‘struct acpi_dev_no...
Status: RESOLVED DUPLICATE of bug 498766
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 10:44 UTC by Dominique Michel
Modified: 2014-01-28 10:59 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.info,17.05 KB, text/plain)
2014-01-28 10:47 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2014-01-28 10:44:51 UTC
When merging ati-drivers-13.12 with gentoo-sources-3.13.0-r1, It fail with

  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_GetHandles’:
/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:796:59: error: ‘struct acpi_dev_node’ has no member named ‘handle’
         pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
                                                           ^
scripts/Makefile.build:308: recipe for target '/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o' failed

The build succeed with gentoo-sources-3.12.4

Reproducible: Always

Steps to Reproduce:
1. emerge -1 ati-drivers
2.
3.
Actual Results:  
The build fail with the mentionned error.

Expected Results:  
It should succeed.
Comment 1 Dominique Michel 2014-01-28 10:45:57 UTC
[ebuild   R    ] x11-drivers/ati-drivers-13.12:1  USE="modules (multilib) qt4 -debug -pax_kernel -static-libs" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-drivers/ati-drivers-13.12
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.13.0-gentoo-r1/build
 * Found sources for kernel version:
 *     3.13.0-gentoo-r1
 * Checking for suitable kernel configuration options...                                                                                                                         [ ok ]
 * Checking for suitable kernel configuration options...                                                                                                                         [ ok ]

>>> Emerging (1 of 1) x11-drivers/ati-drivers-13.12
 * amd-catalyst-13.12-linux-x86.x86_64.zip SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                  [ ok ]
 * xvba-sdk-0.74-404001.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                              [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.13.0-gentoo-r1/build
 * Found sources for kernel version:
 *     3.13.0-gentoo-r1
 * 
 * Please note that this driver only supports graphic cards based on
 * Evergreen chipset and newer.
 * This includes the AMD Radeon HD 5400+ series at this moment.
 * 
 * If your card is older then use x11-drivers/xf86-video-ati
 * For migration informations please refer to:
 * http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml
 * 
>>> Unpacking source...
>>> Unpacking amd-catalyst-13.12-linux-x86.x86_64.zip to /var/tmp/portage/x11-drivers/ati-drivers-13.12/work
Warning: target directory exists /var/tmp/portage/x11-drivers/ati-drivers-13.12/work
>>> Unpacking xvba-sdk-0.74-404001.tar.gz to /var/tmp/portage/x11-drivers/ati-drivers-13.12/work/xvba_sdk
>>> Source unpacked in /var/tmp/portage/x11-drivers/ati-drivers-13.12/work
>>> Preparing source in /var/tmp/portage/x11-drivers/ati-drivers-13.12/work ...
 * Applying ati-powermode-opt-path-3.patch ...                                                                                                                                   [ ok ]
 * Applying ati-drivers-x32_something_something.patch ...                                                                                                                        [ ok ]
 * Applying ati-drivers-12.9-KCL_AGP_FindCapsRegisters-stub.patch ...                                                                                                            [ ok ]
 * Applying typesafe-kuid.diff ...                                                                                                                                               [ ok ]
 * Applying ati-drivers-13.8-beta-include-seq_file.patch ...                                                                                                                     [ ok ]
 * Applying check-for-iommu-only-if-iommu-is-supported.patch ...                                                                                                                 [ ok ]
 * Applying fgl_glxgears-do-not-include-glATI.patch ...                                                                                                                          [ ok ]
 * Applying ati-drivers-13.12-acpi.patch ...                                                                                                                                     [ ok ]
 * Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ...                                                                                                                   [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/ati-drivers-13.12/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-13.12/work ...
 * Preparing fglrx module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' GCC_VER_MAJ=4 KVER=3.13.0-gentoo-r1 KDIR=/usr/src/linux 'CFLAGS_MODULE+=-DMODULE -DATI -DFGL' CFLAGS_MODULE+=-DCOMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space kmod_build 
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory '/usr/src/linux-3.13.0-gentoo-r1'
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_GetHandles’:
/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:796:59: error: ‘struct acpi_dev_node’ has no member named ‘handle’
         pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
                                                           ^
scripts/Makefile.build:308: recipe for target '/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o' failed
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1249: recipe for target '_module_/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x' failed
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-13.12/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory '/usr/src/linux-3.13.0-gentoo-r1'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
Comment 2 Dominique Michel 2014-01-28 10:47:50 UTC
Created attachment 368958 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-28 10:51:05 UTC
See also bug #498766 comment #2
Comment 4 Dominique Michel 2014-01-28 10:55:38 UTC
Sorry, we collided. I just see that too.
Comment 5 Dominique Michel 2014-01-28 10:59:18 UTC
It work fine with the fix in bug 498766

Thank you.

*** This bug has been marked as a duplicate of bug 498766 ***