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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2071587

Title:
  DKMS build log is not collected

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to