Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238729 - dev-python/wxpython-2.8.7.1 - src/gtk/_core_wrap.cpp:45121: internal compiler error: Segmentation fault
Summary: dev-python/wxpython-2.8.7.1 - src/gtk/_core_wrap.cpp:45121: internal compiler...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 09:28 UTC by Denis
Modified: 2008-10-01 06:21 UTC (History)
1 user (show)

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


Attachments
build log (build.log,40.72 KB, text/plain)
2008-09-26 09:37 UTC, Denis
Details
ebuild environment file (environment.txt,104.85 KB, text/plain)
2008-09-26 09:38 UTC, Denis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis 2008-09-26 09:28:48 UTC
I upgraded python to version 2.5, and launched python-updater which failed on wxpython. After that i was trying to emerge wxpython manually, but build always fails.

Emerge of dev-python/wxpython-2.8.7.1 with USE="opengl" gives:

The bug is not reproducible, so it is likely a hardware or OS problem.
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
 *
 * ERROR: dev-python/wxpython-2.8.7.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2734:  Called die
 * The specific snippet of code:
 *       python setup.py ${mypyconf} build || die "setup.py build failed"
 *  The die message:
 *   setup.py build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/wxpython-2.8.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/wxpython-2.8.7.1/temp/environment'.

Reproducible: Always

Steps to Reproduce:
1. emerge -av1 wxpython
2.
3.




I've got following packages installed:
[I--] [  ] x11-libs/wxGTK-2.6.4.0-r3 (2.6)
[I--] [  ] x11-libs/wxGTK-2.8.7.1-r1 (2.8)
[I--] [  ] app-admin/python-updater-0.5 (0)
[I--] [  ] dev-lang/python-2.4.4-r14 (2.4)
[I--] [  ] dev-lang/python-2.5.2-r7 (2.5)
[I--] [  ] dev-python/dbus-python-0.82.4 (0)
[I--] [  ] dev-python/dnspython-1.3.5 (0)
[I--] [  ] dev-python/python-fchksum-1.7.1 (0)
[I--] [  ] dev-python/wxpython-2.8.7.1 (2.8)
Comment 1 Denis 2008-09-26 09:37:22 UTC
Created attachment 166464 [details]
build log
Comment 2 Denis 2008-09-26 09:38:53 UTC
Created attachment 166468 [details]
ebuild environment file
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-26 15:19:15 UTC
Please post your `emerge --info' too.
Comment 4 Denis 2008-09-28 07:49:15 UTC
(In reply to comment #3)
> Please post your `emerge --info' too.
> 

Sorry, i forgot about that. Here's my emerge --info for wxpython:

Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(tm) XP 1800+
Timestamp of tree: Fri, 26 Sep 2008 01:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
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.6.3, 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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
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"
ANT_HOME="/usr/share/ant"
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"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/app-defaults /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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ ftp://mirror.pudas.net/gentoo"
GTK2_RC_FILES="/home/mistreated/.gtkrc-2.0:/home/mistreated/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/usr/java/jdk1.5.0_04"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5:/home/mistreated/.local"
KERNEL="linux"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IUSE="^(alpha|alsa_cards_aoa|alsa_cards_aoa-fabric-layout|alsa_cards_aoa-onyx|alsa_cards_aoa-soundbus|alsa_cards_aoa-soundbus-i2s|alsa_cards_aoa-tas|alsa_cards_aoa-toonie|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_harmony|alsa_cards_powermac|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|altivec|amd64|aqua|arm|bmp|bmpx|bootstrap|build|coreaudio|crosscompile_opts_.*|elibc_.*|elibc_Darwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|elibc_OpenBSD|elibc_glibc|elibc_uclibc|emul-linux-x86|hppa|ia64|ibm|infopipe|kernel_.*|kernel_Darwin|kernel_FreeBSD|kernel_linux|m68k|mips|mplayer-bin|multilib|n32|n64|pam_console|pbbuttonsd|ppc|ppc64|ppcsha1|s390|selinux|sh|sparc|sparc-fbsd|uclibc|ultra1|userland_.*|userland_BSD|userland_Darwin|userland_GNU|video_cards_impact|video_cards_newport|video_cards_sunbw2|video_cards_suncg14|video_cards_suncg3|video_cards_suncg6|video_cards_sunffb|video_cards_sunleo|video_cards_suntcx|vis|x86|x86-fbsd|xmms)$"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=2000"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_USE="elibc_glibc kernel_linux userland_GNU x86"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/mistreated"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="78.84.189.166 49386 22"
SSH_CONNECTION="78.84.189.166 49386 83.99.135.113 22"
SSH_TTY="/dev/pts/3"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="3dnow 3dnowext X acl acpi alsa arts berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slp spell spl sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" USERLAND="GNU" VIDEO_CARDS="fbdev nv vesa vga dummy nvidia"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev nv vesa vga dummy nvidia"
VMHANDLE="blackdown-jdk-1.4.2"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge"

=================================================================
                        Package Settings
=================================================================
dev-python/wxpython-2.8.7.1 was built with the following:
CFLAGS="-O2 -fno-strict-aliasing -fomit-frame-pointer -march=athlon-xp"
CXXFLAGS="-O2 -fno-strict-aliasing -fomit-frame-pointer -march=athlon-xp"

>>> Attempting to run pkg_info() for 'dev-python/wxpython-2.8.7.1'
 * pkg_info() is not defined: 'wxpython-2.8.7.1.ebuild'
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-29 13:35:02 UTC
I am wondering if you seriously considered "Reproducible: Always" - Did you try again to build wxpython and did it fail in exactly the same way?
Comment 6 Denis 2008-09-29 19:50:46 UTC
(In reply to comment #5)
> I am wondering if you seriously considered "Reproducible: Always" - Did you try
> again to build wxpython and did it fail in exactly the same way?
> 

I get the exact message every time i try to merge wxpython. I guess this error appeared after i upgraded python to version 2.5. By the way, in the beginning i was trying to reinstall wxpython-2.6.4.0-r1, but it also was failing in a quite similar manner:

* Messages for package dev-python/wxpython-2.6.4.0-r1:

 *
 * ERROR: dev-python/wxpython-2.6.4.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2747:  Called die
 * The specific snippet of code:
 *       python setup.py ${mypyconf} build || die "setup.py build failed"
 *  The die message:
 *   setup.py build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/temp/environment'.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2008-09-30 01:44:08 UTC
> I get the exact message every time i try to merge wxpython. I guess this error
> appeared after i upgraded python to version 2.5. By the way, in the beginning i
> was trying to reinstall wxpython-2.6.4.0-r1, but it also was failing in a quite
> similar manner:
> 
> * Messages for package dev-python/wxpython-2.6.4.0-r1:
> 
>  *
>  * ERROR: dev-python/wxpython-2.6.4.0-r1 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2747:  Called die
>  * The specific snippet of code:
>  *       python setup.py ${mypyconf} build || die "setup.py build failed"
>  *  The die message:
>  *   setup.py build failed
>  *
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/temp/environment'.
> 

that message doesn't contain any info.  like it says, please post the part above it where the actual error message is.

though if the compiler is segfaulting, it could be a lot of things.
Comment 8 Denis 2008-09-30 05:58:52 UTC
(In reply to comment #7)
> > I get the exact message every time i try to merge wxpython. I guess this error
> > appeared after i upgraded python to version 2.5. By the way, in the beginning i
> > was trying to reinstall wxpython-2.6.4.0-r1, but it also was failing in a quite
> > similar manner:
> > 
> > * Messages for package dev-python/wxpython-2.6.4.0-r1:
> > 
> >  *
> >  * ERROR: dev-python/wxpython-2.6.4.0-r1 failed.
> >  * Call stack:
> >  *               ebuild.sh, line   49:  Called src_compile
> >  *             environment, line 2747:  Called die
> >  * The specific snippet of code:
> >  *       python setup.py ${mypyconf} build || die "setup.py build failed"
> >  *  The die message:
> >  *   setup.py build failed
> >  *
> >  * If you need support, post the topmost build error, and the call stack if
> > relevant.
> >  * A complete build log is located at
> > '/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/temp/build.log'.
> >  * The ebuild environment file is located at
> > '/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/temp/environment'.
> > 
> 
> that message doesn't contain any info.  like it says, please post the part
> above it where the actual error message is.
> 
> though if the compiler is segfaulting, it could be a lot of things.
> 

It's the message from wxpython-2.6.4.0-r1 (old stuff), complete output for wxpython-2.8.7.1 is provided in attached files.
Comment 9 Denis 2008-09-30 11:25:23 UTC
Could this be because of python 2.4 still exists on my system?
Comment 10 Denis 2008-10-01 06:21:10 UTC
Today build went just fine, but i don't know why. I guess system reboot did the trick. I emerged some packages, which seems not related to python or wxpython, such as ksnapshot, mc, kaddressbook, genlop, unrar, etc. Then i launched python-updater and it didn't find any packages to rebuild, after that i reemerged wxpython-2.8.7.1 and it went just fine. 
Before that i manually rebuild everything that python-updater suggested, except wxpython. It was failing with python-updater as well as with manual merge. So i cannot find better explanation then system restart.
Thanks to everyone who answered!