desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #131221
[Bug 1483695] [NEW] fails to build module in wily-proposed: gcc-4.9: Command not found
Public bug reported:
As shown by the test regression of
http://autopkgtest.ubuntu.com/packages/u/ubuntu-drivers-
common/wily/amd64/ , fglrx and fglrx-updates fail to build the module in
wily-proposed:
Setting up fglrx-core (2:15.200.1-0ubuntu2) ...
update-alternatives: using /usr/lib/fglrx-core/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GFXCORE.conf (x86_64-linux-gnu_gfxcore_conf) in auto mode
Loading new fglrx-core-15.200.1 DKMS files...
First Installation: checking all kernels...
Building only for 4.1.0-3-generic
Building for architecture x86_64
Building initial module for 4.1.0-3-generic
Error! Bad return status for module build on kernel: 4.1.0-3-generic (x86_64)
Consult /var/lib/dkms/fglrx-core/15.200.1/build/make.log for more information.
$ cat /var/lib/dkms/fglrx-core/15.200.1/build/make.log
DKMS make.log for fglrx-core-15.200.1 for kernel 4.1.0-3-generic (x86_64)
Tue Aug 11 14:44:15 CEST 2015
/usr/sbin/dkms: line 74: cd: /var/lib/dkms/fglrx/15.200.1/build: No such file or directory
make.sh: 1: make.sh: gcc-4.9: not found
make.sh: 50: [: !=: unexpected operator
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.1.0-3-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x modules
make[1]: Entering directory '/usr/src/linux-headers-4.1.0-3-generic'
arch/x86/Makefile:114: stack-protector enabled but compiler support broken
arch/x86/Makefile:129: CONFIG_X86_X32 enabled but no binutils support
Makefile:667: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
make[1]: gcc-4.9: Command not found
CC [M] /var/lib/dkms/fglrx-core/15.200.1/build/2.6.x/firegl_public.o
/bin/sh: 1: gcc-4.9: not found
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x/firegl_public.o' failed
make[2]: *** [/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x/firegl_public.o] Error 127
Makefile:1395: recipe for target '_module_/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x' failed
make[1]: *** [_module_/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.1.0-3-generic'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
build failed with return value 2
So it seems fglrx hardcodes "gcc-4.9" without depending on it -- only
the default compiler is installed:
ii gcc 4:5.2.1-3ubuntu1 amd64 GNU C compiler
ii gcc-5 5.2.1-15ubuntu1 amd64 GNU C compiler
ii gcc-5-base:amd64 5.2.1-15ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
Ideally fglrx would switch to building with gcc-5 (or any gcc); if
that's not possible, please adjust the dependencies to "gcc-4.9"
explicitly.
** Affects: fglrx (Ubuntu)
Importance: High
Assignee: Alberto Milone (albertomilone)
Status: New
** Affects: fglrx-installer-updates (Ubuntu)
Importance: High
Assignee: Alberto Milone (albertomilone)
Status: New
** Affects: fglrx (Ubuntu Wily)
Importance: High
Assignee: Alberto Milone (albertomilone)
Status: New
** Affects: fglrx-installer-updates (Ubuntu Wily)
Importance: High
Assignee: Alberto Milone (albertomilone)
Status: New
** Also affects: fglrx-installer-updates (Ubuntu)
Importance: Undecided
Status: New
** Changed in: fglrx (Ubuntu)
Importance: Undecided => High
** Changed in: fglrx-installer-updates (Ubuntu)
Importance: Undecided => High
** Also affects: fglrx-installer-updates (Ubuntu Wily)
Importance: High
Status: New
** Also affects: fglrx (Ubuntu Wily)
Importance: High
Status: New
** Changed in: fglrx (Ubuntu Wily)
Assignee: (unassigned) => Alberto Milone (albertomilone)
** Changed in: fglrx-installer-updates (Ubuntu Wily)
Assignee: (unassigned) => Alberto Milone (albertomilone)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-installer-updates in Ubuntu.
https://bugs.launchpad.net/bugs/1483695
Title:
fails to build module in wily-proposed: gcc-4.9: Command not found
Status in fglrx package in Ubuntu:
New
Status in fglrx-installer-updates package in Ubuntu:
New
Status in fglrx source package in Wily:
New
Status in fglrx-installer-updates source package in Wily:
New
Bug description:
As shown by the test regression of
http://autopkgtest.ubuntu.com/packages/u/ubuntu-drivers-
common/wily/amd64/ , fglrx and fglrx-updates fail to build the module
in wily-proposed:
Setting up fglrx-core (2:15.200.1-0ubuntu2) ...
update-alternatives: using /usr/lib/fglrx-core/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GFXCORE.conf (x86_64-linux-gnu_gfxcore_conf) in auto mode
Loading new fglrx-core-15.200.1 DKMS files...
First Installation: checking all kernels...
Building only for 4.1.0-3-generic
Building for architecture x86_64
Building initial module for 4.1.0-3-generic
Error! Bad return status for module build on kernel: 4.1.0-3-generic (x86_64)
Consult /var/lib/dkms/fglrx-core/15.200.1/build/make.log for more information.
$ cat /var/lib/dkms/fglrx-core/15.200.1/build/make.log
DKMS make.log for fglrx-core-15.200.1 for kernel 4.1.0-3-generic (x86_64)
Tue Aug 11 14:44:15 CEST 2015
/usr/sbin/dkms: line 74: cd: /var/lib/dkms/fglrx/15.200.1/build: No such file or directory
make.sh: 1: make.sh: gcc-4.9: not found
make.sh: 50: [: !=: unexpected operator
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.1.0-3-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x modules
make[1]: Entering directory '/usr/src/linux-headers-4.1.0-3-generic'
arch/x86/Makefile:114: stack-protector enabled but compiler support broken
arch/x86/Makefile:129: CONFIG_X86_X32 enabled but no binutils support
Makefile:667: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
make[1]: gcc-4.9: Command not found
CC [M] /var/lib/dkms/fglrx-core/15.200.1/build/2.6.x/firegl_public.o
/bin/sh: 1: gcc-4.9: not found
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x/firegl_public.o' failed
make[2]: *** [/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x/firegl_public.o] Error 127
Makefile:1395: recipe for target '_module_/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x' failed
make[1]: *** [_module_/var/lib/dkms/fglrx-core/15.200.1/build/2.6.x] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.1.0-3-generic'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
build failed with return value 2
So it seems fglrx hardcodes "gcc-4.9" without depending on it -- only
the default compiler is installed:
ii gcc 4:5.2.1-3ubuntu1 amd64 GNU C compiler
ii gcc-5 5.2.1-15ubuntu1 amd64 GNU C compiler
ii gcc-5-base:amd64 5.2.1-15ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
Ideally fglrx would switch to building with gcc-5 (or any gcc); if
that's not possible, please adjust the dependencies to "gcc-4.9"
explicitly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx/+bug/1483695/+subscriptions
Follow ups