Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345853 - sys-block/iscsitarget-1.4.19 doesn't build against sys-kernel/gentoo-sources-2.6.36
Summary: sys-block/iscsitarget-1.4.19 doesn't build against sys-kernel/gentoo-sources-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://old.nabble.com/Compile-issues-...
Whiteboard:
Keywords:
Depends on: 340449
Blocks:
  Show dependency tree
 
Reported: 2010-11-17 10:16 UTC by Lari Korpi
Modified: 2010-12-15 11:51 UTC (History)
4 users (show)

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


Attachments
updated ebuild (iscsitarget-1.4.19-r1.ebuild,2.18 KB, text/plain)
2010-11-30 18:24 UTC, pragnesh
Details
upstream patch svn rev 373 (iscsitarget-1.4.19+linux-2.6.36.patch,356 bytes, patch)
2010-11-30 18:25 UTC, pragnesh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lari Korpi 2010-11-17 10:16:43 UTC
sys-block/iscsitarget-1.4.19 is not compatible with 2.6.36 kernel.

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-kernel/gentoo-sources-2.6.36
2. build and install 2.6.36 kernel
3. emerge =sys-block/iscsitarget-1.4.19

Actual Results:  
 CC [M]  /var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19/kernel/digest.o
  CC [M]  /var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19/kernel/conn.o
/var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19/kernel/conn.c: In function ‘conn_info_show’:
/var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19/kernel/conn.c:46: error: implicit declaration of function ‘NIPQUAD’
/var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19/kernel/conn.c:46: warning: too few arguments for format
make[2]: *** [/var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19/kernel/conn.o] Error 1
make[1]: *** [_module_/var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.36-gentoo'
make: *** [kernel] Error 2
 * ERROR: sys-block/iscsitarget-1.4.19 failed:
 *   failed to build module
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3852:  Called die
 * The specific snippet of code:
 *       emake KSRC="${KERNEL_DIR}" kernel || die "failed to build module"
 *
 * If you need support, post the output of 'emerge --info =sys-block/iscsitarget-1.4.19',
 * the complete build log and the output of 'emerge -pqv =sys-block/iscsitarget-1.4.19'.
 * The complete build log is located at '/var/tmp/portage/sys-block/iscsitarget-1.4.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/iscsitarget-1.4.19/temp/environment'.
 * S: '/var/tmp/portage/sys-block/iscsitarget-1.4.19/work/iscsitarget-1.4.19'


Expected Results:  
successful emerge of iscsitarget

Portage 2.1.8.3 (selinux/2007.0/amd64, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-x86_64-AMD_Opteron-tm-_Processor_240-with-gentoo-2.0.1
Timestamp of tree: Wed, 17 Nov 2010 07:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages loadpolicy news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fi_FI.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fi en de sv"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="amd64 apache2 bash-completion berkdb bzip2 cairo ccache cli cracklib crypt curl cxx dri emacs exif expat ffmpeg firefox fontconfig fortran gd geoip gmp gnutls gpg gpm hdri iconv idn iproute2 ipv6 java6 jpeg libnotify logrotate loop-aes milter modules mudflap mysql ncurses nls nptl nsplugin offensive ofx openmp pam pcre pdf perl perl-geoipupdate png pppd python quotes raw readline selinux session smime smp srvdir ssl tcpd truetype unicode xattr xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="proxy proxy_ajp actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en de sv" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

sys-block/iscsitarget-1.4.19 was built with the following:
USE="(selinux)"
Comment 1 pragnesh 2010-11-30 18:24:09 UTC
fix is available in upstream , svn rev. 373.

I am adding that patch and updating ebuild.
I have emerge "iscsitarget-1.4.19" against 2.6.36 kernel successfully
 

Comment 2 pragnesh 2010-11-30 18:24:45 UTC
Created attachment 255985 [details]
updated ebuild
Comment 3 pragnesh 2010-11-30 18:25:51 UTC
Created attachment 255987 [details, diff]
upstream patch svn rev 373
Comment 4 Stefan Behte (RETIRED) gentoo-dev Security 2010-12-01 01:02:52 UTC
We need sys-block/iscsitarget-1.4.20.2 because of other important fixes.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2010-12-15 11:51:49 UTC
Done with 1.4.20.2, thanks for your patience and support.