Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 353259

Summary: app-text/calibre-0.7.42 doesn't compile: Segmentation fault
Product: Gentoo Linux Reporter: Silvio <silvio.gerli>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED DUPLICATE    
Severity: normal CC: caster
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Silvio 2011-01-30 21:59:49 UTC
During emerge process at the end of compiling it fails with message:
>>> Source compiled.
>>> Test phase [not enabled]: app-text/calibre-0.7.42

>>> Install calibre-0.7.42 into /var/tmp/portage/app-text/calibre-0.7.42/image/ category app-text
python2.7 setup.py install --root=/var/tmp/portage/app-text/calibre-0.7.42/image/ --no-compile --bindir=/var/tmp/portage/app-text/calibre-0.7.42/image/usr/bin --sharedir=/var/tmp/portage/app-text/calibre-0.7.42/image/usr/share

*
* Running build
*

--no-compile specified, skipping compilation

*
* Running gui
*

        Compiling form /var/tmp/portage/app-text/calibre-0.7.42/work/calibre/src/calibre/gui2/shortcuts.ui
/var/tmp/portage/app-text/calibre-0.7.42/temp/environment: line 1399: 25891 Segmentation fault      "$(PYTHON)" "${setup_file}" "${DISTUTILS_GLOBAL_OPTIONS[@]}" install --root="${D}" --no-compile "$@"
 * ERROR: app-text/calibre-0.7.42 failed:
 *   Installation failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_install
 *   environment, line 5047:  Called distutils_src_install '--bindir=/var/tmp/portage/app-text/calibre-0.7.42/image/usr/bin' '--sharedir=/var/tmp/portage/app-text/calibre-0.7.42/image/usr/share'
 *   environment, line 1402:  Called die
 * The specific snippet of code:
 *               "$(PYTHON)" "${setup_file}" "${DISTUTILS_GLOBAL_OPTIONS[@]}" install --root="${D}" --no-compile "$@" || die "Installation failed";
 * 
 * If you need support, post the output of 'emerge --info =app-text/calibre-0.7.42',
 * the complete build log and the output of 'emerge -pqv =app-text/calibre-0.7.42'.
 * The complete build log is located at '/var/tmp/portage/app-text/calibre-0.7.42/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/calibre-0.7.42/temp/environment'.
 * S: '/var/tmp/portage/app-text/calibre-0.7.42/work/calibre'

>>> Failed to emerge app-text/calibre-0.7.42, Log file:

>>>  '/var/tmp/portage/app-text/calibre-0.7.42/temp/build.log'


My emerge --info:

Portage 2.1.9.35 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 30 Jan 2011 18:15:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3                                                                                                
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3                                                                                    
dev-util/ccache:     3.1.4                                                                                                     
dev-util/cmake:      2.8.3-r1                                                                                                  
sys-apps/baselayout: 2.0.1-r1                                                                                                  
sys-apps/openrc:     0.7.0::pentoo                                                                                             
sys-apps/sandbox:    2.4                                                                                                       
sys-devel/autoconf:  2.13, 2.68                                                                                                
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                                                                        
sys-devel/binutils:  2.21                                                                                                      
sys-devel/gcc:       4.2.4-r1, 4.3.5, 4.4.5, 4.5.2                                                                             
sys-devel/gcc-config: 1.4.1                                                                                                    
sys-devel/libtool:   2.4-r1                                                                                                    
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)                                                                       
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ rsync://rsync3.it.gentoo.org/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo/"
LANG="it_IT"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/sunrise /var/lib/layman/bangert /var/lib/layman/maggu2810-overlay /var/lib/layman/voyageur /var/lib/layman/belak /var/lib/layman/pentoo /usr/portage/local/manual"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3ds 64bit X a52 aac aalib acl acpi aiglx akode alias alsa amd64 amr ao apache apm audiofile autoreplace autotrace avahi avi bash-completion berkdb bitmap-fonts bluetooth bmp branding browserplugin bzip bzip2 cairo cdaudio cdr cli clucene connectionstatus consolekit contactnotes cracklib crypt cups cvd cvs cxx dbus dia dialup djvu dri dts dv dvd dvdr dvdread dynamicplugin ebook emboss encode ethereal exif fam fat ffmpeg firefox flac fluidsynth fontconfig foomaticdb fortran freetds gdbm gdu geolocation gif gimp git glib glitz gnutls gphoto2 gpm gps gpu groupwise gtk hal highlight history hvm i8x0 iconv ieee1394 imagemagick innodb iphone ipod ipv6 irc ithreads jack java javascript jingle jpeg jpeg2k kde kerberos kontact kqemu lame laptop lcms ldap libnotify lm_sensors lucene m4a mad mbrola mdb mdnsresponder-compat mercurial midi mikmod mime mmx mmxext mng modules moonlight mozilla mp3 mp4 mpeg mpeg2 mplayer mssql mudflap multilib musepack musicbrainz mysql ncurses netmeeting nls nowlistening npt1 nptl nptlonly nsplugin ntfs nvidia odbc ogg openal openexr opengl openipmi openmp oss pam pango pcmcia pcre pda pdf perl phonon plasma pmu png policykit portaudio postgres ppds pppd prelude python python3 qt qt3support qt4 quicktime rar raw rdesktop rdp readline reiserfs reports samba sametime sane scanner sdl semantic-desktop session sip smp sms soundtouch speex spell sse sse2 ssh ssl startup-notification subtitles subversion svg sysfs tcpd texteffect texteffects theora tidy tiff timidity tordns translator truetype truetype-fonts twolame type1-fonts udev unicode usb utempter v4l v4l2 vcd virtualbox vnc vorbis wav wavpack webkit webpresence wicd wifi win64 winetriks winpopup wlm wmf wxwindows x264 xcb xen xine xml xorg xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="snd_hda_intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev joystick synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I tried "python-updater" with no result. 

Reproducible: Always
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-01-31 13:30:36 UTC
Could be duplicate of bug 345331, as sip.so is the culprit in dmesg.
This is with sip-4.12.1 and PyQt4-4.8.3
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-01-31 13:36:54 UTC
Yeah remerge pykde4 and then calibre will emerge fine, so this is dupe.

*** This bug has been marked as a duplicate of bug 345331 ***