← Back to team overview

kernel-packages team mailing list archive

[Bug 1529917] [NEW] mainline kernel fails to install in trusty

 

Public bug reported:

Today's mainline kernel fails to install in Ubuntu Trusty.

$ sudo dpkg -i linux-headers-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb linux-headers-4.4.0-999_4.4.0-999.201512282100_all.deb linux-image-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb
[...]
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link boot/initrd.img-4.4.0-999-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-4.4.0-999-generic.postinst line 629.
dpkg: error processing package linux-image-4.4.0-999-generic (--install):
 subprocess installed post-installation script returned error exit status 17
Setting up linux-headers-4.4.0-999-generic (4.4.0-999.201512282100) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-999-generic /boot/vmlinuz-4.4.0-999-generic
ERROR (dkms apport): kernel package linux-headers-4.4.0-999-generic is not supported
Error! Bad return status for module build on kernel: 4.4.0-999-generic (i686)
Consult /var/lib/dkms/tp-smapi/0.41/build/make.log for more information.
Errors were encountered while processing:
 linux-image-4.4.0-999-generic

$ cat /var/lib/dkms/tp-smapi/0.41/build/make.log
DKMS make.log for tp-smapi-0.41 for kernel 4.4.0-999-generic (i686)
Wed Dec 30 01:45:40 PHT 2015
make: Entering directory `/usr/src/linux-headers-4.4.0-999-generic'
Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
  LD      /var/lib/dkms/tp-smapi/0.41/build/built-in.o
  CC [M]  /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[1]: *** [/var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o] Error 1
make: *** [_module_/var/lib/dkms/tp-smapi/0.41/build] Error 2
make: Leaving directory `/usr/src/linux-headers-4.4.0-999-generic'

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: trusty

** Description changed:

  Today's mainline kernel fails to install in Ubuntu Trusty.
  
- $ sudo dpkg -i linux-headers-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb linux-headers-4.4.0-999_4.4.0-999.201512282100_all.deb linux-image-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb 
+ $ sudo dpkg -i linux-headers-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb linux-headers-4.4.0-999_4.4.0-999.201512282100_all.deb linux-image-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb
  [...]
  update-initramfs: deferring update (hook will be called later)
  Failed to symbolic-link boot/initrd.img-4.4.0-999-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-4.4.0-999-generic.postinst line 629.
  dpkg: error processing package linux-image-4.4.0-999-generic (--install):
-  subprocess installed post-installation script returned error exit status 17
+  subprocess installed post-installation script returned error exit status 17
  Setting up linux-headers-4.4.0-999-generic (4.4.0-999.201512282100) ...
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-999-generic /boot/vmlinuz-4.4.0-999-generic
  ERROR (dkms apport): kernel package linux-headers-4.4.0-999-generic is not supported
  Error! Bad return status for module build on kernel: 4.4.0-999-generic (i686)
  Consult /var/lib/dkms/tp-smapi/0.41/build/make.log for more information.
  Errors were encountered while processing:
-  linux-image-4.4.0-999-generic
+  linux-image-4.4.0-999-generic
+ 
  $ cat /var/lib/dkms/tp-smapi/0.41/build/make.log
  DKMS make.log for tp-smapi-0.41 for kernel 4.4.0-999-generic (i686)
  Wed Dec 30 01:45:40 PHT 2015
  make: Entering directory `/usr/src/linux-headers-4.4.0-999-generic'
  Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
-   LD      /var/lib/dkms/tp-smapi/0.41/build/built-in.o
-   CC [M]  /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o
+   LD      /var/lib/dkms/tp-smapi/0.41/build/built-in.o
+   CC [M]  /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o
  gcc: error: unrecognized command line option ‘-fstack-protector-strong’
  make[1]: *** [/var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o] Error 1
  make: *** [_module_/var/lib/dkms/tp-smapi/0.41/build] Error 2
  make: Leaving directory `/usr/src/linux-headers-4.4.0-999-generic'

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1529917

Title:
  mainline kernel fails to install in trusty

Status in linux package in Ubuntu:
  New

Bug description:
  Today's mainline kernel fails to install in Ubuntu Trusty.

  $ sudo dpkg -i linux-headers-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb linux-headers-4.4.0-999_4.4.0-999.201512282100_all.deb linux-image-4.4.0-999-generic_4.4.0-999.201512282100_i386.deb
  [...]
  update-initramfs: deferring update (hook will be called later)
  Failed to symbolic-link boot/initrd.img-4.4.0-999-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-4.4.0-999-generic.postinst line 629.
  dpkg: error processing package linux-image-4.4.0-999-generic (--install):
   subprocess installed post-installation script returned error exit status 17
  Setting up linux-headers-4.4.0-999-generic (4.4.0-999.201512282100) ...
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-999-generic /boot/vmlinuz-4.4.0-999-generic
  ERROR (dkms apport): kernel package linux-headers-4.4.0-999-generic is not supported
  Error! Bad return status for module build on kernel: 4.4.0-999-generic (i686)
  Consult /var/lib/dkms/tp-smapi/0.41/build/make.log for more information.
  Errors were encountered while processing:
   linux-image-4.4.0-999-generic

  $ cat /var/lib/dkms/tp-smapi/0.41/build/make.log
  DKMS make.log for tp-smapi-0.41 for kernel 4.4.0-999-generic (i686)
  Wed Dec 30 01:45:40 PHT 2015
  make: Entering directory `/usr/src/linux-headers-4.4.0-999-generic'
  Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
    LD      /var/lib/dkms/tp-smapi/0.41/build/built-in.o
    CC [M]  /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o
  gcc: error: unrecognized command line option ‘-fstack-protector-strong’
  make[1]: *** [/var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o] Error 1
  make: *** [_module_/var/lib/dkms/tp-smapi/0.41/build] Error 2
  make: Leaving directory `/usr/src/linux-headers-4.4.0-999-generic'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1529917/+subscriptions


Follow ups