Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264388 - net-firewall/ipsec-tools-0.7.2 fails to build with kernel 2.6.29
Summary: net-firewall/ipsec-tools-0.7.2 fails to build with kernel 2.6.29
Status: RESOLVED DUPLICATE of bug 264233
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://lists.linux-foundation.org/pi...
Whiteboard:
Keywords:
: 267307 267517 (view as bug list)
Depends on: 266837
Blocks: 264722
  Show dependency tree
 
Reported: 2009-03-31 13:32 UTC by renato gallo
Modified: 2009-10-31 14:49 UTC (History)
12 users (show)

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


Attachments
build.log (build.log,57.76 KB, text/plain)
2009-03-31 13:33 UTC, renato gallo
Details
Temporary replacement for missing official gentoo-headers-2.6.29.tar.lzma (gentoo-headers-2.6.29-2.tar.bz2,6.47 KB, application/octet-stream)
2009-04-26 15:15 UTC, Jiří Moravec
Details
ipsec-tools-0.7.2 build log (build.log,39.55 KB, text/plain)
2009-04-30 18:36 UTC, Steffen 'j0inty' Stollfuß
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2009-03-31 13:32:37 UTC
net-firewall/ipsec-tools-0.7.1 fails to build with kernel 2.6.29

Reproducible: Always

Steps to Reproduce:
1.emerge ipsec-tools

Actual Results:  
In file included from ../../src/include-glibc/linux/byteorder/little_endian.h:12,
                 from /usr/include/asm/byteorder.h:79,
                 from ../../src/include-glibc/linux/ip.h:20,
                 from isakmp.c:115:
../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file or directory
make[4]: *** [isakmp.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-tools-0.7.1/work/ipsec-tools-0.7.1/src/racoon'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-tools-0.7.1/work/ipsec-tools-0.7.1/src/racoon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-tools-0.7.1/work/ipsec-tools-0.7.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-tools-0.7.1/work/ipsec-tools-0.7.1'
make: *** [all] Error 2


Expected Results:  
I would like it to build smoothly as usual

uname -a
Linux TOOLBOX 2.6.29 #2 SMP Thu Mar 26 19:29:52 CET 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux



emerge --info                                                                                               
Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29 x86_64)                                   
=================================================================                                                                 
System uname: Linux-2.6.29-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5                                     
Timestamp of tree: Mon, 30 Mar 2009 20:45:01 +0000                                                                                
app-shells/bash:     4.0_p10-r1                                                                                                   
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                             
dev-lang/python:     2.4.4-r13, 2.5.4-r2                                                                                          
dev-python/pycrypto: 2.0.1-r6                                                                                                     
dev-util/cmake:      2.6.3                                                                                                        
sys-apps/baselayout: 2.0.0                                                                                                        
sys-apps/openrc:     0.4.3-r1                                                                                                     
sys-apps/sandbox:    1.6                                                                                                          
sys-devel/autoconf:  2.13, 2.63                                                                                                   
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                                    
sys-devel/binutils:  2.19.1-r1                                                                                                    
sys-devel/gcc-config: 1.4.1                                                                                                       
sys-devel/libtool:   2.2.6a                                                                                                       
virtual/os-headers:  2.6.28-r1                                                                                                    
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                    
CBUILD="x86_64-pc-linux-gnu"                                                                                                      
CFLAGS="-march=nocona -O2 -pipe"                                                                                                  
CHOST="x86_64-pc-linux-gnu"                                                                                                       
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"               
CXXFLAGS="-march=nocona -O2 -pipe"                                                                                                             
DISTDIR="/usr/portage/distfiles"                                                                                                               
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                 
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                          
LANG="it_IT.UTF-8"                                                                                                                             
LDFLAGS="-Wl,-O1"                                                                                                                              
LINGUAS="it en"                                                                                                                                
MAKEOPTS="-j5"                                                                                                                                 
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"                                                                                                                         
PORTDIR_OVERLAY="/usr/local/portage/layman/wschlich-testing /usr/local/portage/layman/sunrise /usr/local/portage/layman/mozilla /usr/local/portage/layman/kde-testing"                                                                                                                        
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                                          
USE="2dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi ada addbookmarks akode akonadi alias alsa amd64 amr amrb apache2 applet aqua_theme archive ares arts artswrappersuid artworkextra athena autoipd automount autoreplace avahi bash-completion beagle belagle berkdb bidi bittorrent bl bluetooth bookmarks branding bzip2 cairo calendar caps captury carbone_theme cdda cddb cdio cdparanoia cdr chm cisco clamavfontconfig cli compiz connectionstatus consolekit contactnotes cpudetection cracklib crypt cscope ctype cups cupsddk curl dbus debug designer-plugin device-mapper dga digitalradio directfb disk-partition diskio djvu dmx dnd doc dri dts dv dvb dvd dvdr dvi editor eds elf emacs emacx enca encode eolconv epiphany esd exif expat extensible fam fasttrack fax fbcon fbcondecor festival ffmpeg filepicker filter firefox flac fltk fontforgefoomaticdb fortran freetts freewnn ftp fuse gadu galago gcj gd gdbm gedit ggi gif gimp glib glitz gnokii gnome gnome-keyring gnomecd gnutella gnutls google-gadgets gpg gphoto2 gpm gps graphwiz groupwise gsf gsm gstreamer gtk gtkhtml guile gz gzip-el hal hdri hesiod hfs highlight history hotplug howl-compat httpd hybrid-auth iceweasel iconv idn ieee1394 imagemagick imlib innodb inotify inquisitio ipod iproute2 ipv6 irc irda irmc isdnlog jack jadetex jai java java5 javamail javascript jbig jce jingle jmf jms jmx joystick jpeg jpeg2k kde kde4 kdrive kerberos kipi ladspa lame lapack laptop latex lcms ldap legacyssl libcaca libffi libnotify libsamplerate libssh2 lilo lirc live lm_sensors logitech-mouse lua lzma lzo mad mbrola md5sum mdnsresponder-compat mfd-rewrites midi mjpeg mmap mmx mng mono motif mozdevelop mp2 mp3 mpeg mudflap mule multilib musepack mysql mysqli mythtv nas nat nautilus ncurses neXt nemesi netmeeting network networking networkmanager new-login nls nntp nowlistening npp nptl nptlonly nsplugin nss odbc odk offensive ogg old-daemons openal openexr openft opengl openmp openntpd opensslcrypt openstreetmap oracle pam parse-clocks passwordsave pch pcre pda pdf perl phonon php pink pkcs11 plasma plugins png pnm pop portage povray ppds pppd pulseaudio python python-bindings q32 q8 qa qt3 qt3support qt4 quicktime radio rar raster rdesktop readline redeyes redland reflection remote resolvconf rpm rrdcgi rss rtc ruby ruby-bindings samba sametime sasl savedconfig scanner schedule script scripting sdl seamonkey semantic-desktop sendmail sesame2session slang slp smartcard smp sms smux snmp sockets socks5 solver sound speechd speex spell spl sql srt sse sse2 ssl ssse3 startup-notification statistics stemmer suid svg swat swig sysfs syslog t1lib tcl tcltk tcpd teletext test test-programs tetex texteffect tga theora thumbnail tidy tiff tk toolkit-scroll-bars tools tracker translator truetype tseng tunepimp unicode usb utils v4l v4l2 vcd vim-pager vim-syntax vim-with-xvisibility vnc vorbis wavpack wddx webinterface webkit webpresence wifi winpopup wireless wlm wmf x264 xanim xattr xcb xcomposite xemacs xext xface xforms xft xim xine xinerama xinetd xml xml2 xmp xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zoran zsh-completion zvbi" 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="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 autoindexcache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mimemime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek digitaledge elographics fpit hyperpen jamstudio joystick magellan mutouch palmax spaceorb summa synaptics tek4957 ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 renato gallo 2009-03-31 13:33:47 UTC
Created attachment 186862 [details]
build.log

build log attached here
Comment 2 renato gallo 2009-03-31 13:34:32 UTC
it happens with the latest 0.8 upstream alpha too
Comment 3 renato gallo 2009-03-31 13:35:22 UTC
which one am I supposed to use ?

/usr/src/linux-2.6.29/include/asm-m32r/swab.h
/usr/src/linux-2.6.29/include/asm-frv/swab.h
/usr/src/linux-2.6.29/include/asm-mn10300/swab.h
Comment 4 Frederico Freire Boaventura 2009-04-06 13:27:26 UTC
Same problem here.

Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo i686)
=================================================================
System uname: Linux-2.6.29-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.0
Timestamp of tree: Mon, 06 Apr 2009 01:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p10-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.8
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j4"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/pda /usr/local/portage/layman/jokey /usr/portage/local/gentoo-ffb"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acct acl acpi addbookmarks administrator ads aim alias alsa amazon amrnb amrwb ao apache2 archive arts artswrappersuid artworkextra async audiofile automount avahi bash-completion bcmath berkdb bidi binary-drivers bind-mysql bluetooth branding bzip2 cairo calendar caps captury ccache cdda cddb cdio cdparanoia cdr cgi chm cisco clamav cli connectionstatus consolekit contentcache cracklib crypt css ctype cups curl curlwrappers daap dbase dbm dbtool dbus dbx dga dialup directfb diskio divx djvu dlz dmx dri dts dv dvb dvd dvdr dvdread dynamic dynamicplugin eap-tls eds elf emboss enca encode enscript epson esd evo exif expat extensions extrafilters fam fame fastbuild fastcgi fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash font-server fontconfig foomaticdb fortran fpx ftp fuse gadu galago gd gdbm ggi gif gimp glib glitz gnokii gnutls gphoto2 gpm graphviz gsm gstreamer gtk hal hardware-carrier hddtemp htmlhandbook ical iconv ieee1394 imagemagick imlib ipod ipv6 irda isdnlog jack java jbig john joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix kerberos ladspa lame laptop latex lcms ldap libcaca libnotify live lm_sensors logrotate lzma lzo mad md5sum midi mikmod mmmap mmx mmxext mng mono mp2 mp3 mpeg mudflap musepack musicbrainz mysql nas ncurses nemesi network networkmanager nforce2 nls nptl nptlonly nsplugin nss nvidia odbc ogg openal openct openexr opengl openmp oscar oss pae pam pch pcmcia pcre pda pdf perl phonon php plasma pmu png pnm povray ppds pppd profile pulseaudio python qt3 qt3support qt4 quicktime quotas radio rarar readline reflection rrdcgi rrdtool rtc ruby samba scanner sdl semantic-desktop session slang smp sms sndfile speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subversion svg svga sysfs syslog tcl tcpd teletext tga theora threads tidy tiff tk tracker truetype unicode usb utempter v4l v4l2 vcd video vidix vim-syntax vnc vorbis wavpack wifi win32codecs winbind wmf x264 x86 xanim xcb xcomposite xforms xine xinerama xml xorg xprint xscreensaver xulrunner xv xvid xvmc yahoo zip zlib zoran zrtp" ALSA_CARDS="hda-intel bt87x mpu401" 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="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 imagemap proxy proxy_ftp proxy_http version" APACHE2_MPMS="worker" CAMERAS="ptp2 sony_dscf1" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa v4l fbdev nv vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Azamat H. Hackimov 2009-04-07 18:38:05 UTC
Problem is in sys-kernel/linux-headers. Your version is 2.6.28-r1, but you need 2.6.29. Unfortunally, sys-kernel/linux-headers don't have this version yet.
Comment 6 renato gallo 2009-04-19 16:10:33 UTC
any news ?

(In reply to comment #5)
> Problem is in sys-kernel/linux-headers. Your version is 2.6.28-r1, but you need
> 2.6.29. Unfortunally, sys-kernel/linux-headers don't have this version yet.
> 

Comment 7 renato gallo 2009-04-23 14:17:15 UTC
this fixed the issue on arch 64 bit

2.6.29/     2.6.29.1/   2.6.29-rc8/
TOOLBOX ipsec-tools-0.7.1 # ls /lib/modules/2.6.29.1/build/include/
acpi/        asm-frv/     asm-m32r/    config/      Kbuild       math-emu/    net/         rxrpc/       trace/
asm/         asm-generic/ asm-mn10300/ crypto/      keys/        media/       pcmcia/      scsi/        video/
asm-arm/     asm-h8300/   asm-x86/     drm/         linux/       mtd/         rdma/        sound/       xen/
TOOLBOX ipsec-tools-0.7.1 # ls /lib/modules/2.6.29.1/build/include/a
acpi/        asm/         asm-arm/     asm-frv/     asm-generic/ asm-h8300/   asm-m32r/    asm-mn10300/ asm-x86/
TOOLBOX ipsec-tools-0.7.1 # ls /lib/modules/2.6.29.1/build/include/asm
asm/         asm-arm/     asm-frv/     asm-generic/ asm-h8300/   asm-m32r/    asm-mn10300/ asm-x86/
TOOLBOX ipsec-tools-0.7.1 # cp /usr/src/linux/arch/ia64/include/asm/swab.h /lib/modules/2.6.29.1/build/include/asm/
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm /usr/include/as
asm/         asm-generic/ aspell.h     assert.h     assuan.h     asyncns.h
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm /usr/include/as
asm/         asm-generic/ aspell.h     assert.h     assuan.h     asyncns.h
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm /usr/include/asm
asm/         asm-generic/
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/sw /usr/include/asm/
swab.h     swiotlb.h
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/swab.h /usr/include/asm/s
sembuf.h        shmbuf.h        sigcontext.h    signal.h        sockios.h       stat.h
setup.h         sigcontext32.h  siginfo.h       socket.h        statfs.h
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/swab.h /usr/include/asm/
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/intrinsics.h /usr/include/asm/
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/gcc_intrin.h /usr/include/asm/
gcc_intrin.h
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/gcc_intrin.h /usr/include/asm/
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/ia /usr/include/asm/
ia32.h      ia64regs.h
TOOLBOX ipsec-tools-0.7.1 # cp -rp /usr/src/linux/arch/ia64/include/asm/ia64regs.h /usr/include/asm/
TOOLBOX ipsec-tools-0.7.1 #
Comment 8 Jochen Schlick 2009-04-23 19:48:11 UTC
same problems for ipsec-tools-0.7.2
Comment 9 Jiří Moravec 2009-04-25 18:12:10 UTC
(In reply to comment #8)
> same problems for ipsec-tools-0.7.2
> 

Yeah, for ipsec-tools-0.7* on linux-2.6.29 you need linux-headers-2.6.29. Because this package isn't in portage, there is only two solutions: wait or DIY.

For DIY you need linux-2.6.29, gentoo-patches-2.6.29* and rip-headers.sh script from gentoo-headers-base-2.6.28.tar.lzma and of course gentoo-headers-2.6.28-2.tar.lzma modified for 2.6.29.

Comment 10 renato gallo 2009-04-26 09:31:51 UTC
what is preventing devs to fix this in tree ?





(In reply to comment #9)
> (In reply to comment #8)
> > same problems for ipsec-tools-0.7.2
> > 
> 
> Yeah, for ipsec-tools-0.7* on linux-2.6.29 you need linux-headers-2.6.29.
> Because this package isn't in portage, there is only two solutions: wait or
> DIY.
> 
> For DIY you need linux-2.6.29, gentoo-patches-2.6.29* and rip-headers.sh script
> from gentoo-headers-base-2.6.28.tar.lzma and of course
> gentoo-headers-2.6.28-2.tar.lzma modified for 2.6.29.
> 

Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-26 11:01:08 UTC
*** Bug 267307 has been marked as a duplicate of this bug. ***
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-26 11:01:13 UTC
*** Bug 267517 has been marked as a duplicate of this bug. ***
Comment 13 Jiří Moravec 2009-04-26 15:13:32 UTC
(In reply to comment #10)
> what is preventing devs to fix this in tree ?
> 
> (In reply to comment #9)
> > (In reply to comment #8)
> > > same problems for ipsec-tools-0.7.2
> > > 
> > 
> > Yeah, for ipsec-tools-0.7* on linux-2.6.29 you need linux-headers-2.6.29.
> > Because this package isn't in portage, there is only two solutions: wait or
> > DIY.
> > 
> > For DIY you need linux-2.6.29, gentoo-patches-2.6.29* and rip-headers.sh script
> > from gentoo-headers-base-2.6.28.tar.lzma and of course
> > gentoo-headers-2.6.28-2.tar.lzma modified for 2.6.29.
> > 
> 

This is very good question, but for Mike Frysinger (linux-headers maintainer).
If you have an adventurous nature, so you can try my gentoo-headers-2.6.29-2.tar.bz2.
Comment 14 Jiří Moravec 2009-04-26 15:15:41 UTC
Created attachment 189508 [details]
Temporary replacement for missing official gentoo-headers-2.6.29.tar.lzma

This file was created from official gentoo-headers-2.6.28-2.tar.lzma. Use at your own risk!

WARNING: Your computer, your cat, you and your planet will be sucked by black hole!
Comment 15 tla 2009-04-27 16:29:50 UTC
I have the same issue on latest git: 2.6.30-rc3-00340-gce8a742.  I don't use any out-of-kernel modules.  I did the following to make it compile:

cd /usr/include/asm
ln -s ../../../home/<myhome>/git/linux-2.6/arch/x86/include/asm/swab.h swab.h
emerge -Duv world
rm /usr/include/asm/swab.h

$ emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-rc3-00340-gce8a742 i686)
=================================================================
System uname: Linux-2.6.30-rc3-00340-gce8a742-i686-Pentium_III_-Coppermine-with-glibc2.0
Timestamp of tree: Mon, 27 Apr 2009 09:00:18 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apache2 bash-completion berkdb bzip2 cli cracklib crypt cups dri emacs fortran gdbm gpm gtk iconv ipv6 isdnlog midi mp3 mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl postgres pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 renato gallo 2009-04-28 18:39:18 UTC
since uvcvideo started to complain for headers too it is time to work on the tree pals
Comment 17 Steffen 'j0inty' Stollfuß 2009-04-30 18:36:50 UTC
Created attachment 189990 [details]
ipsec-tools-0.7.2 build log

Same here :(
Comment 18 Dale Pontius 2009-05-05 11:52:33 UTC
Would someone please MASK ">=net-firewall/ipsec-tools-0.7.0"?  This ebuild is simply broken at the moment, because no kernel-headers-2.6.29 are even available, so it's not as if it could even be ~arch.  Plus the new kernel-headers should probably be added as a prerequisite even when it goes to ~arch.
Comment 19 renato gallo 2009-05-05 12:01:05 UTC
Would someone just please better provide the kernel headers necessary ? many modules will start to complain soon !!!

(In reply to comment #18)
> Would someone please MASK ">=net-firewall/ipsec-tools-0.7.0"?  This ebuild is
> simply broken at the moment, because no kernel-headers-2.6.29 are even
> available, so it's not as if it could even be ~arch.  Plus the new
> kernel-headers should probably be added as a prerequisite even when it goes to
> ~arch.
> 

Comment 20 Azamat H. Hackimov 2009-05-05 12:21:41 UTC
(In reply to comment #18)
> Would someone please MASK ">=net-firewall/ipsec-tools-0.7.0"?  This ebuild is
> simply broken at the moment, because no kernel-headers-2.6.29 are even
> available, so it's not as if it could even be ~arch.  Plus the new
> kernel-headers should probably be added as a prerequisite even when it goes to
> ~arch.
net-firewall/ipsec-tools-0.7.1 is stable, so you should use stable version of kernel (2.6.28-rN) instead masking stable package and using ~arch kernel.
Comment 21 Azamat H. Hackimov 2009-05-10 10:36:16 UTC
linux-headers-2.6.29 now is in portage, and with them ipsec-tools-0.7.2 builds without errors. Just as planned :).
Comment 22 Dale Pontius 2009-05-11 13:58:41 UTC
I forgot that I run unstable kernels - nearly everything else I run stable.  I've added kernel-headers to my unstable list, and now this builds OK.
Comment 23 renato gallo 2009-05-11 14:23:37 UTC
this is solved for me on my quad

(In reply to comment #21)
> linux-headers-2.6.29 now is in portage, and with them ipsec-tools-0.7.2 builds
> without errors. Just as planned :).
> 

Comment 24 NiTr0 2009-06-08 12:06:00 UTC
2.6.28 and 2.6.29 kernel now is in stable tree, but headers are still marked as unstable... 
Comment 25 Christian Hoffmann (RETIRED) gentoo-dev 2009-06-17 00:14:30 UTC
Just hit the problem as well and linux-headers-2.6.29 solves it, so I guess the fix is simply stabling this version.
I don't know how "simple" it is in this case, I fear it might not be that easy, but the maintainers should know, as such I'm CC'ing toolchain@.
Comment 26 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-31 14:49:40 UTC

*** This bug has been marked as a duplicate of bug 264233 ***