Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197136 - sys-block/open-iscsi-2.0.865.12 does not compile on 2.6.23 kernel
Summary: sys-block/open-iscsi-2.0.865.12 does not compile on 2.6.23 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mike Doty (RETIRED)
URL:
Whiteboard:
Keywords:
: 211284 (view as bug list)
Depends on:
Blocks: kernel-2.6.23
  Show dependency tree
 
Reported: 2007-10-26 14:11 UTC by Mateusz
Modified: 2008-11-17 21:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Simple patch to fix the compilation issue (2.6.23.patch,462 bytes, patch)
2007-10-31 10:16 UTC, Martin Decky
Details | Diff
working ebuild (open-iscsi-2.0.865.12-r1.ebuild,2.72 KB, text/plain)
2007-12-05 21:14 UTC, Stefan G. Weichinger
Details
patch belonging to ebuild, goes into /usr/local/portage/sys-block/open-iscsi/files ... (compile-2.6.23.patch,462 bytes, patch)
2007-12-05 21:15 UTC, Stefan G. Weichinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz 2007-10-26 14:11:38 UTC
>>> 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:
Comment 1 Martin Decky 2007-10-31 10:16:53 UTC
Created attachment 134780 [details, diff]
Simple patch to fix the compilation issue
Comment 2 Natanael Copa 2007-11-06 15:04:41 UTC
looks like open-iscsi-2.0.865.15 is supposed to fix this.
Comment 3 Stefan G. Weichinger 2007-11-15 15:48:49 UTC
working ebuild here, should I post it?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-15 23:55:22 UTC
yup
Comment 5 Frido Ferdinand 2007-11-18 11:48:10 UTC
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.
Comment 6 Stefan G. Weichinger 2007-12-05 21:14:15 UTC
Created attachment 137844 [details]
working ebuild
Comment 7 Stefan G. Weichinger 2007-12-05 21:15:04 UTC
Created attachment 137847 [details, diff]
patch belonging to ebuild, goes into /usr/local/portage/sys-block/open-iscsi/files ...
Comment 8 Stefan G. Weichinger 2007-12-05 21:16:53 UTC
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.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-14 01:29:38 UTC
kingtaco: yours now.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-02-24 18:13:28 UTC
*** Bug 211284 has been marked as a duplicate of this bug. ***
Comment 11 Erik Logtenberg 2008-05-07 17:47:11 UTC
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?
Comment 12 Erik Logtenberg 2008-05-07 17:51:56 UTC
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.
Comment 13 Stefan Behte (RETIRED) gentoo-dev Security 2008-05-07 19:27:51 UTC
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.
Comment 14 Tobias Scherbaum (RETIRED) gentoo-dev 2008-11-17 21:04:08 UTC
unmasked.