Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388099 - sys-block/iscsitarget-1.4.20.2 failed compile on 3.0.6 kernel
Summary: sys-block/iscsitarget-1.4.20.2 failed compile on 3.0.6 kernel
Status: RESOLVED DUPLICATE of bug 385537
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 12:00 UTC by easy_john
Modified: 2012-02-21 22:35 UTC (History)
0 users

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


Attachments
install directly from SVN trunk@455 for kernel 3.0.4, with version 3.0.6 was not tested (iscsitarget-1.4.20.2-r1.ebuild,1.85 KB, text/plain)
2011-11-25 10:32 UTC, nordaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description easy_john 2011-10-22 12:00:53 UTC
sys-block/iscsitarget-1.4.20.2 
sys-kernel/gentoo-sources-3.0.6
"Sorry, your kernel version and/or distribution is currently
not supported."

Reproducible: Always

Steps to Reproduce:
1. emerge --update --deep --newuse world
2. genkernel all
3. reboot
4. emerge iscsitarget
Actual Results:  
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-block/iscsitarget-1.4.20.2
 * iscsitarget-1.4.20.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                  [ ok ]

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. If you seek a secure
 * production server profile, please check the Hardened project
 * (http://hardened.gentoo.org)

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.0.6-gentoo/build
 * Found sources for kernel version:
 *     3.0.6-gentoo
 * Checking for suitable kernel configuration options...                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking iscsitarget-1.4.20.2.tar.gz to /var/tmp/portage/sys-block/iscsitarget-1.4.20.2/work
 * Applying iscsitarget-0.4.15-isns-set-scn-flag.patch ...                                                                                      [ ok ]
 * Applying iscsitarget-1.4.20.2-respect-flags.patch ...                                                                                        [ ok ]
 * Applying iscsitarget-1.4.20.2_kernel-2.6.36.patch ...                                                                                        [ ok ]
 * Converting iscsitarget-1.4.20.2/Makefile to use M= instead of SUBDIRS= ...                                                                   [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-block/iscsitarget-1.4.20.2/work
>>> Compiling source in /var/tmp/portage/sys-block/iscsitarget-1.4.20.2/work/iscsitarget-1.4.20.2 ...
make -j3 KSRC=/usr/src/linux usr 
Sorry, your kernel version and/or distribution is currently
Applying Patch compat-2.6.32.patch
patching file kernel/conn.c
not supported.
Hunk #1 FAILED at 44.
1 out of 1 hunk FAILED -- saving rejects to file kernel/conn.c.rej
make: *** [.patched.3.0.6-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):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3744:  Called die
 * The specific snippet of code:
 *       emake KSRC="${KERNEL_DIR}" usr || die;
 * 
 * If you need support, post the output of 'emerge --info =sys-block/iscsitarget-1.4.20.2',
 * the complete build log and the output of 'emerge -pqv =sys-block/iscsitarget-1.4.20.2'.
 * The complete build log is located at '/var/tmp/portage/sys-block/iscsitarget-1.4.20.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/iscsitarget-1.4.20.2/temp/environment'.
 * S: '/var/tmp/portage/sys-block/iscsitarget-1.4.20.2/work/iscsitarget-1.4.20.2'

>>> Failed to emerge sys-block/iscsitarget-1.4.20.2, Log file:

>>>  '/var/tmp/portage/sys-block/iscsitarget-1.4.20.2/temp/build.log'
Comment 1 nordaux 2011-11-25 10:32:39 UTC
Created attachment 293699 [details]
install directly from SVN trunk@455 for kernel 3.0.4, with version 3.0.6 was not tested

Who needed iscsitarget for kernel 3.0.X may try use ebuild in atachment.
P.S: Sorry for my bad english.
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2012-02-14 23:42:39 UTC

*** This bug has been marked as a duplicate of bug 385537 ***
Comment 3 Wai Ling 2012-02-21 22:35:19 UTC
iscsi-target still wouldn't compile under kernel 3.2, even when using svn trunk.

I wonder what patches sabayon is using? Their Overlay doesn't work at all.