Summary: | net-firewall/ipsec-tools-0.7.2 fails to build with kernel 2.6.29 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | renato gallo <renatogallo> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | axiator, azamat.hackimov, depontius, frederico, gentoo, hoffie, kernel, martin, petr.pisar, tla, toolchain, wschlich |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://lists.linux-foundation.org/pipermail/bugme-new/2009-March/021547.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 266837 | ||
Bug Blocks: | 264722 | ||
Attachments: |
build.log
Temporary replacement for missing official gentoo-headers-2.6.29.tar.lzma ipsec-tools-0.7.2 build log |
Description
renato gallo
2009-03-31 13:32:37 UTC
Created attachment 186862 [details]
build.log
build log attached here
it happens with the latest 0.8 upstream alpha too 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 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 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. 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. > 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 # same problems for ipsec-tools-0.7.2 (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. 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. > *** Bug 267307 has been marked as a duplicate of this bug. *** *** Bug 267517 has been marked as a duplicate of this bug. *** (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. 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!
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 since uvcvideo started to complain for headers too it is time to work on the tree pals Created attachment 189990 [details]
ipsec-tools-0.7.2 build log
Same here :(
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. 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. > (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. linux-headers-2.6.29 now is in portage, and with them ipsec-tools-0.7.2 builds without errors. Just as planned :). 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. 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 :). > 2.6.28 and 2.6.29 kernel now is in stable tree, but headers are still marked as unstable... 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@. *** This bug has been marked as a duplicate of bug 264233 *** |