Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146177 - 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: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
: 146306 146392 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-03 13:08 UTC by Friedrich Oslage (RETIRED)
Modified: 2006-09-05 07:23 UTC (History)
4 users (show)

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


Attachments
wpa_supplicant-0.5.5-qt4.diff (wpa_supplicant-0.5.5-qt4.diff,2.34 KB, patch)
2006-09-04 05:24 UTC, Horst Schirmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich Oslage (RETIRED) gentoo-dev 2006-09-03 13:08:10 UTC
g++ -c -pipe -march=pentium-m -Os -pipe -Wall -W -D_REENTRANT  -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I.. -I../../hostapd -I.moc -I.ui -o .obj/scanresults.o scanresults.cpp
eventhistory.h:50: error: extra qualification 'EventHistory::' on member 'EventHistory'
scanresults.h:30: error: extra qualification 'ScanResults::' on member 'ScanResults'
make: *** [.obj/eventhistory.o] Error 1
make: *** Waiting for unfinished jobs....
./eventhistory.h:50: error: extra qualification 'EventHistory::' on member 'EventHistory'
wpagui.h:31: error: extra qualification 'WpaGui::' on member 'WpaGui'
networkconfig.h:30: error: extra qualification 'NetworkConfig::' on member 'NetworkConfig'
make: *** [.obj/scanresults.o] Error 1

!!! ERROR: net-wireless/wpa_supplicant-0.5.5 failed.

# emerge --info
Portage 2.1.1_rc1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-ck1-r3 i686)
=================================================================
System uname: 2.6.17-ck1-r3 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.4
Last Sync: Sun, 03 Sep 2006 17:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe"
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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -Os -pipe"
DISTDIR="/tmp/distfiles"
FEATURES="ccache sandbox userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.nyx.hu/gentoo http://gentoo.supp.name/"
LANG=""
LINGUAS="de"
MAKEOPTS="-j2"
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' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acpi alsa asf audacious bash-completion blender-game bluetooth branding browserplugin bzip2 c++ cardbus cdr cdrom cg cgi cli crosscompile csv cups custom-cflags cvs cxx dbus dhcp divx doc dri dvd dvdr dvdread editor elibc_glibc emf epiphany epson ethereal evolution examples fast fat fbcon ffmpeg finger firefox fortran ftp gcj gd gecko-sdk gif gimp gimpprint glade glitz glut gmedia gnome gpm graphviz gsm gtk gtk2 gzip h323 hddtemp html i8x0 icc icp icq ide input_devices_keyboard input_devices_mouse input_devices_synaptics insecure-savers irc irssi javascript jpeg jpeg2k kernel_linux lame linguas_de mad math mbrola md5sum mmx mmxext mng mono mouse mozdevelop mp3 mp4 mp4live mpeg mpeg2 mplayer mssql music mysql mysqlfriends mysqli nat ncurses net network nfs nls no-old-linux nocd nowin nptl nptlonly nsplugin ntfs oci8 offensive office ogg oggvorbis opengl oracle pam pci pcmcia pcre pdf php pic png ppds print qemu-fast qt qt3 qt4 quicktime rar rdesktop readline real reiserfs rss samba screen sdk sdl session sftp sharedmem speech spell sse sse2 ssl stream subversion svg svga svgz symlink sysfs szip tcltk themes tiff tools trusted udev unicode unzip usb userland_GNU utf8 vcd vdr verbose vfat video_cards_i810 videos vidix visual visualization vnc vncviewer voice vorbis widescreen wifi win32codecs wma wma123 wmf wmp x264 xanim xchat xine xml xorg xosd xpm xrandr xscreensaver xv xvid xvmc xvnc yiff zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-09-03 14:19:07 UTC
qt4 support is broken in 0.5.5, so I've removed support for it.
Comment 2 David Li 2006-09-03 17:56:54 UTC
This is really a GCC 4 porting problem. GCC 3 should compile it just fine.
Comment 3 Friedrich Oslage (RETIRED) gentoo-dev 2006-09-03 22:34:43 UTC
(In reply to comment #2)
> This is really a GCC 4 porting problem. GCC 3 should compile it just fine.
> 

Same on my side, gcc 3.4.6 compiles fine, gcc 4.1.1(still) produces that error
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-09-03 23:26:04 UTC
OK, someone want to write a patch then? I don't have QT4 on my system at the moment.
Comment 5 Horst Schirmeier 2006-09-04 05:24:07 UTC
Created attachment 95955 [details, diff]
wpa_supplicant-0.5.5-qt4.diff

compiles with gcc 4.1.1 and both qt3 and qt4, works fine with madwifi-ng-0.9.2 (current ~x86)
Comment 6 Urs Joss 2006-09-04 06:04:35 UTC
I can confirm Horsts patch works also on my box with the same circumstances. Thanks Horst.
Comment 7 Roy Marples (RETIRED) gentoo-dev 2006-09-04 06:37:41 UTC
Thanks for the patch Horst, fixed :)
Comment 8 Horst Schirmeier 2006-09-04 06:40:15 UTC
This was already fixed in upstream after the 0.5.5 release, btw.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-09-04 13:17:00 UTC
*** Bug 146306 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-05 07:23:11 UTC
*** Bug 146392 has been marked as a duplicate of this bug. ***