I am unable to build the iscsitarget DKMS module on a fresh install of Ubuntu 16.04.2 LTS. Console output is replicated here; the associated make.log file is attached.
Setting up iscsitarget-dkms (1.4.20.3+svn502-2ubuntu4) ...
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.8.0-39-generic -C /lib/modules/4.8.0-39-generic/build M=/var/lib/dkms/iscsitarget/1.4.20.3+svn502/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.8.0-39-generic (i686)
Consult /var/lib/dkms/iscsitarget/1.4.20.3+svn502/build/make.log for more information.
Removing old iscsitarget-1.4.20.3+svn502 DKMS files...
------------------------------
Deleting module version: 1.4.20.3+svn502
completely from the DKMS tree.
------------------------------
Done.
Loading new iscsitarget-1.4.20.3+svn502 DKMS files...
First Installation: checking all kernels...
Building only for 4.8.0-39-generic
Building initial module for 4.8.0-39-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/iscsitarget-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.8.0-39-generic (i686)
Consult /var/lib/dkms/iscsitarget/1.4.20.3+svn502/build/make.log for more information.
I am unable to build the iscsitarget DKMS module on a fresh install of Ubuntu 16.04.2 LTS. Console output is replicated here; the associated make.log file is attached.
Setting up iscsitarget-dkms (1.4.20. 3+svn502- 2ubuntu4) ...
Creating symlink /var/lib/ dkms/iscsitarge t/1.4.20. 3+svn502/ source ->
/usr/ src/iscsitarget -1.4.20. 3+svn502
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module: 4.8.0-39- generic -C /lib/modules/ 4.8.0-39- generic/ build M=/var/ lib/dkms/ iscsitarget/ 1.4.20. 3+svn502/ build.. ..(bad exit status: 2) dkms/iscsitarge t/1.4.20. 3+svn502/ build/make. log for more information. 1.4.20. 3+svn502 DKMS files...
cleaning build area....
make KERNELRELEASE=
Error! Bad return status for module build on kernel: 4.8.0-39-generic (i686)
Consult /var/lib/
Removing old iscsitarget-
------- ------- ------- ------- -- ------- ------- ------- -- 1.4.20. 3+svn502 DKMS files... iscsitarget- dkms.0. crash' dkms/iscsitarge t/1.4.20. 3+svn502/ build/make. log for more information.
Deleting module version: 1.4.20.3+svn502
completely from the DKMS tree.
-------
Done.
Loading new iscsitarget-
First Installation: checking all kernels...
Building only for 4.8.0-39-generic
Building initial module for 4.8.0-39-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 4.8.0-39-generic (i686)
Consult /var/lib/