make_report_path missing (called from dkms_packages.py)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
New
|
Undecided
|
Unassigned |
Bug Description
When upgrading Kernel on Kubuntu 15.04 with a package that fails to build against the current kernel, the apport dkms hook fails to report the bug.
Setting up linux-headers-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Traceback (most recent call last):
File "/usr/share/
with open(apport.
AttributeError: 'module' object has no attribute 'make_report_path'
Traceback (most recent call last):
File "/usr/share/
with open(apport.
AttributeError: 'module' object has no attribute 'make_report_path'
Error! Bad return status for module build on kernel: 3.19.0-30-generic (x86_64)
Consult /var/lib/
Error! Bad return status for module build on kernel: 3.19.0-30-generic (x86_64)
Consult /var/lib/
The file:
/usr/
is provided by the package dkms. Either the hook should be using a public API, or if this is/was a public API it should be kept stable for external hooks, if it's not a public API then likely should re-assign to dkms with note on what API should be used, otherwise should provide the missing API in apport.
/var/log/apport.log is empty, .crash file is included below.