Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 276686

Summary: net-wireless/wpa_supplicant-0.6.4 does not compile with GCC 4.4.0 with qt4 USE flag
Product: Gentoo Linux Reporter: Dan McGregor <dan.mcgregor>
Component: [OLD] GCC PortingAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED INVALID    
Severity: normal CC: esigra, mobile+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 278355    
Bug Blocks: 249226    

Description Dan McGregor 2009-07-05 23:29:29 UTC
GCC 4.4.0 cleaned up a bunch of its C++ header files.  wpa_supplicant 0.6.4 Qt module uses std::printf for error reporting, and cstdio is not included in the package's include lists.

0.6.9 fixes this problem.

Reproducible: Always

Steps to Reproduce:
1. Unmask & install GCC 4.4.0
2. Add qt4 to your use flags
3. emerge '=net-wireless/wpa_supplicant-0.6.4'



wpa_supplicant 0.6.9 does not have this issue, but it's masked by ~amd64 keyword.  I doubt users would run into this issue if they're with ACCEPT_KEYWORDS=~amd64 or ~x86.
Comment 1 Dan McGregor 2009-07-05 23:34:37 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.0, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Sun, 05 Jul 2009 18:00:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mfpmath=sse -march=core2 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mfpmath=sse -march=core2 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://looking-glass.usask.ca/pub/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en_US en_CA fr fr_ca ga_IE ga"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 arts avahi berkdb branding bzip2 cddb cdr cli cracklib crypt cups curl dbus directfb doc dri dvd esd examples fam fbcon fortran gd gdbm geoip gif gimp gnome gnustep gpm gtk hal handbook iconv icq icu ipv6 isdnlog jadetex java java6 jpeg jpeg2k kde lame latex maildir midi mmap mmx mono mozilla msn mudflap multilib ncurses networkmanager nls nptl nptlonly opengl openmp pam pcre pdf perl png postgres pppd python qt qt4 readline reflection rss samba sdl session spell spl sse sse2 ssl subversion svg sysfs tcpd threads tidy tiff truetype unicode vim-syntax xattr xft xine xinerama xml xorg xpm xscreensaver xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en_CA fr fr_ca ga_IE ga" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vmware nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-07-19 21:09:34 UTC
I've submitted a bugreport regarding getting 0.6.9 stabilized.
Once that has been closed, 0.6.4 will be removed, and this problem will be fixed automatically :-)
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-07-20 05:10:12 UTC
we don't support building stable packages with a packaged.masked GCC.
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-07-25 13:52:31 UTC
wpa_supplicant-0.6.9 has been marked stable, so the problem should no longer exist.