Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193275 - dev-util/eric-3.7.2-r1 incomplete install because of segfault
Summary: dev-util/eric-3.7.2-r1 incomplete install because of segfault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 04:57 UTC by Beetle B.
Modified: 2007-09-21 14:51 UTC (History)
1 user (show)

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 Beetle B. 2007-09-21 04:57:10 UTC
I had eric-3.7.2-r1 installed and it was working fine.

Then today it segfaulted. 

I had recently updated some packages (sip, qt), so I thought I should just re-emerge eric.

I did so, but now I don't see any way to load it! There's nothing relevant in /usr/bin.



Reproducible: Always

Steps to Reproduce:




Output of emerge --info:

Portage 2.1.3.9 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r4, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Timestamp of tree: Wed, 19 Sep 2007 03:20:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer nostrip parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS="en ar"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/local/bmg-main"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acpi aim alsa apache2 apm asf avi bash-completion berkdb bitmap-fonts bittorrent browserplugin cairo caps cdparanoia cdr cli cracklib crypt cups cvs dbus dga directfb divx4linux doc dri dvb dvd dvdnav dvdr dvdread eds emacs emboss encode exif fam fbcon fbdev ffmpeg firefox flac fortran ftp gd gdbm gif gimp glitz gnutella gphoto2 gpm gstreamer gtk guile hal hdri i8x0 iconv icq imagemagick imap imlib ipv6 isdnlog jabber java javascript jpeg jpeg2k justify kde lame lcms ldap leim libcaca libsamplerate live mad maildir matroska mbox md5sum midi mikmod mjpeg mmx mozilla mp2 mp3 mpeg msn mudflap musepack mysql ncurses network nls nptl nptlonly nsplugin oav ogg oggvorbis openexr opengl openmp oscar oss pam pcre pda pdf pdflib perl pgp php plotutils png pnm pnp ppds pppd python qt qt3 qt4 quicktime radio rar readline real reflection rtsp samba sasl sdl session shout sox speex spell spl srt sse ssl stream subtitles subversion svg svga tcpd tetex tga theora tiff tivo truetype truetype-fonts type1-fonts unicode usb v4l vcd vesa videos vidix vorbis wavpack win32codecs wma wmf wxwindows x264 x86 xcomposite xine xml xorg xosd xscreensaver xv xvid yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ar" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Beetle B. 2007-09-21 04:59:35 UTC
Just noticed this during the merge. Note that a segfault occurs, but Portage still reports the merge as complete. Any idea how to go about figuring out what's causing the segfault?

Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-util/eric-3.7.2-r1 to /
 * eric-3.7.2.tar.gz RMD160 ;-) ...                                       [ ok ]
 * eric-3.7.2.tar.gz SHA1 ;-) ...                                         [ ok ]
 * eric-3.7.2.tar.gz SHA256 ;-) ...                                       [ ok ]
 * eric-3.7.2.tar.gz size ;-) ...                                         [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking eric-3.7.2.tar.gz ;-) ...                                     [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking eric-3.7.2.tar.gz to /var/tmp/portage/dev-util/eric-3.7.2-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-util/eric-3.7.2-r1/work/eric-3.7.2 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/eric-3.7.2-r1

>>> Install eric-3.7.2-r1 into /var/tmp/portage/dev-util/eric-3.7.2-r1/image/ category dev-util
/usr/portage/dev-util/eric/eric-3.7.2-r1.ebuild: line 38:  8687 Segmentation fault      python install.py -b /usr/bin -i "${D}" -d /usr/$(get_libdir)/python${PYVER}/site-packages -c
>>> Completed installing eric-3.7.2-r1 into /var/tmp/portage/dev-util/eric-3.7.2-r1/image/

>>> Merging dev-util/eric-3.7.2-r1 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/eric-3.7.2-r1/
>>> /usr/share/doc/eric-3.7.2-r1/HISTORY.bz2
>>> /usr/share/doc/eric-3.7.2-r1/THANKS.bz2
>>> /usr/share/doc/eric-3.7.2-r1/LICENSE.GPL.bz2
>>> /usr/share/doc/eric-3.7.2-r1/README.bz2
>>> /usr/share/doc/eric-3.7.2-r1/README-PyXML-0.8.3.txt.bz2
>>> /usr/share/doc/eric-3.7.2-r1/README-eric3-doc.txt.bz2
>>> /usr/share/doc/eric-3.7.2-r1/README-i18n.txt.bz2
>>> /usr/share/doc/eric-3.7.2-r1/README-scripting.txt.bz2
>>> /usr/share/doc/eric-3.7.2-r1/README-passive-debugging.txt.bz2
--- /usr/share/applications/
>>> /usr/share/applications/eric3_--nosplash-eric.desktop
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/eric-3.7.2-r1/THANKS.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/README.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/README-scripting.txt.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/README-passive-debugging.txt.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/README-i18n.txt.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/README-eric3-doc.txt.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/README-PyXML-0.8.3.txt.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/LICENSE.GPL.bz2
--- replaced obj /usr/share/doc/eric-3.7.2-r1/HISTORY.bz2
--- replaced dir /usr/share/doc/eric-3.7.2-r1
--- replaced dir /usr/share/doc
--- replaced obj /usr/share/applications/eric3_--nosplash-eric.desktop
--- replaced dir /usr/share/applications
--- replaced dir /usr/share
--- replaced dir /usr
>>> Original instance of package unmerged safely.

 * If you want to use eric3 with mod_python, have a look at
 * "/usr/lib/python2.4/site-packages/eric3/patch_modpython.py".

>>> dev-util/eric-3.7.2-r1 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.
Comment 2 Beetle B. 2007-09-21 05:08:13 UTC
OK. The segfault is occurring on this line in install.py:

from qt import qVersion, PYQT_VERSION

Am re-emerging QT to see if this will fix anything...
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2007-09-21 13:22:04 UTC
Don't think it's qt itself. I'd guess that you updated Qt lately, so, please try to re-emerge PyQt.
Comment 4 Beetle B. 2007-09-21 14:51:51 UTC
Re-emerging PyQT worked, thanks.