Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37538 - dev-python/wxPython-2.4.2.4 failed
Summary: dev-python/wxPython-2.4.2.4 failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-07 16:14 UTC by Dietrich Heise
Modified: 2004-07-20 08:54 UTC (History)
0 users

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


Attachments
a log from emerge (typescript,29.60 KB, text/plain)
2004-02-17 13:21 UTC, Dietrich Heise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dietrich Heise 2004-01-07 16:14:44 UTC
gcc -fno-strict-aliasing -DNDEBUG -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.3 -c src/gtk/controls2.cpp -o build-gtk2/temp.linux-i686-2.3/src/gtk/controls2.o -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
src/gtk/controls2.cpp: In function `PyObject* 
   _wrap_wxTreeEvent_SetItem(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6390: error: `SetItem' undeclared (first use this 
   function)
src/gtk/controls2.cpp:6390: error: (Each undeclared identifier is reported only 
   once for each function it appears in.)
src/gtk/controls2.cpp: In function `PyObject* 
   _wrap_wxTreeEvent_SetOldItem(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6426: error: `SetOldItem' undeclared (first use this 
   function)
src/gtk/controls2.cpp: In function `PyObject* 
   _wrap_wxTreeEvent_SetPoint(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6462: error: `SetPoint' undeclared (first use this 
   function)
src/gtk/controls2.cpp: In function `PyObject* 
   _wrap_wxTreeEvent_SetKeyEvent(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6498: error: `SetKeyEvent' undeclared (first use this 
   function)
src/gtk/controls2.cpp: In function `PyObject* 
   _wrap_wxTreeEvent_SetLabel(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6533: error: `SetLabel' undeclared (first use this 
   function)
src/gtk/controls2.cpp: In function `PyObject* 
   _wrap_wxTreeEvent_SetEditCanceled(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6568: error: `SetEditCanceled' undeclared (first use this 
   function)
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/wxPython-2.4.2.4 failed.
!!! Function src_compile, Line 85, Exitcode 1
!!! build failed
Comment 1 Dietrich Heise 2004-01-07 16:15:26 UTC
didi root # emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.24)
=================================================================
System uname: 2.4.24 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.3.12
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://intern.gate.wg/ http://intern.gate.wg/olddistfiles ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.inode.at/ http://gentoo.linux.no/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gentoo.inode.at/source/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb dvd dvdr encode esd fbcon foomaticdb gd gd-external gdbm ggi gif gnome gpg gphoto2 gpm gtk gtk2 gtkhtml guile imlib jpeg kde libg++ libwww lirc mad matroska mikmod mozilla mpeg mysql ncures ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype vorbis x86 xml2 xmms xv zlib"
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2004-01-20 13:10:48 UTC
Did you install wxGTK manually or use the portage version?
Comment 3 Dietrich Heise 2004-01-20 16:24:56 UTC
only the portage version
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-01-24 04:02:20 UTC
can you try using some lower cflags, like removing all the -D and -mcpu fields?
Comment 5 Dietrich Heise 2004-01-24 15:43:29 UTC
nope, same problem with

CFLAGS="-march=athlon-xp -O2 -pipe"

:-/
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-02-14 03:02:01 UTC
can you please attach the full build log? thanks
Comment 7 Dietrich Heise 2004-02-17 13:21:33 UTC
Created attachment 25798 [details]
a log from emerge
Comment 8 Tom Myers 2004-02-28 10:15:22 UTC
I got this same error with version 2.4.1.2. Maybe this additional info helps.

gcc -fno-strict-aliasing -DNDEBUG -march=athlon -O3 -pipe -fomit-frame-pointer -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.3 -c src/gtk/controls2.cpp -o build-gtk2/temp.linux-i686-2.3/src/gtk/controls2.o -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
src/gtk/controls2.cpp: In function `PyObject*
   _wrap_wxTreeEvent_SetItem(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6390: error: `SetItem' undeclared (first use this
   function)
src/gtk/controls2.cpp:6390: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
src/gtk/controls2.cpp: In function `PyObject*
   _wrap_wxTreeEvent_SetOldItem(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6426: error: `SetOldItem' undeclared (first use this
   function)
src/gtk/controls2.cpp: In function `PyObject*
   _wrap_wxTreeEvent_SetPoint(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6462: error: `SetPoint' undeclared (first use this
   function)
src/gtk/controls2.cpp: In function `PyObject*
   _wrap_wxTreeEvent_SetKeyEvent(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6498: error: `SetKeyEvent' undeclared (first use this
   function)
src/gtk/controls2.cpp: In function `PyObject*
   _wrap_wxTreeEvent_SetLabel(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6533: error: `SetLabel' undeclared (first use this
   function)
src/gtk/controls2.cpp: In function `PyObject*
   _wrap_wxTreeEvent_SetEditCanceled(PyObject*, PyObject*, PyObject*)':
src/gtk/controls2.cpp:6568: error: `SetEditCanceled' undeclared (first use this
   function)
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/wxPython-2.4.1.2 failed.
!!! Function src_compile, Line 70, Exitcode 1
!!! build failed

garnet root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo crypt cups dvd encode esd evo foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml xml2 xmms xv zlib"

Comment 9 Tom Myers 2004-04-26 20:26:21 UTC
Mine finally compiled. Not sure why. Changes I made since I last tried: I switched from my own hpoj build to the ebuild one. Because of this I had to unmerge ucd-snmp and use net-snmp instead. I also deleted my entire /usr/local directory since I no longer needed it. I expect there was some conflict between /usr/local and /usr stuff.
Comment 10 Dietrich Heise 2004-07-20 08:54:11 UTC
Hey Tom,

I remembered that I installed wxGTK one time from source (not from portage)
I searched in /usr/local for 'wx' and removed the files.
All works well now :)

mfg
Dietrich