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

Bug 218168

Summary: sci-misc/boinc-5.10.45 missing dependency for wxGTK with USE="-X"
Product: Gentoo Linux Reporter: Florian "adlerweb" Knodt <gentoo-bgz>
Component: Current packagesAssignee: Marcus D. Hanwell (RETIRED) <cryos>
Status: RESOLVED FIXED    
Severity: normal CC: sci
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: complete build log

Description Florian "adlerweb" Knodt 2008-04-17 19:47:44 UTC
If i try to merge boinc-5.10.45 (or sci-misc/boinc-5.10.28) with USE="-X" i get the following errors:

In file included from AccountInfoPage.cpp:24:
stdwx.h:54:55: error: wx/accel.h: No such file or directory
stdwx.h:57:59: error: wx/settings.h: No such file or directory
stdwx.h:61:63: error: wx/bitmap.h: No such file or directory
[...]

stdwx.h is a file from boinc's clientgui-directory, the wx/*-files belong to wxGTK. According to the ebuild wxGTK is only needed with X-support:
X? ( =x11-libs/wxGTK-2.6* )

Reproducible: Always

Steps to Reproduce:
1. emerge sci-misc/boinc-5.10.45 with USE="-X" and missing wxGTK
Actual Results:  
Application tries to build some GUI-Related stuff that depends on wxGTK

Expected Results:  
Do not build GUI-Stuff or depend on wxGTK

Also tested with USE="-*" and FEATURES="-distcc"

emerge --info:
Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Pentium III (Katmai)
Timestamp of tree: Wed, 16 Apr 2008 23:32:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -m32"
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/config"
CONFIG_PROTECT_MASK="/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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en"
MAKEOPTS=" -j5"
PKGDIR="/usr/portage/packages"
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://yotaweb.de/gentoo-portage"
USE="7zip 7zipi aac aalib acl alsa apache2 asterisk bash-completion berkdb bri bzip2 capi cli cracklib crypt cups curl dri encode exif fax fbcon flac fortran ftp gd gdbm gif gpm iconv imap ipv6 isdnlog javascript jpeg lame libclamav lirc midi mmx mp2 mp3 mp4 mudflap musicbrainz mysql mysqli ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pngi ppds pppd python quotas readline real reflection samba session sockets speex spl sqlite sse ssl tcl tcpd threads tiff truetype unicode ups v4l v4l2 vcd vorbis win32codecs winbind x264 x86 xattr xml xorg xv xvid zip 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="igorplugusb" USERLAND="GNU" VIDEO_CARDS="vesa vga cirrus"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian "adlerweb" Knodt 2008-04-17 19:49:00 UTC
Created attachment 150100 [details]
complete build log
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2008-04-18 13:10:14 UTC
Hi Florian,

Thanks much for the note and I will have a look at
the problem.

Best,
Markus
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-04-18 17:59:47 UTC
I think I just fixed this in portage cvs.
At least for me it compiles fine with USE="-X"
and without any wxGTK installed. 
Please give it a try in an hour or so and feel
free to re-open if the issue persists.

best,
Markus
Comment 4 Joshua Jackson (RETIRED) gentoo-dev 2008-04-18 18:05:21 UTC
Marcus,

beat me to it. I was about to say the same thing as I went and checked and saw this bug and went to test it myself.