Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253426 - dev-python/wxpython-2.8.9.1-r2 failed.
Summary: dev-python/wxpython-2.8.9.1-r2 failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 09:10 UTC by keenblade
Modified: 2009-01-12 10:36 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 keenblade 2009-01-02 09:10:53 UTC
dev-python/wxpython-2.8.9.1-r2 fails to compile. Error log is like this:

contrib/stc/gtk/stc_wrap.cpp:2682: error: 'wxSTCNameStr' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp: In function 'PyObject* _wrap_new_StyledTextCtrl(PyObject*, PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:2852: error: 'wxStyledTextCtrl' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:2852: error: 'result' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:2914: error: expected primary-expression before ')' token
contrib/stc/gtk/stc_wrap.cpp:2914: error: expected `;' before 'new'
contrib/stc/gtk/stc_wrap.cpp: In function 'PyObject* _wrap_new_PreStyledTextCtrl(PyObject*, PyObject*)':
contrib/stc/gtk/stc_wrap.cpp:2935: error: 'wxStyledTextCtrl' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:2935: error: 'result' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:2941: error: expected primary-expression before ')' token

lots of lines like above

contrib/stc/gtk/stc_wrap.cpp: In function 'void init_stc()':
contrib/stc/gtk/stc_wrap.cpp:24525: error: 'wxEVT_STC_CHANGE' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24526: error: 'wxEVT_STC_STYLENEEDED' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24527: error: 'wxEVT_STC_CHARADDED' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24528: error: 'wxEVT_STC_SAVEPOINTREACHED' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24529: error: 'wxEVT_STC_SAVEPOINTLEFT' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24530: error: 'wxEVT_STC_ROMODIFYATTEMPT' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24531: error: 'wxEVT_STC_KEY' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24532: error: 'wxEVT_STC_DOUBLECLICK' was not declared in this scope
contrib/stc/gtk/stc_wrap.cpp:24533: error: 'wxEVT_STC_UPDATEUI' was not declared in this scope

lotof lines like above

error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 * 
 * ERROR: dev-python/wxpython-2.8.9.1-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3050:  Called die
 * The specific snippet of code:
 *       python setup.py ${mypyconf} build || die "setup.py build failed"
 *  The die message:
 *   setup.py build failed



Reproducible: Always

Steps to Reproduce:
1.emerge -va1 dev-python/wxpython
2.
3.

Actual Results:  
* ERROR: dev-python/wxpython-2.8.9.1-r2 failed.
python setup.py ${mypyconf} build || die "setup.py build failed"


emerge --info
Portage 2.2_rc20 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-rc9-zen1 x86_64)
=================================================================
System uname: Linux-2.6.28-rc9-zen1-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Thu, 01 Jan 2009 00:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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/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/gentoo-release /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="tr_TR.UTF-8."
LC_ALL="tr_TR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="tr"
MAKEOPTS="-j3"
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/layman/emacs /usr/local/portage/layman/pok3d /usr/local/portage/layman/pd-overlay /usr/local/portage/layman/mpd /usr/local/portage/layman/gechi /usr/local/portage/layman/emacs /usr/local/portage/layman/desktop-effects /usr/local/overlays/crossdev /usr/local/overlays/keenblade /usr/local/overlays/symix"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack java jpeg kde ladspa lash ldap lm_sensors mad midi mikmod mmx mng mp3 mpeg mudflap multilib mysql mysqli ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt4 quicktime readline reflection sdl session spell spl sqlite3 sse sse2 ssl svg sysfs tcpd truetype unicode usb verbose vorbis xcomposite xml xorg xv xvid zlib" ALSA_CARDS="hda-intel mpu401" 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 evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="tr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 keenblade 2009-01-12 00:00:47 UTC
In the log file I found out this error:
"contrib/stc/gtk/stc_wrap.cpp:2679:24: error: wx/stc/stc.h: No such file or directory"

It seems it is related to step #2 at http://wxpython.org/builddoc.php which says that wxPython by default requires the stc and gizmos libs to be
built.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-01-12 02:45:04 UTC
we do always build them.  is your wxGTK from the portage tree.  i remember there was an overlay version that made STC a USE flag for some reason.
Comment 3 keenblade 2009-01-12 10:02:29 UTC
(In reply to comment #2)
> we do always build them.  is your wxGTK from the portage tree.  i remember
> there was an overlay version that made STC a USE flag for some reason.
> 

Yes, my wxGTK (2.8.9.1-r3) is from the portage tree (so, no STC useflag exist). I'am reemerging wxGTK to see if something changes.
Comment 4 keenblade 2009-01-12 10:36:49 UTC
Ryan, thank you very much. After reemerging wxGTK, everything went fine. wxpython successfully emerged. It must be due to a file system corruption I got a while ago. Seems like wxGTK did not surrender from the corruption, till the re-emerge.