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

Bug 15083

Summary: wxPython fails with "no method `wxLog::SetLogLevel'"
Product: Gentoo Linux Reporter: Richard Garand <richard>
Component: New packagesAssignee: Nick Hadaway <grandmasterlinux>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Garand 2003-02-03 20:45:33 UTC
Compile ends with: 
 
gcc -DNDEBUG -march=athlon-tbird -m3dnow -O3 -pipe -fomit-frame-pointer -fPIC 
-DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc 
-I/usr/include/python2.2 -c src/gtk/misc2.cpp -o 
build/temp.linux-i686-2.2/src/gtk/misc2.o -I/usr/lib/wx/include/gtk-2.4 
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
src/gtk/misc2.cpp: In function `PyObject* _wrap_wxLog_SetLogLevel(PyObject*, 
   PyObject*, PyObject*)': 
src/gtk/misc2.cpp:5064: no method `wxLog::SetLogLevel' 
src/gtk/misc2.cpp: In function `PyObject* _wrap_wxLog_GetLogLevel(PyObject*, 
   PyObject*, PyObject*)': 
src/gtk/misc2.cpp:5083: no method `wxLog::GetLogLevel' 
error: command 'gcc' failed with exit status 1 
 
!!! ERROR: dev-python/wxPython-2.4.0.2 failed. 
!!! Function src_compile, Line 53, Exitcode 1 
!!! build failed 

Reproducible: Always
Steps to Reproduce:
1. emerge wxPython as part of emerge -u world 
2. try again a few weeks later 
3. see step 2 
Actual Results:  
compilation failed 

Expected Results:  
compiled and installed 

*  x11-libs/wxGTK 
      Latest version available: 2.4.0 
      Latest version installed: 2.4.0 
 
 
 
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r3) 
================================================================= 
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor 
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
http://mirrors.sunsite.dk/gentoo/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 apm cups encode libg++ mikmod nls xmms zlib gtkhtml gdbm berkdb slang 
bonobo svga java guile esd oggvorbis gtk ldap cdr scanner 3dnow mmx X opengl dga 
xv fbcon kde qt qtmt arts -gnome motif tcltk imlib ncurses readline sdl gif jpeg png tiff 
gd avi mpeg quicktime oss ipv6 pam ssl crypt tcpd mozilla mozirc spell truetype xml 
xml2 pdflib tetex perl python libwww lib++ mysql postgres innodb samba doc gpm dvd 
ethereal usb" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -m3dnow -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-tbird -m3dnow -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Nick Hadaway 2003-02-04 05:15:54 UTC
Do you have a logger installed? (metalog, msyslog, or syslog?)
If not then emerge a logger and then re-emerge wxGTK and then wxPython..

As a note "-m3dnow" is not needed... and "-fomit-frame-pointer" sometimes causes troubles...
Comment 2 Richard Garand 2003-02-04 09:44:21 UTC
It still fails without -m3dnow and -fomit-frame-pointer. 
 
*  app-admin/metalog 
      Latest version available: 0.6-r10 
      Latest version installed: 0.6-r10 
 
Comment 3 Richard Garand 2003-02-08 15:50:57 UTC
re-emerging wxGTK fixes the problem. 
Comment 4 Nick Hadaway 2003-02-09 13:56:05 UTC
good to hear :)
Any other underlying changes between the time it was broken and now?
Comment 5 Richard Garand 2003-02-10 01:52:18 UTC
Nothing significant, I think (other than the fact that wxGTK broke spontaneously). I've 
had metalog installed from the start, so I don't know why this would cause a 
problem.