'emerge cisco-vpnclient-3des' fails with CC [M] /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.o /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c: In function 'CniInjectReceive': /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:297: warning: implicit declaration of function 'skb_set_timestamp' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:331: error: 'struct sk_buff' has no m ember named 'nh' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:332: error: 'struct sk_buff' has no m ember named 'mac' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c: In function 'CniInjectSend': /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:454: error: 'struct sk_buff' has no m ember named 'mac' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:455: error: 'struct sk_buff' has no m ember named 'nh' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no m ember named 'h' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no m ember named 'nh' make[2]: *** [/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.o] Error 1 make[1]: *** [_module_/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient] Error 2 make[1]: Leaving directory `/usr/src_thinkpad/linux-2.6.22-rc6' make: *** [default] Error 2 * * ERROR: net-misc/cisco-vpnclient-3des-4.8.00.0490 failed. Reproducible: Always root@thinkpad:/root(5)# emerge --info Portage 2.1.3_rc6 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.22-rc6 i686) ================================================================= System uname: 2.6.22-rc6 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 29 Jun 2007 07:00:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer" 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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo / etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.caliu.info/pub/gentoo/ http://ftp.caliu.info/pub/gen too/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://www.gigaload.org/gentoo.org/" LINGUAS="de fr" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --ex clude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/xeffects /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental /usr/loca l/sci" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl acpi aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount beagle berkdb bitmap-fonts blas bonobo boo bzip2 cairo cardbus cdda cddb cdf cd io cdparanoia cdr cgi chm cli corba cracklib crypt cups curl daap dbus device-mapper dga divx dlloader dmi dri dv dvb dvd dvdr dvi dxr3 dynagraph effects elf emacs emboss encode epiphany es d evo evolution exif expat fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnome gnuplot gnutls gphoto2 gpm graphviz grass gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi iconv icq id3 imagemagick innodb ipv6 isdnlog ithreads jabber java jbig john jp2 jpeg jpeg2k kexi lads pa lame lapack latex lcms ldap libg++ libgda libsamplerate lirc lua lzo lzw mad madwifi math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4live mpe g mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf network nfs nls nntp nptl nptlonly ntfs numarray numeric ocaml octave odbc ogdi ogg ole opengl openmp pam pcre pdf perl plotutils plugin png posix postgres pppd proj python qhull quicktime readline real reflection reiserfs rhythmbox rle rrdcgi rrdtool samba sdl session slang slp sndfile snmp sox spe ex spell spl sqlite sse sse2 ssl subtitles svg t1lib tcltk tcpd tetex theora threads thunderbird tidy tiff tk truetype truetype-fonts type1-fonts unicode userlocales v4l2 vorbis wifi win32c odecs wmf x86 xattr xemacs xext xine xml xml2 xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" 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 fil e hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="li nux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 183850 has been marked as a duplicate of this bug. ***
Created attachment 124375 [details] Patch for kernels up to 2.6.22 Courtesy of http://tuxx-home.at/archives/2007/05/29/T16_34_26/.
Created attachment 124376 [details, diff] Modify vpnclient ebuild to use new patch
Patch looks good
(In reply to comment #3) > Created an attachment (id=124376) [edit] > Modify vpnclient ebuild to use new patch > I have tested the patch and patched ebuild on gentoo-sources kernels 2.6.21-r4 and 2.6.22, and it compiles and works correctly on both. Thanks and regards, Ian
This bug also applies to version 4.7. Include the fix there too.
Created attachment 124815 [details, diff] Patch for VPNClient 4.7. Replaces 2.6.19.patch. This can be dropped in place of 2.6.19.patch for Vpnclient 4.7.
Thanks, proposed fix works like a charm.
I'll be pushing for 2.6.22 stabling in the next few days, would be nice to see this fixed.
I'm having the same issue on amd64 with 2.6.22-gentoo-r2. Although it tries to allply the 2.6.19 patch & not the 2.6.22 patch. Any word on when the new patch will be merged into the portage tree? >>> Emerging (1 of 1) net-misc/cisco-vpnclient-3des-4.8.00.0490 to / * vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz RMD160 ;-) ... [ ok ] * vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz SHA1 ;-) ... [ ok ] * vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz SHA256 ;-) ... [ ok ] * vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.22-gentoo-r2MWS1 >>> Unpacking source... >>> Unpacking vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz to /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work * Applying 2.6.19.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient ... make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient modules make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo-r2' CC [M] /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.o In file included from /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/Cniapi.h:15, from /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:27: /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c: In function 'CniInjectReceive': /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:297: warning: implicit declaration of function 'skb_set_timestamp' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:331: error: 'struct sk_buff' has no member named 'nh' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:332: error: 'struct sk_buff' has no member named 'mac' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c: In function 'CniInjectSend': /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:454: error: 'struct sk_buff' has no member named 'mac' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:455: error: 'struct sk_buff' has no member named 'nh' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no member named 'h' /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no member named 'nh' make[2]: *** [/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient/linuxcniapi.o] Error 1 make[1]: *** [_module_/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.00.0490/work/vpnclient] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r2' make: *** [default] Error 2 !!! ERROR: net-misc/cisco-vpnclient-3des-4.8.00.0490 failed. Call stack: ebuild.sh, line 1632: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile cisco-vpnclient-3des-4.8.00.0490.ebuild, line 46: Called die !!! Failed to make module 'cisco_ipsec' Cheers
Change the line "epatch ${FILESDIR}/2.6.19.patch" to read "epatch ${FILESDIR}/2.6.22.patch" in the ebuild (see second attachment in this bug report).
I've updated the "4.8" ebuild and my "lan access" patch to use the "2.6.X" patch from "tuxx-at.de". See http://bugs.gentoo.org/show_bug.cgi?id=182755#c12 for details. Axel
I added the patch for 4.8 and marked it stable. I'm not really sure what I am supposed to be doing with the last attachment. If it belongs in another bug, please put it there.
(In reply to comment #13) > I added the patch for 4.8 and marked it stable. I'm not really sure what I am > supposed to be doing with the last attachment. If it belongs in another bug, > please put it there. Umm, fix the same issue with version 4.7? You want a separate bug opened for same issue with the same package, just a different version?
Technically, yes... but in this case, there's no reason to do so. You've already made me aware of it. I *really* wish I could get rid of the older versions, since I don't have access to them anymore. I've updated the ebuild with a new revision for you to try out. If it doesn't work, file a new bug, please. Thanks.