fglrx-core 2:15.201.2-0ubuntu0.14.04.1: fglrx-core kernel module failed to build

Bug #1676079 reported by Fabrício Pereira
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

user@machine:~$ sudo apt-get install -y fglrx fglrx-core fglrx-amdcccle fglrx-dev
...
Configurando fglrx-core (2:15.201.2-0ubuntu0.14.04.1) ...
update-alternatives: a usar /usr/lib/fglrx-core/ld.so.conf para disponibilizar /etc/ld.so.conf.d/x86_64-linux-gnu_GFXCORE.conf (x86_64-linux-gnu_gfxcore_conf) em modo automático
Loading new fglrx-core-15.201.2 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-66-generic
Building for architecture x86_64
Building initial module for 4.4.0-66-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/fglrx-core.0.crash'
Error! Bad return status for module build on kernel: 4.4.0-66-generic (x86_64)
Consult /var/lib/dkms/fglrx-core/15.201.2/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
A processar 'triggers' para initramfs-tools (0.103ubuntu4.6) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-66-generic
A processar 'triggers' para libc-bin (2.19-0ubuntu6.11) ...
A seleccionar pacote anteriormente não seleccionado fglrx.
...

user@machine:~$ cat /var/lib/dkms/fglrx-core/15.201.2/build/make.log
DKMS make.log for fglrx-core-15.201.2 for kernel 4.4.0-66-generic (x86_64)
Sáb Mar 25 14:34:03 BRT 2017
/usr/sbin/dkms: linha 73: cd: /var/lib/dkms/fglrx/15.201.2/build: Arquivo ou diretório não encontrado
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/4.4.0-66-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x modules
make[1]: Entrando no diretório `/usr/src/linux-headers-4.4.0-66-generic'
  CC [M] /var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c: In function ‘firegl_major_proc_read’:
/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c:639:9: error: void value not ignored as it ought to be
     len = seq_printf(m, "%d\n", major);
         ^
/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c: In function ‘KCL_fpu_save_init’:
/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c:6508:49: error: ‘XSTATE_FP’ undeclared (first use in this function)
       if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP))
                                                 ^
/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c:6508:49: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c: At top level:
/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c:6498:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
make[2]: ** [/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.o] Erro 1
make[1]: ** [_module_/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-4.4.0-66-generic'
make: ** [kmod_build] Erro 2
build failed with return value 2

user@machine:~$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

user@machine:~$ uname -a
Linux machine 4.4.0-66-generic #87~14.04.1-Ubuntu SMP Fri Mar 3 17:32:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: fglrx-core 2:15.201.2-0ubuntu0.14.04.1
ProcVersionSignature: Ubuntu 4.4.0-66.87~14.04.1-generic 4.4.44
Uname: Linux 4.4.0-66-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.23
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
DKMSKernelVersion: 4.4.0-66-generic
Date: Sat Mar 25 12:46:41 2017
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
 fglrx-core, 15.201.2: added
 Error! Could not locate dkms.conf file.
 File: does not exist.
DuplicateSignature: dkms:fglrx-core:2:15.201.2-0ubuntu0.14.04.1:/var/lib/dkms/fglrx-core/15.201.2/build/2.6.x/firegl_public.c:639:9: error: void value not ignored as it ought to be
GraphicsCard:
 Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0640]
InstallationDate: Installed on 2014-08-18 (950 days ago)
InstallationMedia: Ubuntu-GNOME 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Dell Inc. Inspiron 5547
PackageVersion: 2:15.201.2-0ubuntu0.14.04.1
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-66-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.7
 apt 1.0.1ubuntu2.17
SourcePackage: fglrx-installer
Title: fglrx-core 2:15.201.2-0ubuntu0.14.04.1: fglrx-core kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/09/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 05MD4V
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A04
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd05/09/2014:svnDellInc.:pnInspiron5547:pvrA04:rvnDellInc.:rn05MD4V:rvrA00:cvnDellInc.:ct8:cvrA04:
dmi.product.name: Inspiron 5547
dmi.product.version: A04
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1ubuntu0.14.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.6
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.6
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2.7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Sat Mar 25 12:18:27 2017
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 4333
 vendor AUO
xserver.version: 2:1.15.1-0ubuntu2.7

Revision history for this message
Fabrício Pereira (fabriciorsf) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1502978, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fglrx-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
KitchM (tech-frontrowcomputer) wrote :

How can we know if this is actually a duplicate? The reporting tool evidently thought it was something different to have put it here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.