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

Bug 371565

Summary: ERROR: net-libs/webkit-gtk-1.2.7 failed (i686-pc-linux-gnu-g++: Internal error: Killed)
Product: Gentoo Linux Reporter: kermit.mei <kermit.mei>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description kermit.mei 2011-06-14 08:37:08 UTC
When I 'emerge -av gnome-light' in virtualbox 4.08 on x86, the system emerge webkit-gtk automaticall. And then this bug occurs. There were serveral bugs about webkit-gtk-1.2.7 on the old reports. Someone said that try MAKEOPTS="-j1" or USE="-introspection" can solve it. But after doing that, the bug about webkit-gtk-1.2.7 is still exist for me.

I know not how to fix it, through I had tried many different ways.

Thanks
Kermit

Reproducible: Always

Steps to Reproduce:
1.emerge -av gnome-light
2.Then emerge webkit-gtk automatically
3.Fininally, this bug occurs!
Actual Results:  
webkit-gtk-1.2.7 can't be emerged, so that I can't emerge other components that are needed by gnome-light.

Expected Results:  
Install webkit-gtk-1.2.7 normally when I emerge -av gnome-light.

The tail of the build.log is like this:
  CXX    DerivedSources/JSSVGFEDiffuseLightingElement.lo
  CXX    DerivedSources/JSSVGFEDisplacementMapElement.lo
i686-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [DerivedSources/JSSVGFEDiffuseLightingElement.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'
make: *** [all] Error 2
emake failed
 [31;01m*[0m ERROR: net-libs/webkit-gtk-1.2.7 failed (compile phase):
 [31;01m*[0m   Compile failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  56:  Called src_compile
 [31;01m*[0m   environment, line 3082:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake XDG_DATA_HOME="${T}/.local" || die "Compile failed"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.2.7',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.2.7'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'



And "emerge --info =netlibs/webkit-gtk-1.2.7" is showed the following info:

Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 14 Jun 2011 05:45:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ http://mirrors.163.com/gentoo/ ftp://mirrors.sohu.com/gentoo/"
LANG="en_US.utf-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acl bash-completion berkdb bzip2 chm cli cracklib crypt cups cxx dbus device-mapper dri emacs extras fortran gdbm gdu gif gnome-light gpm gstreamer gtk iconv ipv6 jpg modules mudflap ncurses networkmanager nls nptl nptlonly nsplugin openmp pam pcre perl png policykit pppd python qt4 readline sdk session sqlite ssl sysfs tcpd threads tordns unicode webkit websockets x86 xorg 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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="virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fininally, "emerge -pqv webkit-gtk" shows:

[ebuild  N    ] net-libs/webkit-gtk-1.2.7  USE="gstreamer jit (-aqua) -coverage -debug -doc (-introspection) -test" 

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Note, I tried it in virtualbox4.08, and I tried MAKEOPTS="-j1", but it can't be solved.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-15 00:45:00 UTC
You ran out of memory (OOM). The kernel's "OOM killer" then went to work and killed the largest memory user, which was that cc1plus process that you saw the problem with. Set a lower -j option in MAKEOPTS or get more RAM. This is not a software issue.
Comment 2 kermit.mei 2011-06-15 03:33:05 UTC
(In reply to comment #1)
> You ran out of memory (OOM). The kernel's "OOM killer" then went to work and
> killed the largest memory user, which was that cc1plus process that you saw the
> problem with. Set a lower -j option in MAKEOPTS or get more RAM. This is not a
> software issue.

 I add the memory from 258M to 512M, and use MAKEOPTS="-j1" at the same time, then it works.
Thanks.

B.R
Kermit