I tried fglrx-updates_8.982-0ubuntu0.1_amd64.deb from precise-proposed today and the installation failed with: "Error! Application of patch fix-build-issue-on-i386-where-TS_USEDFPU-is-no-longe.patch failed". No fglrx_updates.ko was build:
| $ uname -srvmpio
| Linux 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012
| x86_64 x86_64 x86_64 GNU/Linux
|
| $ vim /etc/apt/sources.list
| ...
| deb http://archive.ubuntu.com/ubuntu/ precise-proposed restricted
| main multiverse universe
| ...
|
| $ apt-get update
|
| $ apt-get install fglrx-updates
| ...
| Building only for 3.2.0-30-generic
| Building for architecture x86_64
| Building initial module for 3.2.0-30-generic
| Error! Application of patch
| fix-build-issue-on-i386-where-TS_USEDFPU-is-no-longe.patch failed.
| Check /var/lib/dkms/fglrx-updates/8.982/build/ for more information.
| update-initramfs: deferring update (trigger activated)
| Processing triggers for bamfdaemon ...
| Rebuilding /usr/share/applications/bamf.index...
| Setting up fglrx-amdcccle-updates (2:8.982-0ubuntu0.1) ...
| Processing triggers for initramfs-tools ...
| update-initramfs: Generating /boot/initrd.img-3.2.0-30-generic
| Processing triggers for libc-bin ...
| ldconfig deferred processing now taking place
|
| $ ls -1 /lib/modules/3.2.0-30-generic/updates/dkms
|
| $ ls -1 /var/lib/dkms/fglrx-updates/8.982/build
| ...
| firegl_public.c
| firegl_public.c.rej
| ...
|
| $ ls -1 /var/lib/dkms/fglrx-updates/8.982/build/patches
| fix-build-issue-on-i386-where-TS_USEDFPU-is-no-longe.patch
| replace-do_mmap-and-do_munmap-with-vm_mmap-and-vm_mu.patch
| replace-for_each_cpu_mask-with-for_each_possible_cpu.patch
| replace-global-lock-with-a-driver-specific-mutex.patch
Removing the patch from the archive solves the problem:
I tried fglrx-updates_ 8.982-0ubuntu0. 1_amd64. deb from precise-proposed today and the installation failed with: "Error! Application of patch fix-build- issue-on- i386-where- TS_USEDFPU- is-no-longe. patch failed". No fglrx_updates.ko was build:
| $ uname -srvmpio sources. list archive. ubuntu. com/ubuntu/ precise-proposed restricted issue-on- i386-where- TS_USEDFPU- is-no-longe. patch failed. dkms/fglrx- updates/ 8.982/build/ for more information. applications/ bamf.index. .. updates (2:8.982- 0ubuntu0. 1) ... img-3.2. 0-30-generic 3.2.0-30- generic/ updates/ dkms dkms/fglrx- updates/ 8.982/build dkms/fglrx- updates/ 8.982/build/ patches issue-on- i386-where- TS_USEDFPU- is-no-longe. patch do_mmap- and-do_ munmap- with-vm_ mmap-and- vm_mu.patch for_each_ cpu_mask- with-for_ each_possible_ cpu.patch global- lock-with- a-driver- specific- mutex.patch
| Linux 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012
| x86_64 x86_64 x86_64 GNU/Linux
|
| $ vim /etc/apt/
| ...
| deb http://
| main multiverse universe
| ...
|
| $ apt-get update
|
| $ apt-get install fglrx-updates
| ...
| Building only for 3.2.0-30-generic
| Building for architecture x86_64
| Building initial module for 3.2.0-30-generic
| Error! Application of patch
| fix-build-
| Check /var/lib/
| update-initramfs: deferring update (trigger activated)
| Processing triggers for bamfdaemon ...
| Rebuilding /usr/share/
| Setting up fglrx-amdcccle-
| Processing triggers for initramfs-tools ...
| update-initramfs: Generating /boot/initrd.
| Processing triggers for libc-bin ...
| ldconfig deferred processing now taking place
|
| $ ls -1 /lib/modules/
|
| $ ls -1 /var/lib/
| ...
| firegl_public.c
| firegl_public.c.rej
| ...
|
| $ ls -1 /var/lib/
| fix-build-
| replace-
| replace-
| replace-
Removing the patch from the archive solves the problem:
| $ dpkg-deb -x fglrx-updates_ 8.982-0ubuntu0. 1_amd64. deb fglrx-updates 8.982-0ubuntu0. 1_amd64. deb DEBIAN usr/src/ fglrx-updates- 8.982/patches/ fix-build- i386-where- TS_USEDFPU- is-no-longe. patch usr/src/ fglrx-updates- 8.982/dkms. conf 0]="fix- build-issue- on-i386- where-TS_ USEDFPU- is-no-longe. patch" 8.982-0ubuntu0. 1.1_amd64 8.982-0ubuntu0. 1.1_amd64. deb 3.2.0-30- generic/ updates/ dkms
|
| $ dpkg-deb -e fglrx-updates_
| fglrx-updates/
|
| $ rm fglrx-updates/
| issue-on-
|
| $ vim fglrx-updates/
| ...
| #PATCH[
| ...
|
| $ dpkg-deb -b fglrx-updates fglrx-updates_
| .deb
|
| $ dpkg --install fglrx-updates_
|
| $ ls -1 /lib/modules/
| fglrx_updates.ko