Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263471 - sys-block/open-iscsi-2.0.870.3 won't build with a 2.6.28 kernel
Summary: sys-block/open-iscsi-2.0.870.3 won't build with a 2.6.28 kernel
Status: RESOLVED DUPLICATE of bug 259302
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 12:32 UTC by Richard Scott
Modified: 2009-03-23 20:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Scott 2009-03-23 12:32:47 UTC
Hi,

I get the following error when building against a 2.6.28 kernel.
It seems that the ebuild doesn't know about that kernel release :-(

* Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.28-hardened-r4
 * Checking for suitable kernel configuration options...                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking open-iscsi-2.0-870.3.tar.gz to /var/tmp/portage/sys-block/open-iscsi-2.0.870.3/work
>>> Source unpacked in /var/tmp/portage/sys-block/open-iscsi-2.0.870.3/work
>>> Compiling source in /var/tmp/portage/sys-block/open-iscsi-2.0.870.3/work/open-iscsi-2.0-870.3 ...
 * Building kernel modules
 * Preparing iscsi_tcp module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' all
make: *** No rule to make target `linux_2_6_28', needed by `kernel_check'.  Stop.
 *
 * ERROR: sys-block/open-iscsi-2.0.870.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3510:  Called linux-mod_src_compile
 *             environment, line 2684:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-                             LDFLAGS="$(get_abi_LDFLAGS)"                                             ${BUILD_FIXES}                                          ${BUILD_PARAMS}             ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64   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.870.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/open-iscsi-2.0.870.3/temp/environment'.


Reproducible: Always

Steps to Reproduce:
1. emerge a 2.6.28 kernel
2. emerge (or reemerge) open-iscsi
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-23 20:59:03 UTC
*** This bug has been marked as a duplicate of bug 259302 ***