[Bug 905987] Re: iscsitarget-dkms fails to build on 12.04
Launchpad Bug Tracker
905987 at bugs.launchpad.net
Fri Feb 10 12:30:11 UTC 2012
This bug was fixed in the package iscsitarget - 1.4.20.2-5ubuntu2
---------------
iscsitarget (1.4.20.2-5ubuntu2) precise; urgency=low
* debian/patches/linux-3.2-includes.patch: Added additional includes of
linux/export.h and a linux/module.h, resolving dkms build failures with
> linux 3.2. Original patch courtesy of Kiall Mac Innes. (LP: #905987)
-- Dave Walker (Daviey) <DaveWalker at ubuntu.com> Fri, 10 Feb 2012 12:16:11 +0000
** Changed in: iscsitarget (Ubuntu Precise)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to iscsitarget in Ubuntu.
https://bugs.launchpad.net/bugs/905987
Title:
iscsitarget-dkms fails to build on 12.04
Status in “iscsitarget” package in Ubuntu:
Fix Released
Status in “iscsitarget” source package in Precise:
Fix Released
Bug description:
Distro upgraded from 11.10 to 12.04.
After countless issues with NFS4, I decided to switch to iSCSI (small
home network, not a great deal of speed needed). Installing
iscsitarget-dkms now fails with the following message:
# dkms autoinstall
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.2.0-5-generic -C /lib/modules/3.2.0-5-generic/build M=/var/lib/dkms/iscsitarget/1.4.20.2/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.2.0-5-generic (x86_64)
Consult /var/lib/dkms/iscsitarget/1.4.20.2/build/make.log for more information.
# cat /var/lib/dkms/iscsitarget/1.4.20.2/build/make.log
DKMS make.log for iscsitarget-1.4.20.2 for kernel 3.2.0-5-generic (x86_64)
Mon Dec 19 05:57:17 NZDT 2011
make: Entering directory `/usr/src/linux-headers-3.2.0-5-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
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/config.o
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/config.c:358:12: error: âTHIS_MODULEâ undeclared here (not in a function)
make[2]: *** [/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/config.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.2.0-5-generic'
# lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
# apt-cache policy iscsitarget-dkms
iscsitarget-dkms:
Installed: 1.4.20.2-5ubuntu1
Candidate: 1.4.20.2-5ubuntu1
Version table:
*** 1.4.20.2-5ubuntu1 0
500 http://nz.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
Thanks !
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/905987/+subscriptions
More information about the foundations-bugs
mailing list