Comment 28 for bug 642518

I was trying to use this patch, but always (after every of patch commands)
the same error was obtained:

...
Loading new fglrx-8.723.1 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.32-24-generic
Building for architecture x86_64
Building initial module for 2.6.32-24-generic

Error! Bad return status for module build on kernel: 2.6.32-24-generic
(x86_64)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/8.723.1/build/ for more information.
dpkg: error processing fglrx (--configure):
 підпроцес installed post-installation script повернув статус помилку 10
dpkg: dependency problems prevent configuration of fglrx-amdcccle:
 fglrx-amdcccle depends on fglrx; however:
  Package fglrx is not configured yet.
dpkg: error processing fglrx-amdcccle (--configure):
 проблеми з залежностями - залишається неналаштованим
dpkg: dependency problems prevent configuration of fglrx-dev:
 fglrx-dev depends on fglrx; however:
  Package fglrx is not configured yet.
dpkg: error processing fglrx-dev (--configure):
 проблеми з залежностями - залишається неналаштованим
Обробка тригерів для python-gmenu ...
No apport report written because the error message indicates its a followup
error from a previous failure.

No apport report written because the error message indicates its a followup
error from a previous failure.
                                                       Rebuilding
/usr/share/applications/desktop.uk_UA.utf8.cache...
Обробка тригерів для initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-24-generic
Обробка тригерів для python-support ...
WARNING: WARNING: /usr/lib/python-support/python-glpk/python2.6/_glpkpi.so
is linked but does not belong to any package.
Errors were encountered while processing:
 fglrx
 fglrx-amdcccle
 fglrx-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
...

===============================================================
2010/9/19 Luc Bruninx <email address hidden>

> I used this patch too.
>
> It works perfectly.
>
> For less experienced users, the following commands to apply the patch:
>
> # In your home directory...
>
> # to apply patch, if not already installed...
> sudo apt-get install build-essential fakeroot devscripts
>
> # In your home directory...
> mkdir fglrx-installer
> cd fglrx-installer
>
> # download patch
> wget
> https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/642518/+attachment/1607184/+files/fglrx-installer_8.723.1-0ubuntu5.debdiff
>
> # get sources
> apt-get source fglrx
>
> # get depends
> sudo apt-get build-dep fglrx
>
> # patch it...
> cd fglrx-installer*-* && patch -p1 <
> ../fglrx-installer_8.723.1-0ubuntu5.debdiff
>
> # rebuild..
> debuild -uc -us
>
> # to install patched files..
> sudo dpkg -i ../fglrx*.deb
>
> --
> package fglrx 2:8.723.1-0ubuntu4 failed to install/upgrade: fglrx kernel
> module failed to build
> https://bugs.launchpad.net/bugs/642518
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (642139).
>
> Status in “fglrx-installer” package in Ubuntu: Confirmed
>
> Bug description:
> will not compile for this version of the linux kernal
>
> ProblemType: Package
> DistroRelease: Ubuntu 10.04
> Package: fglrx 2:8.723.1-0ubuntu4
> ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
> Uname: Linux 2.6.32-24-generic x86_64
> NonfreeKernelModules: wl
> Architecture: amd64
> Date: Sat Sep 18 23:31:16 2010
> DkmsStatus:
> fglrx, 8.723.1: added
> bcmwl, 5.60.48.36+bdcom, 2.6.32-24-generic, x86_64: installed
> vboxnetflt, 3.2.8, 2.6.32-24-generic, x86_64: installed
> vboxnetadp, 3.2.8, 2.6.32-24-generic, x86_64: installed
> vboxdrv, 3.2.8, 2.6.32-24-generic, x86_64: installed
> ErrorMessage: fglrx kernel module failed to build
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> MachineType: Dell Inc. Studio 1558
> PackageVersion: 2:8.723.1-0ubuntu4
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic
> root=UUID=b11bf21b-cde8-40dd-968b-af47e2d36186 ro quiet splash
> SourcePackage: fglrx-installer
> Title: package fglrx 2:8.723.1-0ubuntu4 failed to install/upgrade: fglrx
> kernel module failed to build
> dmi.bios.date: 01/08/2010
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: A03
> dmi.board.name: 0NJWJR
> dmi.board.vendor: Dell Inc.
> dmi.board.version: A03
> dmi.chassis.type: 8
> dmi.chassis.vendor: Dell Inc.
> dmi.chassis.version: A03
> dmi.modalias:
> dmi:bvnDellInc.:bvrA03:bd01/08/2010:svnDellInc.:pnStudio1558:pvrA03:rvnDellInc.:rn0NJWJR:rvrA03:cvnDellInc.:ct8:cvrA03:
> dmi.product.name: Studio 1558
> dmi.product.version: A03
> dmi.sys.vendor: Dell Inc.
> system:
> distro: Ubuntu
> codename: lucid
> architecture: x86_64
> kernel: 2.6.32-24-generic
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/642518/+subscribe
>