Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56153 - emerge dev-python/wxpython-2.4.2.4 fails with confusing use flags
Summary: emerge dev-python/wxpython-2.4.2.4 fails with confusing use flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Rob Cakebread (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-05 11:23 UTC by Mark
Modified: 2004-07-05 15:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2004-07-05 11:23:46 UTC
When emerging wxpython an error is generated saying that "either emerge wxGTK without 'gtk2' in your USE flags or emerge wxpython with 'gtk2' in your USE flags."

Doing an USE="-gtk2" emerge wxGTK and then emerge wxpython fails with the same result.

Doing an USE="gtk2" emerge wxPython fails with the same error message

Reproducible: Always
Steps to Reproduce:
1.emerge wxpython-2.4.2.4
2.
3.

Actual Results:  
>>> emerge (1 of 22) dev-python/wxpython-2.4.2.4 to /
>>> md5 src_uri ;-) wxPythonSrc-2.4.2.4.tar.gz
 * You need x11-libs/wxGTK compiled with GTK+1.
 * Either emerge wxGTK without 'gtk2' in your USE flags or
 * emerge wxpython with 'gtk2' in your USE flags.
 
!!! ERROR: dev-python/wxpython-2.4.2.4 failed.
!!! Function pkg_setup, Line 48, Exitcode 0
!!! wxGTK needs to be compiled without gtk2

Expected Results:  
should emerge successfully

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.4.20040619-r0, 2.6.6-rc3)
=================================================================
System uname: 2.6.6-rc3 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt
cups curl dga directfb doc encode esd evo fam fbcon flash foomaticdb freetds gb
gd gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
imagemagic imlib innodb java jikes joystick jpeg junit kde libg++ libgda libwww
mad maildir mcal memlimit mikmod mmx motif mozilla mpeg mysql ncurses nls odbc
oggvorbis opengl oss pam pda pdflib perl plotutils png postgres ppds prelude
python qt quicktime readline samba scanner sdi sdl slang slp spell ssl svga tcpd
tetex tiff truetype unicode usb videos wmf wxwindows x86 xml xml2 xmms xv zeo zlib"
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2004-07-05 14:48:18 UTC
I'll look at this.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2004-07-05 15:03:38 UTC
This:
 * emerge wxpython with 'gtk2' in your USE flags.

Should have read:
 * emerge wxpython with '-gtk2' in your USE flags.

Fixed in CVS. 
So just make sure you compile both wxGTK and wxPython with 'gtk2' or '-gtk2'.