building '_core_' extension creating build-gtk2/temp.linux-i686-2.4 creating build-gtk2/temp.linux-i686-2.4/src creating build-gtk2/temp.linux-i686-2.4/src/gtk i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=athlon-xp -fomit-frame-pointer -fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -Iinclude -Isrc -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -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/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.4 -c src/helpers.cpp -o build-gtk2/temp.linux-i686-2.4/src/helpers.o In file included from /usr/include/stdio.h:34, from /usr/include/python2.4/Python.h:32, from src/helpers.cpp:15: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/stddef.h:213: error: syntax error before `typedef' In file included from /usr/include/python2.4/Python.h:32, from src/helpers.cpp:15: /usr/include/stdio.h:46: error: syntax error before `typedef' /usr/include/stdio.h:62: error: syntax error before `typedef' In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from /usr/include/python2.4/Python.h:32, from src/helpers.cpp:15: /usr/include/gconv.h:72: error: type specifier omitted for parameter `size_t' /usr/include/gconv.h:72: error: parse error before `*' token /usr/include/gconv.h:88: error: type specifier omitted for parameter `size_t' /usr/include/gconv.h:88: error: parse error before `*' token /usr/include/gconv.h:97: error: type specifier omitted for parameter `size_t' /usr/include/gconv.h:97: error: parse error before `*' token /usr/include/gconv.h:174: error: 'size_t' is used as a type, but is not defined as a type. /usr/include/gconv.h:176: error: parse error before `;' token In file included from /usr/include/libio.h:62, from /usr/include/stdio.h:72, from /usr/include/python2.4/Python.h:32, from src/helpers.cpp:15: /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" /usr/include/sys/cdefs.h:136:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:194:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:203:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:212:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:221:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:233:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:243:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:252:19: missing binary operator before token "(" /usr/include/sys/cdefs.h:262:20: missing binary operator before token "(" /usr/include/sys/cdefs.h:267:20: missing binary operator before token "(" /usr/include/sys/cdefs.h:274:19: missing binary operator before token "(" In file included from /usr/include/stdio.h:72, from /usr/include/python2.4/Python.h:32, from src/helpers.cpp:15: /usr/include/libio.h:354: error: type specifier omitted for parameter `size_t' /usr/include/libio.h:354: error: parse error before `)' token /usr/include/libio.h:363: error: type specifier omitted for parameter `size_t' /usr/include/libio.h:363: error: parse error before `)' token /usr/include/libio.h:479: error: syntax error before `(' token In file included from /usr/include/python2.4/Python.h:32, from src/helpers.cpp:15: /usr/include/stdio.h:166: error: syntax error before `*' token /usr/include/stdio.h:208: error: `FILE' was not declared in this scope /usr/include/stdio.h:208: error: `__stream' was not declared in this scope /usr/include/stdio.h:213: error: `FILE' was not declared in this scope /usr/include/stdio.h:213: error: `__stream' was not declared in this scope /usr/include/stdio.h:243: error: syntax error before `*' token /usr/include/stdio.h:249: error: syntax error before `*' token /usr/include/stdio.h:299: error: `FILE' was not declared in this scope /usr/include/stdio.h:299: error: parse error before `,' token /usr/include/stdio.h:303: error: `FILE' was not declared in this scope /usr/include/stdio.h:303: error: parse error before `,' token /usr/include/stdio.h:323: error: `FILE' was not declared in this scope /usr/include/stdio.h:323: error: parse error before `,' token /usr/include/stdio.h:338: error: `FILE' was not declared in this scope /usr/include/stdio.h:338: error: parse error before `,' token /usr/include/stdio.h:395: error: `FILE' was not declared in this scope /usr/include/stdio.h:395: error: parse error before `,' token /usr/include/stdio.h:437: error: `FILE' was not declared in this scope /usr/include/stdio.h:437: error: `__stream' was not declared in this scope /usr/include/stdio.h:438: error: `FILE' was not declared in this scope /usr/include/stdio.h:438: error: `__stream' was not declared in this scope /usr/include/stdio.h:479: error: type specifier omitted for parameter `FILE' /usr/include/stdio.h:479: error: parse error before `*' token /usr/include/stdio.h:480: error: type specifier omitted for parameter `FILE' /usr/include/stdio.h:480: error: parse error before `*' token /usr/include/stdio.h:528: error: type specifier omitted for parameter `FILE' /usr/include/stdio.h:528: error: parse error before `*' token /usr/include/stdio.h:585: error: type specifier omitted for parameter `FILE' /usr/include/stdio.h:585: error: parse error before `*' token /usr/include/stdio.h:598: error: type specifier omitted for parameter `FILE' /usr/include/stdio.h:598: error: parse error before `*' token /usr/include/stdio.h:605: error: syntax error before `(' token /usr/include/stdio.h:611: error: syntax error before `(' token /usr/include/stdio.h:645: error: `FILE' was not declared in this scope /usr/include/stdio.h:645: error: `__stream' was not declared in this scope /usr/include/stdio.h:645: error: parse error before `int' /usr/include/stdio.h:650: error: `FILE' was not declared in this scope /usr/include/stdio.h:650: error: `__stream' was not declared in this scope /usr/include/stdio.h:655: error: `FILE' was not declared in this scope /usr/include/stdio.h:655: error: `__stream' was not declared in this scope /usr/include/stdio.h:655: error: variable or field `rewind' declared void /usr/include/stdio.h:694: error: `FILE' was not declared in this scope /usr/include/stdio.h:694: error: parse error before `,' token /usr/include/stdio.h:699: error: `FILE' was not declared in this scope /usr/include/stdio.h:699: error: `__stream' was not declared in this scope /usr/include/stdio.h:699: error: parse error before `*' token /usr/include/stdio.h:722: error: `FILE' was not declared in this scope /usr/include/stdio.h:722: error: `__stream' was not declared in this scope /usr/include/stdio.h:722: error: variable or field `clearerr' declared void /usr/include/stdio.h:724: error: `FILE' was not declared in this scope /usr/include/stdio.h:724: error: `__stream' was not declared in this scope /usr/include/stdio.h:726: error: `FILE' was not declared in this scope /usr/include/stdio.h:726: error: `__stream' was not declared in this scope In file included from /usr/include/python2.4/Python.h:32, from src/helpers.cpp:15: /usr/include/stdio.h:836: error: parse error before `}' token In file included from /usr/include/wx-2.6/wx/debug.h:18, from /usr/include/wx-2.6/wx/defs.h:452, from /usr/include/wx-2.6/string.h:25, from /usr/include/python2.4/Python.h:37, from src/helpers.cpp:15: /usr/include/assert.h:38:42: missing binary operator before token "(" /usr/include/assert.h:104:42: missing binary operator before token "(" In file included from /usr/include/wx-2.6/wx/wxchar.h:99, from /usr/include/wx-2.6/wx/debug.h:22, from /usr/include/wx-2.6/wx/defs.h:452, from /usr/include/wx-2.6/string.h:25, from /usr/include/python2.4/Python.h:37, from src/helpers.cpp:15: /usr/include/wchar.h:137: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:137: error: parse error before `)' token /usr/include/wchar.h:145: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:145: error: parse error before `)' token /usr/include/wchar.h:152: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:152: error: parse error before `)' token /usr/include/wchar.h:182: error: syntax error before `(' token /usr/include/wchar.h:224: error: syntax error before `(' token /usr/include/wchar.h:228: error: syntax error before `(' token /usr/include/wchar.h:243: error: syntax error before `(' token /usr/include/wchar.h:261: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:261: error: parse error before `)' token /usr/include/wchar.h:266: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:266: error: parse error before `)' token /usr/include/wchar.h:271: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:271: error: parse error before `)' token /usr/include/wchar.h:275: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:275: error: parse error before `)' token /usr/include/wchar.h:279: error: type specifier omitted for parameter `size_t' /usr/include/wchar.h:279: error: parse error before `)' token /usr/include/wchar.h:306: error: syntax error before `(' token /usr/include/wchar.h:311: error: syntax error before `(' token /usr/include/wchar.h:315: error: syntax error before `(' token /usr/include/wchar.h:317: error: syntax error before `(' token /usr/include/wchar.h:333: error: syntax error before `(' token /usr/include/wchar.h:339: error: syntax error before `(' token /usr/include/wchar.h:683: error: `__FILE' was not declared in this scope /usr/include/wchar.h:683: error: `__stream' was not declared in this scope /usr/include/wchar.h:684: error: `__FILE' was not declared in this scope /usr/include/wchar.h:684: error: `__stream' was not declared in this scope /usr/include/wchar.h:697: error: type specifier omitted for parameter `__FILE' /usr/include/wchar.h:697: error: parse error before `*' token /usr/include/wchar.h:698: error: type specifier omitted for parameter `__FILE' /usr/include/wchar.h:698: error: parse error before `*' token /usr/include/wchar.h:713: error: type specifier omitted for parameter `__FILE' /usr/include/wchar.h:713: error: parse error before `*' token /usr/include/wchar.h:720: error: type specifier omitted for parameter `__FILE' /usr/include/wchar.h:720: error: parse error before `*' token /usr/include/wchar.h:727: error: type specifier omitted for parameter `__FILE' /usr/include/wchar.h:727: error: parse error before `*' token /usr/include/wchar.h:793: error: syntax error before `(' token In file included from /usr/include/wx-2.6/wx/debug.h:22, from /usr/include/wx-2.6/wx/defs.h:452, from /usr/include/wx-2.6/string.h:25, from /usr/include/python2.4/Python.h:37, from src/helpers.cpp:15: /usr/include/wx-2.6/wx/wxchar.h:759: error: syntax error before `(' token /usr/include/wx-2.6/wx/wxchar.h:1100: error: parse error before `*' token /usr/include/wx-2.6/wx/wxchar.h:1101: error: parse error before `*' token In file included from /usr/include/wx-2.6/string.h:43, from /usr/include/python2.4/Python.h:37, from src/helpers.cpp:15: /usr/include/stdlib.h:140: error: syntax error before `(' token /usr/include/stdlib.h:584: error: `size_t' was not declared in this scope /usr/include/stdlib.h:584: error: parse error before `)' token /usr/include/stdlib.h:586: error: `size_t' was not declared in this scope /usr/include/stdlib.h:586: error: parse error before `,' token /usr/include/stdlib.h:595: error: type specifier omitted for parameter `size_t' /usr/include/stdlib.h:595: error: parse error before `)' token /usr/include/stdlib.h:768: error: type specifier omitted for parameter `size_t' /usr/include/stdlib.h:768: error: parse error before `,' token /usr/include/stdlib.h:773: error: type specifier omitted for parameter `size_t' /usr/include/stdlib.h:773: error: parse error before `,' token /usr/include/stdlib.h:866: error: type specifier omitted for parameter `size_t' /usr/include/stdlib.h:866: error: parse error before `)' token /usr/include/stdlib.h:870: error: type specifier omitted for parameter `size_t' /usr/include/stdlib.h:870: error: parse error before `)' token /usr/include/stdlib.h:877: error: syntax error before `(' token /usr/include/stdlib.h:880: error: syntax error before `(' token In file included from /usr/include/wx-2.6/string.h:55, from /usr/include/python2.4/Python.h:37, from src/helpers.cpp:15: /usr/include/wx-2.6/wx/buffer.h:96: error: parse error before `len' /usr/include/wx-2.6/wx/buffer.h: In constructor ` wxCharBuffer::wxCharBuffer(const char*)': /usr/include/wx-2.6/wx/buffer.h:96: error: class `wxCharBuffer' does not have any field named `m_str' /usr/include/wx-2.6/wx/buffer.h:96: error: `strdup' undeclared (first use this function) /usr/include/wx-2.6/wx/buffer.h:96: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/wx-2.6/wx/buffer.h: At global scope: /usr/include/wx-2.6/wx/buffer.h:96: error: ISO C++ forbids defining types within return type /usr/include/wx-2.6/wx/buffer.h:96: error: destructors must be member functions /usr/include/wx-2.6/wx/buffer.h:96: error: return type specification for destructor invalid /usr/include/wx-2.6/wx/buffer.h: In function `void wxCharBuffer()': /usr/include/wx-2.6/wx/buffer.h:96: error: `m_str' undeclared (first use this function) /usr/include/wx-2.6/wx/buffer.h: At global scope: /usr/include/wx-2.6/wx/buffer.h:96: error: non-member function `char* release() ' cannot have `const' method qualifier /usr/include/wx-2.6/wx/buffer.h: In function `char* release()': /usr/include/wx-2.6/wx/buffer.h:96: error: parse error before `)' token /usr/include/wx-2.6/wx/buffer.h: At global scope: /usr/include/wx-2.6/wx/buffer.h:96: error: parse error before `&' token /usr/include/wx-2.6/wx/buffer.h:96: error: ISO C++ forbids declaration of ` wxCharBuffer' with no type /usr/include/wx-2.6/wx/buffer.h: In function `int wxCharBuffer(...)': /usr/include/wx-2.6/wx/buffer.h:96: error: only constructors take base initializers /usr/include/wx-2.6/wx/buffer.h:96: error: `src' undeclared (first use this function) /usr/include/wx-2.6/wx/buffer.h:96: confused by earlier errors, bailing out error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 Reproducible: Always Steps to Reproduce: 1.emerge -u world 2. 3. /etc/make.conf: CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" PORT_LOGDIR=/var/log/portage USE="gtk qt kde cdr alsa avi live matroska mpeg oggvorbis opengl real theora xanim dlloader sdk X sdl xv dts dvd dvdread mmx sse sse2 mmxext 3dnowe xt 3dnow quicktime subversion ldap python wxwindows foomaticdb cups ppds" ALSA_CARDS="via82xx" uname -a: Linux gandalf 2.6.12-gentoo-r4 #1 Sat Jul 9 20:41:19 EDT 2005 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
Please post the output of 'emerge info'
emerge info sorry!! Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dlloader dts dvd dvdread emboss encode esd fam foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww live mad matroska mikmod mmx mmxext motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline real sdk sdl snmp spell sse sse2 ssl subversion svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts vorbis wxwindows xanim xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I have compiled it succesfully with the following: Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/" LINGUAS="es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.es.gentoo.org/gentoo-portage" USE="X aalib acpi adns alsa amd64 arts audiofile avi bindist bitmap-fonts bonobo bzlib caps cdb cdr cross crypt cscope cups curl curlwrappers dga dio dvd dvdr eds encode erandom escreen esd evo exif fam fbcon flac foomaticdb fortran ftp gb gif gimpprint glx gnome gphoto2 gpm gstreamer gtk gtk2 iconv imagemagick imlib jack java joystick jpeg kde lcms libwww lirc lzw lzw-tiff mad mcal mikmod mime mng mozilla mp3 mpeg mpi mysql nas ncurses nethack nls nocardbus nptl ogg oggvorbis openal opengl oss pam pcre pda pdflib perl pic plotutils png posix ppds python qt quicktime readline scanner sdl sockets spell ssl sysvipc tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos vorbis wmf xine xml xml2 xmms xpm xv xvid zlib linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Have you tried to compile it with +unicode USE flag?
Created attachment 72433 [details] emerge wxPython 2.6.1.0 failure I have another emerge problem. I try to 'emerge wxpython' and get multiple errors in "src/gtk/_core_wrap.cpp". look at the attachments for more info.
Created attachment 72434 [details] emerge info My 'emerge info'
Reopen if you still have the same problem w/ dev-python/wxpython-2.6.3.3; thanks.