Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247537 - dev-python/wxpython-2.8.9.1 - src/gtk/_core_wrap.cpp:14272: error: ‘wxInternetFSHandler’ was not declared in this scope
Summary: dev-python/wxpython-2.8.9.1 - src/gtk/_core_wrap.cpp:14272: error: ‘wxInterne...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-19 04:09 UTC by Brian Nisonger
Modified: 2008-11-21 03:40 UTC (History)
1 user (show)

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


Attachments
build log (build.log,47.10 KB, text/plain)
2008-11-21 02:47 UTC, Brian Nisonger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Nisonger 2008-11-19 04:09:17 UTC
When I emerge wxPython I get the following error:

src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_new_InternetFSHandler(PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:14272: error: ‘wxInternetFSHandler’ was not declared in this scope
src/gtk/_core_wrap.cpp:14272: error: ‘result’ was not declared in this scope
src/gtk/_core_wrap.cpp:14277: error: expected primary-expression before ‘)’ token
src/gtk/_core_wrap.cpp:14277: error: expected `;' before ‘new’
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_InternetFSHandler_CanOpen(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:14290: error: ‘wxInternetFSHandler’ was not declared in this scope
src/gtk/_core_wrap.cpp:14290: error: ‘arg1’ was not declared in this scope
src/gtk/_core_wrap.cpp:14290: error: expected primary-expression before ‘)’ token
src/gtk/_core_wrap.cpp:14290: error: expected `;' before numeric constant
src/gtk/_core_wrap.cpp:14307: error: expected type-specifier before ‘wxInternetFSHandler’
src/gtk/_core_wrap.cpp:14307: error: expected `>' before ‘wxInternetFSHandler’
src/gtk/_core_wrap.cpp:14307: error: expected `(' before ‘wxInternetFSHandler’
src/gtk/_core_wrap.cpp:14307: error: expected primary-expression before ‘>’ token
src/gtk/_core_wrap.cpp:14307: error: expected `)' before ‘;’ token
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_InternetFSHandler_OpenFile(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:14338: error: ‘wxInternetFSHandler’ was not declared in this scope
src/gtk/_core_wrap.cpp:14338: error: ‘arg1’ was not declared in this scope
src/gtk/_core_wrap.cpp:14338: error: expected primary-expression before ‘)’ token
src/gtk/_core_wrap.cpp:14338: error: expected `;' before numeric constant
src/gtk/_core_wrap.cpp:14359: error: expected type-specifier before ‘wxInternetFSHandler’
src/gtk/_core_wrap.cpp:14359: error: expected `>' before ‘wxInternetFSHandler’
src/gtk/_core_wrap.cpp:14359: error: expected `(' before ‘wxInternetFSHandler’
src/gtk/_core_wrap.cpp:14359: error: expected primary-expression before ‘>’ token
src/gtk/_core_wrap.cpp:14359: error: expected `)' before ‘;’ token
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_GetAccelFromString(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:33785: warning: ‘wxGetAccelFromString’ is deprecated (declared at /usr/include/wx-2.8/wx/utils.h:571)
src/gtk/_core_wrap.cpp:33785: warning: ‘wxGetAccelFromString’ is deprecated (declared at /usr/include/wx-2.8/wx/utils.h:571)
src/gtk/_core_wrap.cpp: In function ‘void* _p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void*)’:
src/gtk/_core_wrap.cpp:62472: error: ‘wxInternetFSHandler’ was not declared in this scope
src/gtk/_core_wrap.cpp:62472: error: expected primary-expression before ‘void’
src/gtk/_core_wrap.cpp:62472: error: expected `)' before ‘void’

I have tested this in the temp directory and determined that the setup.py script always fails.  

emerge --info

Portage 2.2_rc14 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.6.1-r0, 2.6.27-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r3-i686-AMD_Athlon-tm-with-glibc2.0
Timestamp of tree: Tue, 18 Nov 2008 05:31:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 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.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
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 /usr/local/gentoo-webapps-overlay/experimental /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeprefix ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv xvmc zlib" ALSA_CARDS="emu10k1" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Any help would be excellent.



Reproducible: Always
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-11-20 22:44:36 UTC
can you attach the build log?
Comment 2 Brian Nisonger 2008-11-21 02:47:11 UTC
Created attachment 172599 [details]
build log
Comment 3 Brian Nisonger 2008-11-21 03:40:27 UTC
rebuilt gcc environment and updated to gcc-4.3.2 fixed bug.