[Bug 2071587] [NEW] DKMS build log is not collected

Juerg Haefliger 2071587 at bugs.launchpad.net
Mon Jul 1 05:35:33 UTC 2024


Public bug reported:

For DKMS build failures that result in an automatically filed bug,
apport should also collect the relevant build log:

Building module:
Cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.8.0-36-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.8.0-36-generic/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.8.0-36-generic (x86_64)
Consult /var/lib/dkms/nvidia/550.90.07/build/make.log for more information.
dkms autoinstall on 6.8.0-36-generic/x86_64 failed for nvidia(10)
Error! One or more modules failed to install during autoinstall.

/var/lib/dkms/nvidia/550.90.07/build/make.log in the above case. Not
sure, but this could/should probably be a DKMS package hook?

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

** Description changed:

  For DKMS build failures that result in an automatically filed bug,
  apport should also collect the relevant build log:
  
  Building module:
  Cleaning build area...
  unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.8.0-36-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.8.0-36-generic/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules.....(bad exit status: 2)
  Error! Bad return status for module build on kernel: 6.8.0-36-generic (x86_64)
  Consult /var/lib/dkms/nvidia/550.90.07/build/make.log for more information.
  dkms autoinstall on 6.8.0-36-generic/x86_64 failed for nvidia(10)
  Error! One or more modules failed to install during autoinstall.
  
  /var/lib/dkms/nvidia/550.90.07/build/make.log in the above case. Not
- sure, but this cloud/should probably be a DKMS package hook?
+ sure, but this could/should probably be a DKMS package hook?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2071587

Title:
  DKMS build log is not collected

Status in apport package in Ubuntu:
  New

Bug description:
  For DKMS build failures that result in an automatically filed bug,
  apport should also collect the relevant build log:

  Building module:
  Cleaning build area...
  unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.8.0-36-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.8.0-36-generic/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules.....(bad exit status: 2)
  Error! Bad return status for module build on kernel: 6.8.0-36-generic (x86_64)
  Consult /var/lib/dkms/nvidia/550.90.07/build/make.log for more information.
  dkms autoinstall on 6.8.0-36-generic/x86_64 failed for nvidia(10)
  Error! One or more modules failed to install during autoinstall.

  /var/lib/dkms/nvidia/550.90.07/build/make.log in the above case. Not
  sure, but this could/should probably be a DKMS package hook?

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




More information about the foundations-bugs mailing list