Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197029 - net-misc/vpnc-0.5.1 fails to compile
Summary: net-misc/vpnc-0.5.1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 13:02 UTC by inode77
Modified: 2008-03-10 13:50 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description inode77 2007-10-25 13:02:15 UTC
emerge --oneshot vpnc
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-misc/vpnc-0.5.1 to /
 * vpnc-0.5.1.tar.gz RMD160 ;-) ...                                                                                     [ ok ]
 * vpnc-0.5.1.tar.gz SHA1 ;-) ...                                                                                       [ ok ]
 * vpnc-0.5.1.tar.gz SHA256 ;-) ...                                                                                     [ ok ]
 * vpnc-0.5.1.tar.gz size ;-) ...                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                  [ ok ]
 * checking vpnc-0.5.1.tar.gz ;-) ...                                                                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.22-gentoo-r8/build
 * Found sources for kernel version:
 *     2.6.22-gentoo-r8
 * Checking for suitable kernel configuration options...                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking vpnc-0.5.1.tar.gz to /var/tmp/portage/net-misc/vpnc-0.5.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/vpnc-0.5.1/work/vpnc-0.5.1 ...
perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h
gcc -MM sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c vpnc.c cisco-decrypt.c -march=pentium-m -Os -msse3 -pipe -W -Wall -Wmissing-declarations -Wwrite-strings    -DVERSION=\"0.5.1\" -DOPENSSL_GPL_VIOLATION > .depend
gcc -march=pentium-m -Os -msse3 -pipe -W -Wall -Wmissing-declarations -Wwrite-strings    -DVERSION=\"0.5.1\" -DOPENSSL_GPL_VIOLATION  -c -o sysdep.o sysdep.c
gcc -march=pentium-m -Os -msse3 -pipe -W -Wall -Wmissing-declarations -Wwrite-strings    -DVERSION=\"0.5.1\" -DOPENSSL_GPL_VIOLATION  -c -o vpnc-debug.o vpnc-debug.c
gcc -march=pentium-m -Os -msse3 -pipe -W -Wall -Wmissing-declarations -Wwrite-strings    -DVERSION=\"0.5.1\" -DOPENSSL_GPL_VIOLATION  -c -o isakmp-pkt.o isakmp-pkt.c
In file included from config.h:27,
                 from sysdep.h:31,
                 from sysdep.c:71:
vpnc-debug.h:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
vpnc-debug.h:15: warning: 'struct debug_strings' declared inside parameter list
vpnc-debug.h:15: warning: its scope is only this definition or declaration, which is probably not what you want
vpnc-debug.h:17: error: array type has incomplete element type
vpnc-debug.h:18: error: array type has incomplete element type
vpnc-debug.h:19: error: array type has incomplete element type
vpnc-debug.h:20: error: array type has incomplete element type
vpnc-debug.h:21: error: array type has incomplete element type
vpnc-debug.h:22: error: array type has incomplete element type
vpnc-debug.h:23: error: array type has incomplete element type
vpnc-debug.h:24: error: array type has incomplete element type
vpnc-debug.h:25: error: array type has incomplete element type
vpnc-debug.h:26: error: array type has incomplete element type
vpnc-debug.h:27: error: array type has incomplete element type
vpnc-debug.h:28: error: array type has incomplete element type
vpnc-debug.h:29: error: array type has incomplete element type
vpnc-debug.h:30: error: array type has incomplete element type
vpnc-debug.h:31: error: array type has incomplete element type
vpnc-debug.h:32: error: array type has incomplete element type
vpnc-debug.h:33: error: array type has incomplete element type
vpnc-debug.h:34: error: array type has incomplete element type
vpnc-debug.h:35: error: array type has incomplete element type
vpnc-debug.h:36: error: array type has incomplete element type
vpnc-debug.h:37: error: array type has incomplete element type
vpnc-debug.h:38: error: array type has incomplete element type
vpnc-debug.h:39: error: array type has incomplete element type
vpnc-debug.h:40: error: array type has incomplete element type
vpnc-debug.h:41: error: array type has incomplete element type
In file included from vpnc-debug.c:5:
vpnc-debug.h:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
vpnc-debug.h:15: warning: 'struct debug_strings' declared inside parameter list
vpnc-debug.h:15: warning: its scope is only this definition or declaration, which is probably not what you want
vpnc-debug.h:17: error: array type has incomplete element type
vpnc-debug.h:18: error: array type has incomplete element type
vpnc-debug.h:19: error: array type has incomplete element type
vpnc-debug.h:20: error: array type has incomplete element type
vpnc-debug.h:21: error: array type has incomplete element type
vpnc-debug.h:22: error: array type has incomplete element type
vpnc-debug.h:23: error: array type has incomplete element type
vpnc-debug.h:24: error: array type has incomplete element type
vpnc-debug.h:25: error: array type has incomplete element type
vpnc-debug.h:26: error: array type has incomplete element type
vpnc-debug.h:27: error: array type has incomplete element type
vpnc-debug.h:28: error: array type has incomplete element type
vpnc-debug.h:29: error: array type has incomplete element type
vpnc-debug.h:30: error: array type has incomplete element type
vpnc-debug.h:31: error: array type has incomplete element type
vpnc-debug.h:32: error: array type has incomplete element type
vpnc-debug.h:33: error: array type has incomplete element type
vpnc-debug.h:34: error: array type has incomplete element type
vpnc-debug.h:35: error: array type has incomplete element type
vpnc-debug.h:36: error: array type has incomplete element type
vpnc-debug.h:37: error: array type has incomplete element type
vpnc-debug.h:38: error: array type has incomplete element type
vpnc-debug.h:39: error: array type has incomplete element type
vpnc-debug.h:40: error: array type has incomplete element type
vpnc-debug.h:41: error: array type has incomplete element type
vpnc-debug.c:9: error: conflicting types for 'val_to_string'
vpnc-debug.h:15: error: previous declaration of 'val_to_string' was here
vpnc-debug.c: In function 'val_to_string':
vpnc-debug.c:17: error: invalid use of undefined type 'struct debug_strings'
vpnc-debug.c:17: error: dereferencing pointer to incomplete type
vpnc-debug.c:17: error: invalid use of undefined type 'struct debug_strings'
vpnc-debug.c:17: error: dereferencing pointer to incomplete type
vpnc-debug.c:18: error: invalid use of undefined type 'struct debug_strings'
vpnc-debug.c:18: error: dereferencing pointer to incomplete type
vpnc-debug.c:19: error: invalid use of undefined type 'struct debug_strings'
vpnc-debug.c:19: error: dereferencing pointer to incomplete type
vpnc-debug.c: At top level:
vpnc-debug.c:23: error: array type has incomplete element type
vpnc-debug.c:51: error: array type has incomplete element type
vpnc-debug.c:64: error: array type has incomplete element type
vpnc-debug.c:70: error: array type has incomplete element type
vpnc-debug.c:117: error: array type has incomplete element type
vpnc-debug.c:132: error: array type has incomplete element type
vpnc-debug.c:153: error: array type has incomplete element type
vpnc-debug.c:165: error: array type has incomplete element type
vpnc-debug.c:175: error: array type has incomplete element type
vpnc-debug.c:201: error: array type has incomplete element type
vpnc-debug.c:218: error: array type has incomplete element type
vpnc-debug.c:225: error: array type has incomplete element type
vpnc-debug.c:231: error: array type has incomplete element type
vpnc-debug.c:238: error: array type has incomplete element type
vpnc-debug.c:254: error: array type has incomplete element type
vpnc-debug.c:264: error: array type has incomplete element type
vpnc-debug.c:270: error: array type has incomplete element type
vpnc-debug.c:282: error: array type has incomplete element type
vpnc-debug.c:305: error: array type has incomplete element type
vpnc-debug.c:319: error: array type has incomplete element type
vpnc-debug.c:328: error: array type has incomplete element type
vpnc-debug.c:334: error: array type has incomplete element type
vpnc-debug.c:344: error: array type has incomplete element type
vpnc-debug.c:352: error: array type has incomplete element type
vpnc-debug.c:360: error: array type has incomplete element type
In file included from config.h:27,
                 from sysdep.h:31,
                 from isakmp-pkt.c:28:
vpnc-debug.h:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
vpnc-debug.h:15: warning: 'struct debug_strings' declared inside parameter list
vpnc-debug.h:15: warning: its scope is only this definition or declaration, which is probably not what you want
vpnc-debug.h:17: error: array type has incomplete element type
vpnc-debug.h:18: error: array type has incomplete element type
vpnc-debug.h:19: error: array type has incomplete element type
vpnc-debug.h:20: error: array type has incomplete element type
vpnc-debug.h:21: error: array type has incomplete element type
vpnc-debug.h:22: error: array type has incomplete element type
vpnc-debug.h:23: error: array type has incomplete element type
vpnc-debug.h:24: error: array type has incomplete element type
vpnc-debug.h:25: error: array type has incomplete element type
vpnc-debug.h:26: error: array type has incomplete element type
vpnc-debug.h:27: error: array type has incomplete element type
vpnc-debug.h:28: error: array type has incomplete element type
vpnc-debug.h:29: error: array type has incomplete element type
vpnc-debug.h:30: error: array type has incomplete element type
vpnc-debug.h:31: error: array type has incomplete element type
vpnc-debug.h:32: error: array type has incomplete element type
vpnc-debug.h:33: error: array type has incomplete element type
vpnc-debug.h:34: error: array type has incomplete element type
vpnc-debug.h:35: error: array type has incomplete element type
vpnc-debug.h:36: error: array type has incomplete element type
vpnc-debug.h:37: error: array type has incomplete element type
vpnc-debug.h:38: error: array type has incomplete element type
vpnc-debug.h:39: error: array type has incomplete element type
vpnc-debug.h:40: error: array type has incomplete element type
vpnc-debug.h:41: error: array type has incomplete element type
make: *** [sysdep.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [vpnc-debug.o] Error 1
make: *** [isakmp-pkt.o] Error 1
make: *** wait: No child processes.  Stop.
 * 
 * ERROR: net-misc/vpnc-0.5.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   vpnc-0.5.1.ebuild, line 40:   Called die
 * 
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/vpnc-0.5.1/temp/build.log'.

Reproducible: Always

Steps to Reproduce:
1. emerge vpnc
2.
3.




emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Genuine Intel(R) CPU T2600 @ 2.16GHz
Timestamp of tree: Thu, 25 Oct 2007 06:50:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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 /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -Os -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distcc distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo ccache cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread encode evo expat fam firefox gdbm gif gpm gstreamer gtk hal iconv idn ipv6 java jpeg kerberos lcms ldap libnotify logrotate mad midi mikmod mmap mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png python qt3support qt4 quicktime readline reflection samba sdl session snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs wmf x86 xml xorg xosd xscreensaver xv zlib" ALSA_CARDS="snd-hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse ps2mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-25 17:51:57 UTC
Please attach the contents of your vpnc-debug.h and vpnc-debug.c files that are generated in your ${S} directory (usually /var/tmp/portage/net-misc/vpnc-0.5.1/work/vpnc-0.5.1/)
Comment 2 inode77 2007-10-26 09:32:05 UTC
Shame on me!
Got an illegal locale definition => perl warnings in header file => no compilation due to illegal headerfile content.

Sorry!!!
Comment 3 Sebastian Stammler 2008-03-10 13:50:19 UTC
(In reply to comment #2)
> Shame on me!
> Got an illegal locale definition => perl warnings in header file => no
> compilation due to illegal headerfile content.
> 
> Sorry!!!
> 

I get the same on 0.5.1-r1
But I don't understand the resolution you described above :)
Please explain me what I'm doing wrong.