>>> Compiling source in /var/tmp/portage/sys-block/open-iscsi-2.0.865.12/work/open-iscsi-2.0-865.12 ... * Building kernel modules * Preparing iscsi_tcp module make: *** No rule to make target `linux_2_6_23', needed by `kernel_check'. Stop. * * ERROR: sys-block/open-iscsi-2.0.865.12 failed. * Call stack: * ebuild.sh, line 1695: Called dyn_compile * ebuild.sh, line 1033: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * open-iscsi-2.0.865.12.ebuild, line 51: Called linux-mod_src_compile * linux-mod.eclass, line 518: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \ * ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \ * || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}." * The die message: * Unable to make all. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-block/open-iscsi-2.0.865.12/temp/build.log'. * * Messages for package sys-block/open-iscsi-2.0.865.12: * * ERROR: sys-block/open-iscsi-2.0.865.12 failed. * Call stack: * ebuild.sh, line 1695: Called dyn_compile * ebuild.sh, line 1033: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * open-iscsi-2.0.865.12.ebuild, line 51: Called linux-mod_src_compile * linux-mod.eclass, line 518: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \ * ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \ * || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}." * The die message: * Unable to make all. * Reproducible: Always Steps to Reproduce: 1. try to compile on 2.6.23 kernel Actual Results:
Created attachment 134780 [details, diff] Simple patch to fix the compilation issue
looks like open-iscsi-2.0.865.15 is supposed to fix this.
working ebuild here, should I post it?
yup
Just copied the old ebuild to the a new one with .15 name. Aside from one sandbox violation everything works. Using it now with /var/tmp/portage as iscsi and doing emerge world. Looks great so far.
Created attachment 137844 [details] working ebuild
Created attachment 137847 [details, diff] patch belonging to ebuild, goes into /usr/local/portage/sys-block/open-iscsi/files ...
oops, sorry for the delay, simply had forgotten to check back an stumbled over this issue again when upgrading to 2.6.23-r3. Posted open-iscsi-2.0.865.12-r1.ebuild and compile-2.6.23.patch right now, both compiled and installed fine here with gentoo-sources-2.6.23-r3 a few minutes ago.
kingtaco: yours now.
*** Bug 211284 has been marked as a duplicate of this bug. ***
It appears this bug keeps (re)appearing with each new kernel-version (?) What is the right way to install open-iscsi with the 2.6.24-r7 kernel that is marked stable now?
Oh, I see that sys-block/open-iscsi-2.0.868_rc1 compiles fine on 2.6.24 (on AMD64). Perhaps it's a good idea to unmask it, since the currently unmasked version doesn't work and the currently masked version does. Nothing else to be fixed as far as I'm concerned.
Same opinion over here, but I'm not the maintainer. Kingtaco says he'll unmask as soon as he tested with his iscsi gear. Could you please try open-iscsi-2.0.869 from http://bugs.gentoo.org/show_bug.cgi?id=196096 ? It's the latest stable version and works with an unmodified ebuild from sys-block/open-iscsi-2.0.868_rc1, but long-term testing of the software itself would be cool, too.
unmasked.