The iscsitarget dkms package fails to build with the new 3.5 kernel for 12.04.2:
DKMS make.log for iscsitarget-1.4.20.2 for kernel 3.5.0-23-generic (x86_64)
Tue Feb 5 17:39:10 GMT 2013
make: Entering directory `/usr/src/linux-headers-3.5.0-23-generic'
LD /var/lib/dkms/iscsitarget/1.4.20.2/build/built-in.o
LD /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/built-in.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/tio.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/iscsi.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/nthread.o
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/nthread.c: In function ‘do_recv’:
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/nthread.c:145:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=]
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.o
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c: In function ‘worker_thread’:
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c:76:3: error: implicit declaration of function ‘get_io_context’ [-Werror=implicit-function-declaration]
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c:76:21: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.o] Error 1
make[1]: *** [/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel] Error 2
make: *** [_module_/var/lib/dkms/iscsitarget/1.4.20.2/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.5.0-23-generic'
Quantal package includes relevant fixes:
* Fix DKMS compatibility with Linux 3.5 kernel (LP: #1045706):
- d/p/iscsitarget-svn{444,471}.patch: Cherry picked patches from
upstream VCS trunk, resolving dkms build failures with > linux 3.5.
- d/p/fix-linux3.5.patch: Rework usage of ioc_task_link, resolving
dkms build failures with > linux 3.5.
The iscsitarget dkms package fails to build with the new 3.5 kernel for 12.04.2:
DKMS make.log for iscsitarget- 1.4.20. 2 for kernel 3.5.0-23-generic (x86_64) linux-headers- 3.5.0-23- generic' dkms/iscsitarge t/1.4.20. 2/build/ built-in. o dkms/iscsitarge t/1.4.20. 2/build/ kernel/ built-in. o dkms/iscsitarge t/1.4.20. 2/build/ kernel/ tio.o dkms/iscsitarge t/1.4.20. 2/build/ kernel/ iscsi.o dkms/iscsitarge t/1.4.20. 2/build/ kernel/ nthread. o dkms/iscsitarge t/1.4.20. 2/build/ kernel/ nthread. c: In function ‘do_recv’: dkms/iscsitarge t/1.4.20. 2/build/ kernel/ nthread. c:145:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe- larger- than=] dkms/iscsitarge t/1.4.20. 2/build/ kernel/ wthread. o dkms/iscsitarge t/1.4.20. 2/build/ kernel/ wthread. c: In function ‘worker_thread’: dkms/iscsitarge t/1.4.20. 2/build/ kernel/ wthread. c:76:3: error: implicit declaration of function ‘get_io_context’ [-Werror= implicit- function- declaration] dkms/iscsitarge t/1.4.20. 2/build/ kernel/ wthread. c:76:21: warning: assignment makes pointer from integer without a cast [enabled by default] dkms/iscsitarge t/1.4.20. 2/build/ kernel/ wthread. o] Error 1 dkms/iscsitarge t/1.4.20. 2/build/ kernel] Error 2 /var/lib/ dkms/iscsitarge t/1.4.20. 2/build] Error 2 linux-headers- 3.5.0-23- generic'
Tue Feb 5 17:39:10 GMT 2013
make: Entering directory `/usr/src/
LD /var/lib/
LD /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
/var/lib/
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/
make[1]: *** [/var/lib/
make: *** [_module_
make: Leaving directory `/usr/src/
Quantal package includes relevant fixes:
* Fix DKMS compatibility with Linux 3.5 kernel (LP: #1045706): -svn{444, 471}.patch: Cherry picked patches from linux3. 5.patch: Rework usage of ioc_task_link, resolving
- d/p/iscsitarget
upstream VCS trunk, resolving dkms build failures with > linux 3.5.
- d/p/fix-
dkms build failures with > linux 3.5.
ProblemType: Bug ature: Ubuntu 3.5.0-23. 35~precise1- generic 3.5.7.2 ture: all
DistroRelease: Ubuntu 12.04
Package: iscsitarget-dkms 1.4.20.2-5ubuntu3.1
ProcVersionSign
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Wed Feb 6 08:26:50 2013
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130205)
MarkForUpload: True
PackageArchitec
SourcePackage: iscsitarget
UpgradeStatus: No upgrade log present (probably fresh install)