Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403555 - dev-vcs/tortoisehg-2.2.2-r1 - Segmentation fault "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build -b "$(_distutils_get_build_dir)" "$@"
Summary: dev-vcs/tortoisehg-2.2.2-r1 - Segmentation fault "$(PYTHON)" "${setup_fi...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-14 12:10 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2012-02-15 11:38 UTC (History)
0 users

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 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-02-14 12:10:13 UTC
* tortoisehg-2.2.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking tortoisehg-2.2.2.tar.gz to /var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/work
>>> Source unpacked in /var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/work
>>> Preparing source in /var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/work/tortoisehg-2.2.2 ...
 * Applying tortoisehg-2.2.2-hgversion.patch ...                         [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/work/tortoisehg-2.2.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/work/tortoisehg-2.2.2 ...
 * Building of dev-vcs/tortoisehg-2.2.2-r1 with CPython 2.7...
python2.7 setup.py build -b build-2.7
running build
running build_qt
compiled icons/icons.qrc into tortoisehg/hgqt/icons_rc.py
/var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/temp/environment: line 1270: 25580 Segmentation fault      "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build -b "$(_distutils_get_build_dir)" "$@"
 * ERROR: dev-vcs/tortoisehg-2.2.2-r1 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5101:  Called distutils_src_compile
 *   environment, line 1279:  Called python_execute_function 'distutils_building'
 *   environment, line 3448:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-vcs/tortoisehg-2.2.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-vcs/tortoisehg-2.2.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-vcs/tortoisehg-2.2.2-r1/work/tortoisehg-2.2.2'


# emerge --info tortoisehg
Portage 2.2.0_alpha86 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.20 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.20-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.1
Timestamp of tree: Tue, 14 Feb 2012 07:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo poly-c
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 PUEL RTCW RTCW-ETEULA googleearth"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -finline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bash_completion.d /etc/bonobo-activation /etc/ca-certificates.conf /etc/cups /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fish /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hotplug /etc/hotplug.d /etc/htdig /etc/imlib /etc/init.d /etc/iproute2 /etc/libgda-3.0 /etc/ntop /etc/pam.d /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/usb_modeswitch.d /etc/xinetd.d /etc/xml /etc/zsh"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer -finline-functions"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y --jobs=1 --keep-going --misspell-suggestions=n --autounmask=n --quiet-build=n"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/poly-c"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo caps cdda cdparanoia cdr cli cracklib crypt cups cxx dbus declarative dts dvd dvdr dvdread emboss encode exif fam ffmpeg flac gdbm gdu gif gmp gnutls gpg gtk iconv idn imagemagick imlib jpeg jpeg2k kde kdehiddenvisibility kipi lame lcms libnotify mad mjpeg mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf plasma png ppds pppd qt3support qt4 quicktime readline rtmp sdl session silc slang smp spell sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype twolame udev unicode usb vcd vorbis vpx x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev joystick" KERNEL="linux" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-vcs/tortoisehg-2.2.2 was built with the following:
USE="-doc (multilib) -nautilus"
Comment 1 Mike Gilbert gentoo-dev 2012-02-14 20:53:26 UTC
I can't reproduce this.

I'm not actually sure what is segfaulting. Is it python? You could check dmesg to be sure.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-02-15 06:28:16 UTC
# dmesg | grep segfault
python2.7[8149]: segfault at 0 ip 00007ff0b69d3e5a sp 00007fff9a390f90 error 6 in sip.so[7ff0b69c4000+19000]
python2.7[32730]: segfault at 0 ip 00007f1f616fce5a sp 00007fff625ad8a0 error 6 in sip.so[7f1f616ed000+19000]
python2.7[15969]: segfault at 0 ip 00007f6b6720fe5a sp 00007fff640bc170 error 6 in sip.so[7f6b67200000+19000]
python2.7[10214]: segfault at 0 ip 00007f4eae22ee5a sp 00007fff3689b8e0 error 6 in sip.so[7f4eae21f000+19000]
python2.7[31698]: segfault at 0 ip 00007f871e446e5a sp 00007fff04dfbe80 error 6 in sip.so[7f871e437000+19000]

This is from several runs of the failing ebuild.
Comment 3 Mike Gilbert gentoo-dev 2012-02-15 07:21:25 UTC
Hmm. Maybe try rebuilding dev-python/sip?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-02-15 10:05:06 UTC
Already tried that with no success. I am now trying sip-4.13.2 (not in portage yet). If that helps I gonna convert this bug into a bump request for sip.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-02-15 11:38:44 UTC
Alright, dunno what exactly fixed this problem but this one-liner helped me out of my misery:

  emerge -1av $(for pkg in `equery -Cq d dev-python/sip dev-python/PyQt4 | sort | uniq` ; do echo "=${pkg} " ; done)


Sorry I bothered you with that problem. I really thought I've found a bug as I had this problem on all my ~arch machines.