Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366043 - x11-libs/goffice-0.8.14 compilation aborted because of compiller segfault
Summary: x11-libs/goffice-0.8.14 compilation aborted because of compiller segfault
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 03:13 UTC by Alex
Modified: 2011-05-17 10:08 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 Alex 2011-05-05 03:13:26 UTC
compiller segfault

Reproducible: Always




>>cat build.log
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tools/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating goffice/goffice-config.h
config.status: creating goffice/goffice-features.h
config.status: goffice/goffice-features.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


Configuration:

	Source code location:	.
	Compiler:		i686-pc-linux-gnu-gcc
	Compiler flags:		-O2 -march=native -pipe -floop-block -floop-interchange -floop-strip-mine -floop-parallelize-all -ftree-loop-distribution -Wall -Wmissing-prototypes  -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -Werror=format-security
	Long double support:	yes

	UI:			Gtk
	Configuration backend:	GConf

>>> Source configured.
>>> Compiling source in /var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14 ...
make -j2 
Making all in goffice
make[1]: Вход в каталог `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
creating goffice-paths.h
make  all-recursive
make[2]: Вход в каталог `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
Making all in utils
make[3]: Вход в каталог `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
glib-genmarshal --prefix=go_ --header go-marshalers.list >go-marshalers.h
make  all-am
make[4]: Вход в каталог `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
(echo '/* This file has been automatically generated.  Do not edit. */' && \
echo '#include <goffice/goffice-config.h>' && \
echo '#include "go-marshalers.h"' && \
glib-genmarshal --prefix=go_ --body go-marshalers.list ) >go-marshalers.c
  CC     go-color.lo
  CC     go-file.lo
  CC     go-font.lo
  CC     go-cairo.lo
  CC     go-gradient.lo
  CC     go-image.lo
  CC     go-line.lo
  CC     go-locale.lo
  CC     go-marker.lo
  CC     go-path.lo
  CC     go-pattern.lo
  CC     go-geometry.lo
  CC     go-string.lo
  CC     go-undo.lo
  CC     datetime.lo
  CC     formats.lo
  CC     go-format.lo
  CC     regutf8.lo
  CC     go-glib-extras.lo
  CC     go-libxml-extras.lo
  CC     go-pango-extras.lo
  CC     go-persist.lo
In file included from go-format.c:78:0:
go-format.c: В функции ‘handle_common_token’:
go-format.c:1200:2: предупреждение: case value ‘0’ not in enumerated type ‘GOFormatToken’
  CC     go-bezier.lo
  CC     go-editor.lo
go-bezier.c: В функции ‘go_bezier_spline_init’:
go-bezier.c:43:1: внутренняя ошибка компилятора: Ошибка сегментирования
Отправьте подробное сообщение об ошибке
с препроцессированным исходным кодом.
Смотрите инструкции в <http://bugs.gentoo.org/>.
make[4]: *** [go-bezier.lo] Ошибка 1
make[4]: *** Ожидание завершения заданий...
make[4]: Выход из каталога `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
make[3]: *** [all] Ошибка 2
make[3]: Выход из каталога `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Выход из каталога `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
make[1]: *** [all] Ошибка 2
make[1]: Выход из каталога `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
make: *** [all-recursive] Ошибка 1
emake failed
 * ERROR: x11-libs/goffice-0.8.14 failed (compile phase):
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3408:  Called gnome2_src_compile
 *   environment, line 2534:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/goffice-0.8.14',
 * the complete build log and the output of 'emerge -pqv =x11-libs/goffice-0.8.14'.
 * The complete build log is located at '/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/temp/environment'.
 * S: '/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14'


>>emerge --info
Portage 2.1.9.46 (default/linux/x86/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.35-gentoo-r15nr i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r15nr-i686-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 04 May 2011 03:00:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p8-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -floop-block -floop-interchange -floop-strip-mine -floop-parallelize-all -ftree-loop-distribution"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -floop-block -floop-interchange -floop-strip-mine -floop-parallelize-all -ftree-loop-distribution"
DISTDIR="/var/calculate/share/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going"
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://gentoo.telcom.net.ua/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US ru ru_RU"
MAKEOPTS="-j2"
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/calculate/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/calculate /var/lib/layman/sunrise /var/lib/layman/wish /var/lib/layman/pure-funtoo /var/lib/layman/openoffice-geki /var/lib/layman/lisp"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo ccache cdr cjk cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emacs emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gmp gnutls gpm gstreamer gtk iconv icu jack jpeg jpeg2k kvm lcms ldap libnotify mad mdnsresponder-compat mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 readline sasl sdl session smp spell sse sse2 sse3 ssl startup-notification svg sysfs system-sqlite tcpd threads tiff truetype udev unicode usb vim-syntax vorbis x264 x86 xcb xinetd xml xorg xulrunner 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018 hp1020" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ru ru_RU" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-06 17:13:43 UTC
Please attach an entire build log generated with LC_MESSAGES=C - you should not expect all developers to be able to read those error messages.
Comment 2 Alex 2011-05-10 03:57:22 UTC
>> cat build.log
 * Package:    x11-libs/goffice-0.8.14
 * Repository: gentoo
 * Maintainer: gnome-office@gentoo.org
 * USE:        elibc_glibc gnome kernel_linux userland_GNU x86
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking goffice-0.8.14.tar.bz2 to /var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work
>>> Source unpacked in /var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work
>>> Preparing source in /var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14 ...
 * Fixing OMF Makefiles ...
 [ ok ]
 * Running elibtoolize in: goffice-0.8.14/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
...........
................
..............

Configuration:

	Source code location:	.
	Compiler:		i686-pc-linux-gnu-gcc
	Compiler flags:		-O2 -march=native -pipe -floop-block -floop-interchange -floop-strip-mine -floop-parallelize-all -ftree-loop-distribution -Wall -Wmissing-prototypes  -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -Werror=format-security
	Long double support:	yes

	UI:			Gtk
	Configuration backend:	GConf

>>> Source configured.
>>> Compiling source in /var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14 ...
make -j2 
Making all in goffice
make[1]: Entering directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
creating goffice-paths.h
make  all-recursive
make[2]: Entering directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
Making all in utils
make[3]: Entering directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
glib-genmarshal --prefix=go_ --header go-marshalers.list >go-marshalers.h
make  all-am
make[4]: Entering directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
(echo '/* This file has been automatically generated.  Do not edit. */' && \
echo '#include <goffice/goffice-config.h>' && \
echo '#include "go-marshalers.h"' && \
glib-genmarshal --prefix=go_ --body go-marshalers.list ) >go-marshalers.c
  CC     go-color.lo
  CC     go-file.lo
  CC     go-font.lo
  CC     go-cairo.lo
  CC     go-gradient.lo
  CC     go-image.lo
  CC     go-line.lo
  CC     go-locale.lo
  CC     go-marker.lo
  CC     go-path.lo
  CC     go-pattern.lo
  CC     go-geometry.lo
  CC     go-string.lo
  CC     go-undo.lo
  CC     datetime.lo
  CC     formats.lo
  CC     go-format.lo
  CC     regutf8.lo
In file included from go-format.c:78:0:
go-format.c: In function ‘handle_common_token’:
go-format.c:1200:2: warning: case value ‘0’ not in enumerated type ‘GOFormatToken’
  CC     go-glib-extras.lo
  CC     go-libxml-extras.lo
  CC     go-pango-extras.lo
  CC     go-persist.lo
  CC     go-bezier.lo
  CC     go-editor.lo
  CC     go-style.lo
go-bezier.c: In function ‘go_bezier_spline_init’:
go-bezier.c:43:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[4]: *** [go-bezier.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14/goffice'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: x11-libs/goffice-0.8.14 failed (compile phase):
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3409:  Called gnome2_src_compile
 *   environment, line 2535:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/goffice-0.8.14',
 * the complete build log and the output of 'emerge -pqv =x11-libs/goffice-0.8.14'.
 * The complete build log is located at '/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/temp/environment'.
 * S: '/var/calculate/tmp/portage/x11-libs/goffice-0.8.14/work/goffice-0.8.14'
Comment 3 Alex 2011-05-10 04:00:29 UTC
## and also make.conf if you need
>> cat /etc/make.conf
#------------------------------------------------------------------------------
# Changed by Calculate 1.3.11
# Changes to profile "install/1default".
#------------------------------------------------------------------------------
#-------------------------
# basic options assemblies
#-------------------------
#language support
LINGUAS="en en_US ru ru_RU"
ACCEPT_KEYWORDS="x86 ~x86"
#accept license packages net-wireless/broadcom-sta, dev-java/sun-jdk and other
ACCEPT_LICENSE="*"
#connect layman for include calculate overlay
source /var/lib/layman/make.conf
LC_MESSAGES=en_US.utf8
#-----------------------------------------------------------
# optimized settings for compiling packages on your computer
#-----------------------------------------------------------
CFLAGS="-O2 -march=native -pipe -floop-block -floop-interchange -floop-strip-mine -floop-parallelize-all -ftree-loop-distribution"
#CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"

http_proxy="http://192.168.160.151:3128"
#----------------------------------
# compile-time option to accelerate
#----------------------------------
MAKEOPTS="-j2"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going"

QEMU_SOFTMMU_TARGETS="arm i386 x86_64"
QEMU_USER_TARGETS="arm i386 x86_64"
PORTAGE_TMPDIR="/var/calculate/tmp"

GENTOO_MIRRORS="http://gentoo.telcom.net.ua/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
DISTDIR=/var/calculate/share/distfiles
#DISTDIR=/mnt/remote/distfiles
FEATURES="ccache"
USE="X alsa gstreamer hal djvu jpeg2k opengl emacs -bluetooth sse sse2 sse3 mmx -3dnow -3dnowext bash-completion gnutls kvm threads vim-syntax system-sqlite xinetd ccache gmp jack ffmpeg smp cjk unicode -ipv6 sasl -policykit icu mdnsresponder-compat pulseaudio"
INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia vesa"
PORTAGE_NICENESS=10
FOO2ZJS_DEVICES="hp1018 hp1020"
#FOO2ZJS_DEVICES="*"
# ==========================================================================
If disable Graphite dependent optimizations in make.conf then goffice compiles normally.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-12 22:03:01 UTC
Attach the entire build log, please.