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

Bug 265697

Summary: app-admin/conky-1.6.1 "wifi" USE flag not building wireless
Product: Gentoo Linux Reporter: ChazeFroy <chazefroy>
Component: New packagesAssignee: David Shakaryan (RETIRED) <omp>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aparicio99, brenden, chaujc, dragonheart, francoisvalenduc, pier_carla
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: configure lines for conky

Description ChazeFroy 2009-04-10 20:27:44 UTC
Setting the "wifi" USE flag with app-admin/conky-1.6.1 fails to tell conky to compile with wireless support.


lizzle ~ # emerge -pv conky

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

Calculating dependencies... done!
[ebuild   R   ] app-admin/conky-1.6.1  USE="X hddtemp ipv6 nvidia wifi -audacious (-bmpx) -debug -mpd -nano-syntax -rss -smapi -truetype -vim-syntax" 0 kB


Results from an "emerge =conky-1.6.1", cut for brevity:

conky 1.6.1 configured successfully:

 Installing into:   /usr
 System config dir: /etc
 C compiler flags:  -O2 -march=nocona -pipe       -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2              .0/include   -Wall -W
 Linker flags:      -Wl,-O1 -Wl,-O1
 Libraries:         -lrt  -lm  -lX11   -lXext   -lXdamage -lXfixes   -lXft -lXrender -lfontconfig -lfreetype -lz -lX11                 -lglib-2.0  

 * X11:
  X11 support:      yes
  XDamage support:  yes
  XDBE support:     yes
  Xft support:      yes

 * Music detection:
  Audacious:        no
  BMPx:             no
  MPD:              yes
  XMMS2:            no

 * General:
  math:             yes
  hddtemp:          yes
  portmon:          yes
  RSS:              no
  wireless:         no
  SMAPI:            no
  nvidia:           no
  eve-online:       no
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-admin/conky-1.6.1/work/conky-1.6.1 ...

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-10 23:25:43 UTC
emerge --info would be nice. thx
Comment 2 François Valenduc 2009-04-11 12:45:05 UTC
I notice the same problem. The output of emerge --info is the following:

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29.1 x86_64)
=================================================================
System uname: Linux-2.6.29.1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5
Timestamp of tree: Wed, 08 Apr 2009 16:30:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
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 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ "
LANG="fr_BE.UTF-8"
LC_ALL="fr_BE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts berkdb bluetooth branding bzip2 cairo caps cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdeprefix kerberos kpathsea libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tetex tiff truetype unicode usb v4l2 vorbis xcb xml xorg xosd xulrunner xv 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="mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" LIRC_DEVICES="alsa_usb" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Brenden Matthews 2009-04-12 17:59:57 UTC
Can you paste the ./configure line please?

Also, I have heard of this problem before, but it worksforme so not really sure what to do aboot it.
Comment 4 François Valenduc 2009-04-12 18:49:58 UTC
Created attachment 188113 [details]
configure lines for conky

I have put the output of the configure lines in the attached file.
Comment 5 pier 2009-04-13 13:56:55 UTC
Confirm the same here:

localhost ~ # emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.
6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.4
0GHz-with-glibc2.0
Timestamp of tree: Mon, 13 Apr 2009 09:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gcon
f /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/languag
e.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfpe
rms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://distfiles.gentoo.org http://gentoo.cites.uiuc.edu/pub/ge
ntoo/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ ftp://trumpe
tti.atm.tut.fi/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
MAKEOPTS="-j3"
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 --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl aiglx alsa amr apache2 apm arts avi berkdb bluetooth bz
ip2 cairo caps ccache cddb cdparanoia cdr cdrom cli cracklib crypt css cups curl
 dga directfb dri dvd dvdr dvdread encode expat fbcon fbdev ffmpeg fortran gdbm 
gif gimpprint glitz glut glx gpm gs gtk hddtemp httpd iconv ipv6 isdnlog java jp
eg libwww lm_sensors logitech-mouse mad midi mp3 mpeg mplayer mudflap mysql ncur
ses nls nptl nptlonly nsplugin objc objc++ objc-gc ogg oggvorbis openal opengl o
penmp oss pam pcre perl png postscript ppds pppd python quicktime readline refle
ction reiserfs samba scanner sensord session slang sound sox spl ssl stream svg 
svga sysfs tcltk tcpd tetex tiff tk unicode usb v4l v4l2 vcd vesa vidix vorbis w
avpack wifi win32codecs wma wma123 wmf wxwindows x264 x86 xorg xplanet xulrunner
 xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmi
x dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear mete
r 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_f
ile authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user au
toindex 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_magi
c negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_
alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linu
x" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
 text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A
LL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Brenden Matthews 2009-04-14 02:52:03 UTC
Well, assuming this is right:

./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

...then it's not even passing the option to enable the wireless stuff to the configure script.  That, and there is nothing in the configure output to suggest that it is checking for iwlib.  You should be seeing "checking for iwlib.h... yes" and such.

The ebuild has:

    econf \
        $(use_enable wifi wlan) \

which is correct afaik (--enable-wlan is the configure option needed).
Comment 7 ChazeFroy 2009-04-14 14:51:49 UTC
app-admin/conky-1.7.0_rc1 properly builds wifi support if the "wifi" USE flag is enabled.  I have been running it for a few days and it is quite stable.
Comment 8 pier 2009-04-14 16:18:32 UTC
(In reply to comment #7)
> app-admin/conky-1.7.0_rc1 properly builds wifi support if the "wifi" USE flag
> is enabled.  I have been running it for a few days and it is quite stable.
> 

Yes, unmasking app-admin/conky and emerging app-admin/conky-1.7.0_rc1 solved here too.
Comment 9 Aparicio 2009-04-18 20:25:04 UTC
I have this problem after i reemerge the whole system.

emerge --info:
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r10-i686-Intel-R-_Pentium-R-_Dual_CPU_T3200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Sat, 18 Apr 2009 16:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo/gentoo-distfiles/ 		http://darkstar.ist.utl.pt/gentoo/  		http://ftp.dei.uc.pt/pub/linux/gentoo/ 		http://cesium.di.uminho.pt/pub/gentoo/"
LANG="pt_PT.UTF-8"
LC_ALL="pt_PT.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb dri dvd dvdr dvdread eds emboss encode esd evo fam fbcon firefox fortran gdbm gif gpm gstreamer gtk hal iconv imagemagick ipv6 isdnlog java jpeg ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xcb xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse synaptics ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Zsolt Foldvari 2009-05-06 13:21:43 UTC
I guess the first src_compile() function should src_configure() instead.
Comment 11 François Valenduc 2009-05-06 16:51:31 UTC
Indeed, replacing the first src_compile by src_configure fixed the problem.
Thanks for your help.
Comment 12 Jimmy C. Chau 2009-05-10 22:48:29 UTC
I too got this problem while re-emerging the whole system (did not happen during an upgrade).  Perhaps this was caused by a change made without a version bump.  It worked fined before I re-emerged the whole system.  

(In reply to comment #9)
> I have this problem after i reemerge the whole system.
> 
Comment 13 Daniel Pielmeier gentoo-dev 2009-07-11 10:09:44 UTC

*** This bug has been marked as a duplicate of bug 262866 ***