Summary: | sys-block/iscsitarget-1.4.20.2 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alan Hourihane <alanh> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | 404errorqc, 4glitch, john |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Modified patchset from sabyon-overlay |
Description
Alan Hourihane
2011-10-03 18:40:12 UTC
All the patches are here..... http://gentoo-overlays.zugaina.org/sabayon/portage/sys-block/iscsitarget/ I've been using these patches and ebuild for the last week in production on a hardened system with 2.6.39-hardened-r8, backing ~30 Xen VMs (dom0s are 2.6.34-xen-r4). Been absolutely perfect. *** Bug 388099 has been marked as a duplicate of this bug. *** Created attachment 302805 [details]
Modified patchset from sabyon-overlay
This patchset fixes recognition of last digit from kernelversion.
It should support all kernels x.y.[0-9]
Missing inclusions of <linux/module.h> have been reported at upstream level (see their patches tacker). So far the upstream SVN trunk taken at revision 467 (latest available)+those additional inclusions make sys-block/iscsitarget buildable with Linux up to 3.2. *However* 3.3 Linux kernel series are also problematic and breaks sys-block/iscsitarget again: /tmp/iscsitarget/trunk/kernel/wthread.c: In function ‘worker_thread’: /tmp/iscsitarget/trunk/kernel/wthread.c:74:3: error: implicit declaration of function ‘get_io_context’ [-Werror=implicit-function-declaration] *** This bug has been marked as a duplicate of bug 365735 *** How can this be duplicate of that? Since it clearly gives another error? make -j5 KSRC=/usr/src/linux usr Sorry, your kernel version and/or distribution is currently not supported. 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 make: *** [.patched.3.4.9-gentoo] Error 1 make: *** Waiting for unfinished jobs.... Please read the README file for information on how you can contribute compatibility/bug fixes to the IET project. make: *** [true] Error 1 emake failed * ERROR: sys-block/iscsitarget-1.4.20.2 failed (compile phase): This is on a 3.4.9-gentoo kernel. |