Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402717 - net-misc/cisco-vpnclient-3des-4.8.01.0640 with gentoo-sources-3.2.1-r2 - work/vpnclient/linuxcniapi.c:14:28: fatal error: linux/autoconf.h: No such file or directory
Summary: net-misc/cisco-vpnclient-3des-4.8.01.0640 with gentoo-sources-3.2.1-r2 - work...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 234361
Blocks:
  Show dependency tree
 
Reported: 2012-02-08 15:50 UTC by urcindalo
Modified: 2012-02-12 11:11 UTC (History)
0 users

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


Attachments
autoconf.patch (autoconf.patch,1.87 KB, text/plain)
2012-02-09 08:06 UTC, Ján Bednár
Details

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2012-02-08 15:50:35 UTC
Whenever I try to install any of the available cisco vpn client versions (net-misc/cisco-vpnclient-3des in the tree or cisco-vpnclient from the wolf31o2 overlay) I get this error:
=====
>>> Emerging (1 of 1) net-misc/cisco-vpnclient-3des-4.8.01.0640
 * vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                        [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.2.1-gentoo-r2/build
 * Found sources for kernel version:
 *     3.2.1-gentoo-r2
>>> Unpacking source...
>>> Unpacking vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz to /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work
 * Applying 4.8.01.0640-amd64.patch ...                                                                                                                [ ok ]
 * Applying 4.8.01.0640-2.6.24.patch ...                                                                                                               [ ok ]
>>> Source unpacked in /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work
>>> Compiling source in /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient ...
ln: failed to create symbolic link `Module.symvers': File exists
 * Preparing cisco_ipsec module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' clean default 
rm -f linuxcniapi.o frag.o IPSecDrvOS_linux.o interceptor.o linuxkernelapi.o
make -C /lib/modules/3.2.1-gentoo-r2/build SUBDIRS=/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient modules
rm -f cisco_ipsec.mod.*
rm -f cisco_ipsec.{o,ko}
make[1]: Entering directory `/usr/src/linux-3.2.1-gentoo-r2'
  CC [M]  /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/linuxcniapi.o
  CC [M]  /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/frag.o                                                                    
  CC [M]  /var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/IPSecDrvOS_linux.o                                                        
/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/linuxcniapi.c:14:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/linuxcniapi.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/IPSecDrvOS_linux.c:16:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/frag.c:3:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/IPSecDrvOS_linux.o] Error 1
make[2]: *** [/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient/frag.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-misc/cisco-vpnclient-3des-4.8.01.0640/work/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-3.2.1-gentoo-r2'
make: *** [default] Error 2
emake failed
 * ERROR: net-misc/cisco-vpnclient-3des-4.8.01.0640 failed (compile phase):
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64   clean default
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3179:  Called linux-mod_src_compile
 *   environment, line 2398:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CROSS_COMPILE=${CHOST}-                              LDFLAGS=\"$(get_abi_LDFLAGS)\"                                           ${BUILD_FIXES}                                          ${BUILD_PARAMS}              ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *
=====

Reproducible: Always




Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_Athlon-tm-_X2_Dual-Core_QL-65-with-gentoo-2.0.3
Timestamp of tree: Wed, 08 Feb 2012 15:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: science wolf31o2 x-local gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -mtune=athlon64-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64-sse3 -mtune=athlon64-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es en_US en"
MAKEOPTS="-j3"                                                                                                                                                
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="/var/lib/layman/science /var/lib/layman/wolf31o2 /usr/portage/local /usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi additions adns ads aften aim aio akonadi alsa amd64 apbs apm arpack ass async atm audio audiofile autoipd autotrace avahi bash-completion battery bcmath beagle berkdb bidi binary-drivers binfilter blas bluetooth branding bzip2 cairo caps cdda cddb cdr cgi charconv chasen chm clamav cleartype cli client-only clisp cmake compat consolekit context contrib cracklib crypt css cups curl custom-optimization cvs cxx daemon dbus declarative desktopglobe detex dga dhcpcd dia dirac directfb dosformat dri dts dv dvd dvdr dvi dvi2tty dvipdfm eap-sim editor emboss emf emovix encode exif extra fam fat fbcon ffmpeg fftw firefox firefox3 flac fltk fontconfig foomaticdb fortran ftp fuse gallium gcj gdbm gdu geoip geolocation gif gimp ginac gnome-keyring gnuplot gphoto2 gpm gps graphics graphviz grub gsl gtk gtkhtml gzip hddtemp hdri hfs hpcups hpijs iconv icu idn imagemagick imap imlib ioctl ipv6 jack jadetex java java6 javascript jce jpeg jpeg2k justify kate kde kipi lame lapack laptop lasi latex latex3 lcms ldap lensfun libass libcaca libnotify libv4l libv4l2 libwww live lm_sensors logrotate lqr lzma lzo mad madwifi maildir mailwrapper matroska matrox mbox mcve mdnsresponder-compat mediawiki memlimit metric mime mjpeg mmap mmx mmxext mng modplug modules mono mopac7 motif mp3 mp4 mpeg mpi mplayer msn mtp mudflap multilib musepack nas ncurses network networkmanager nforce2 nls npp nptl nptlonly nsplugin ntfs ntfsprogs numpy octave ods ogg omega opal openal openbabel openexr opengl openmp osc oscar osdmenu oss pam pango pcre pdf phonon pkcs11 plasma plotutils pm-utils pmu png policykit portaudio posix povray ppds ppm ppp ps psf pstoedit pstricks publishers pvr pymol qt3support qt4 quicktime rar raster raw rdesktop readline recode redeyes reiser4 reiserfs remote remoteosd rss rtc rtsp ruby samba sasl scanner schroedinger science sdl sdl-image semantic-desktop session shaders sharedmem shorten simplexml skins skype slang slp smartcard smp snmp sockets solver sox spell sse sse2 ssl startup-notification stats stream subtitles subversion svg sysfs syslog szip taglib tcl tcpd tex4ht tga theora threads thumbnail thumbnails tidy tiff tk transcode truetype twolame type3 udev udev-acl unicode upnp usb userlocales v4l v4l2 vcd video vlm vmd vnc vorbis wavpack webinterface wifi winbind winpopup wma wma-fixed wmf wpg wps wxwidgets x264 xattr xcb xcomposite xetex xfs xft xindy xine xinerama xls xml xorg xosd xplanet xpm xscreensaver xulrunner xv xvid yahoo zeroconf zip zlib zvbi" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en_US en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2 hp" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2012-02-08 20:05:40 UTC
For several versions now, it's been generated/autoconf.h, not linux/autoconf.h.
Comment 2 Ján Bednár 2012-02-09 08:06:28 UTC
Created attachment 301349 [details]
autoconf.patch

This is autoconf.patch from my local overlay. I've downloaded it from somewhere. Right now can't remember where I found it.

Anyway, It's working for me against my local =net-misc/cisco-vpnclient-3des-4.8.02.0030.
Comment 3 urcindalo 2012-02-09 09:03:26 UTC
(In reply to comment #2)
> Created attachment 301349 [details]
> autoconf.patch
> 
> This is autoconf.patch from my local overlay. I've downloaded it from
> somewhere. Right now can't remember where I found it.
> 
> Anyway, It's working for me against my local
> =net-misc/cisco-vpnclient-3des-4.8.02.0030.

Thanks very much for your help. I have been able to compile it remotely. I'll test it when I get home this evening.

By the way, I ended up installing the net-misc/cisco-vpnclient-3des-4.8.02.0030 ebuild from the jtriley overlay, which happened to have the autoconf patch already included.
Comment 4 Rafał Mużyło 2012-02-09 14:17:12 UTC
Well, the patch from comment 2 is obviously incorrect - it works only cause you're using a kernel that *has* generated/autoconf.h.

Still, if it works, a version with correct version check should be added to the ebuild (that is if there are no plans for treecleaners).
Comment 5 Pacho Ramos gentoo-dev 2012-02-12 11:11:26 UTC
+*cisco-vpnclient-3des-4.8.02.0030 (12 Feb 2012)
+
+  12 Feb 2012; Pacho Ramos <pacho@gentoo.org>
+  +cisco-vpnclient-3des-4.8.02.0030.ebuild, +files/4.8.02.0030-GenDefs.h.patch,
+  +files/4.8.02.0030-Makefile.patch, +files/4.8.02.0030-autoconf.patch,
+  +files/4.8.02.0030-frag.c.patch, +files/4.8.02.0030-interceptor.c.patch,
+  +files/4.8.02.0030-linuxcniapi.c.patch,
+  +files/4.8.02.0030-linuxcniapi.h.patch,
+  +files/4.8.02.0030-linuxkernelapi.c.patch,
+  -cisco-vpnclient-3des-4.8.01.0640.ebuild:
+  Version bump, thanks a lot to  Rolando J. Zappacosta, Andreas Simon, Andrea
+  Postiglione, Matthew Schultz, JTRiley. Drop old.
+