[Pkg-iscsi-maintainers] Bug#620425: iscsitarget-dkms doesn't build because compat-2.6.32.patch not applicable
Philippe Latu
philippe.latu at linux-france.org
Wed Apr 6 17:19:27 UTC 2011
Hello,
Same problem here with the iscsitarget-dkms (1.4.20.2-4) package.
~~~~~~~~~~~~~~~~~~~~
Paramétrage de iscsitarget-dkms (1.4.20.2-4) ...
Creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source ->
/usr/src/iscsitarget-1.4.20.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch compat-2.6.32.patch...patching file kernel/conn.c
Hunk #1 FAILED at 44.
1 out of 1 hunk FAILED -- saving rejects to file kernel/conn.c.rej
(bad exit status: 1)
Error! Application of patch compat-2.6.32.patch failed.
Check /var/lib/dkms/iscsitarget/1.4.20.2/build/ for more information.
~~~~~~~~~~~~~~~~~~~~~
It seems the patch has to be patched.
The new patch is attached below.
Everything works fine then.
~~~~~~~~~~~~~~~~~~~~~
root at vm0:/usr/src/iscsitarget-1.4.20.2# dpkg-reconfigure iscsitarget-dkms
------------------------------
Deleting module version: 1.4.20.2
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source ->
/usr/src/iscsitarget-1.4.20.2
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch compat-2.6.32.patch...patching file kernel/conn.c
Building module:
cleaning build area....
make KERNELRELEASE=2.6.32-5-amd64 -C /lib/modules/2.6.32-5-amd64/build
M=/var/lib/dkms/iscsitarget/1.4.20.2/build......
cleaning build area....
DKMS: build Completed.
iscsi_trgt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.32-5-amd64/updates/dkms/
depmod.....
DKMS: install Completed.
HTH,
--
- Philippe Latu
philippe.latu(at)linux-france.org
http://www.linux-france.org/~platu
(GPG|PGP) KeyId 0x742A6424 - http://www.linux-france.org/~platu/key.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat-2.6.32.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20110406/bedc7e76/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20110406/bedc7e76/attachment.pgp>
More information about the Pkg-iscsi-maintainers
mailing list