Bug 81338 - xsupplicant doesn't compile
Bug#: 81338 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mobile@gentoo.org Reported By: pieter@vodacom.co.za
Component: Ebuilds
URL: 
Summary: xsupplicant doesn't compile
Keywords:  InCVS
Status Whiteboard: 
Opened: 2005-02-09 01:48 0000
Description:   Opened: 2005-02-09 01:48 0000
xsupplicant doesn't want to compile with the --enable-eap-sim option set. Can
this option be made a USE flag ?

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge xsupplicant
2.
3.

------- Comment #1 From Roland Bär 2005-02-09 02:50:32 0000 -------
The problem is in dependant package pcsc-lite:
*  sys-apps/pcsc-lite :
        [  I] 1.2.0 (0)
        [M~ ] 1.2.9_beta6 (0)
1.2.0 throws the header files in /usr/include
1.2.9_beta6 stores the header files in /usr/include/PCSC => Not found, breaks
So this package should depend on <sys-apps/pcsc-lite-1.2.9 or
pcsc-lite-1.2.9_beta6 should be changed to store in /usr/include or
/usr/include/PCSC should be added here to include path...

As a workaround: emerge =sys-apps/pcsc-lite-1.2.0 

------- Comment #2 From Petr Novak 2005-02-24 02:45:18 0000 -------
I also had problems with compilation (gcc just stopped on one source file,
processor use dropped to zero). This happed both with and without
--enable-eap-sim  option, but disappered after a while for no apparent reason.
Weird.

Anyway, I also didn't quite like the force eap-sim option, maily because it
forces the sys-apps/pcsc-lite dependency. It seems to me, that if the option is
disabled, pcsc-lite can be left out quite fine.

Attaching ebuild that has eap_sim use flag for this.

------- Comment #3 From Petr Novak 2005-02-24 02:46:38 0000 -------
Created an attachment (id=52026) [details]
ebuild with added eap_sim use flag

------- Comment #4 From Petr Novak 2005-02-24 03:08:28 0000 -------
Created an attachment (id=52028) [details]
working ebuild with eap_sim USE flag

configure script didn't react quite well on --disable-eas-sim (make ran
compilation with -DEAP_SIM_ENABLE anyway), so this is a version which doesn't
put anything to the configure command line if the flag is disabled

------- Comment #5 From Oliver Schinagl 2005-09-08 15:49:24 0000 -------
Xsupplicant 1.0.1 doesn't build, the ebulid supplied here however makes it
work.

just a 'bumb' from this end.


annika xsupplicant # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/            
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/         
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/            
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa apm audiofile avi bcmath bindist bitmap-fonts bzlib cairo
calendar cdr cross crypt ctype cups curl curlwrappers dga dio dvb dvd eds
emboss
encode exif fastcgi fbcon fftw foomatic foomaticdb fortran ftp gd gif gnutls
gphoto2 gstreamer gtk gtk2 icq imap imlib imlib2 ipv6 jabber jpeg kerberos
lesstif libwww lirc lzo maildir memlimit mhash mikmod mime mmap mmx mmx2 mng
motif mozilla mp3 ncurses nocd nothemes odbc ogg oggvorbis openal opengl oscar
pam png posix ppds quicktime readline sdl shared sharedmem simplexml slang slp
snmp sockets speex spell sse sse2 ssl svg tcpd theora tidy tiff tokenizer
truetype truetype-fonts type1-fonts unicode usb videos vorbis win32codecs x86
xinerama xml2 xmms xosd xpm xrandr xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #6 From Henrik Brix Andersen 2006-01-13 06:48:54 0000 -------
Fixed in CVS.