Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153732 - net-wireless/wpa_supplicant-0.5.5 fails to compile
Summary: net-wireless/wpa_supplicant-0.5.5 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 11:48 UTC by Christian Heim (RETIRED)
Modified: 2006-11-02 13:52 UTC (History)
2 users (show)

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


Attachments
wpa_supplicant-0.5.5-compile.log (wpa_supplicant-0.5.5-compile.log,28.71 KB, text/plain)
2006-11-01 11:49 UTC, Christian Heim (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Heim (RETIRED) gentoo-dev 2006-11-01 11:48:37 UTC
$ emerge --info

Portage 2.1.2_rc1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.13.0_alpha4
Last Sync: Wed, 01 Nov 2006 14:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -ggdb"
CHOST="i686-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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg collision-protect cvs distlocks metadata-transfer nostrip sandbox sfperms sign splitdebug strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/Mirrors/gentoo http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/locale /usr/share/l18n /usr/share/info /usr/lib/debug /usr/share/doc/HTML"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,--as-needed -Wl,-z,now -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/i686-linux-gnu-~x86"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/overlays/dev/phreak/gentoo"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="x86 X aac alsa arts berkdb bzip2 cracklib dbus dlloader dri elibc_glibc encode flac gif hal iconv input_devices_keyboard input_devices_mouse jpeg kde kernel_linux mad mikmod mp3 mpeg ncurses nptl nptlonly ogg opengl oss pam pcre perl png python qt3 readline spell ssl truetype truetype-fonts udev userland_GNU video_cards_radeon vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LINGUAS

Neither using LDFLAGS="" nor MAKEOPTS=-j1 fixed it.

$ emerge -pv wpa_supplicant

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/wpa_supplicant-0.5.5  USE="readline ssl -dbus -gsm -madwifi -qt3 -qt4" 0 kB

Total size of downloads: 0 kB
Comment 1 Christian Heim (RETIRED) gentoo-dev 2006-11-01 11:49:09 UTC
Created attachment 100990 [details]
wpa_supplicant-0.5.5-compile.log
Comment 2 Ygor Lemos 2006-11-01 12:08:46 UTC
Same problem on Gentoo 2006.1 with kernel 2.6.18-gentoo-r1.

Seems that wpa_supplicant has problems to find the driver_hermes.o which actually I don`t even need on compilation time.

Please check if the build compiles ok on another environments. I`ve tryed on 3 machines and get fail on all of them.

The version 0.5.4 compiles OK without any errors.

Please change this bug to severity MAJOR!!

thanks
Comment 3 Christian Heim (RETIRED) gentoo-dev 2006-11-01 12:48:24 UTC
(In reply to comment #2)
> Same problem on Gentoo 2006.1 with kernel 2.6.18-gentoo-r1.
> 
> Seems that wpa_supplicant has problems to find the driver_hermes.o which
> actually I don`t even need on compilation time.
> 
> Please check if the build compiles ok on another environments. I`ve tryed on 3
> machines and get fail on all of them.
> 
> The version 0.5.4 compiles OK without any errors.
> 
> Please change this bug to severity MAJOR!!
> 
> thanks

Applying this diff to the ebuild fixed it for me:

$ cvs diff wpa_supplicant-0.5.5.ebuild
Index: wpa_supplicant-0.5.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.5.ebuild,v
retrieving revision 1.9
diff -u -b -B -r1.9 wpa_supplicant-0.5.5.ebuild
--- wpa_supplicant-0.5.5.ebuild 1 Nov 2006 08:20:50 -0000       1.9
+++ wpa_supplicant-0.5.5.ebuild 1 Nov 2006 20:47:26 -0000
@@ -103,8 +103,8 @@
        if use kernel_linux ; then
                # Linux specific drivers
                echo "CONFIG_DRIVER_ATMEL=y"       >> .config
-               echo "CONFIG_DRIVER_BROADCOM=y"    >> .config
-               echo "CONFIG_DRIVER_HERMES=y"      >> .config
+#              echo "CONFIG_DRIVER_BROADCOM=y"    >> .config
+#              echo "CONFIG_DRIVER_HERMES=y"      >> .config
                echo "CONFIG_DRIVER_HOSTAP=y"      >> .config
                echo "CONFIG_DRIVER_IPW=y"         >> .config
                echo "CONFIG_DRIVER_NDISWRAPPER=y" >> .config
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-11-01 14:05:21 UTC
Fixed.
Comment 5 Ygor Lemos 2006-11-02 13:47:39 UTC
Did you guys fixed the ebuild or do I need to apply the patch?
Comment 6 Roy Marples (RETIRED) gentoo-dev 2006-11-02 13:52:47 UTC
The ebuilds been fixed - maybe you need to resync?