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

Bug 465456

Summary: net-libs/webkit-gtk-1.10.2-r300 failed
Product: Gentoo Linux Reporter: dama <maruiming2010>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal CC: gentoo-bugs
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: This is my configuration

Description dama 2013-04-11 01:47:21 UTC
./doltlibtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -DBUILDING_WebCore -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DBUILDING_SOUP__=1 -DWTF_CHANGES -DBUILDING_WEBKIT2__=1  -DXP_UNIX -DMOZ_X11  -DWTF_USE_ICU_UNICODE=1   -DWTF_USE_GSTREAMER=1  -DWTF_USE_ACCELERATED_COMPOSITING=1 -DENABLE_3D_RENDERING=1  -DWTF_USE_TEXTURE_MAPPER=1 -DWTF_USE_TEXTURE_MAPPER_GL=1  -DWTF_USE_GLX=1 -DWTF_USE_OPENGL=1  -DNDEBUG   -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/WebCore -I./Source/WebCore/Modules/filesystem -I./Source/WebCore/Modules/gamepad -I./Source/WebCore/Modules/geolocation -I./Source/WebCore/Modules/indexeddb -I./Source/WebCore/Modules/mediasource -I./Source/WebCore/Modules/mediastream -I./Source/WebCore/Modules/notifications -I./Source/WebCore/Modules/protocolhandler -I./Source/WebCore/Modules/quota -I./Source/WebCore/Modules/webaudio -I./Source/WebCore/Modules/webdatabase -I./Source/WebCore/Modules/websockets -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jni/jsc -I./Source/WebCore/bridge/jsc -I./Source/WebCore/css -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/arm -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/linux -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mediastream/gstreamer -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/network -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -DDATA_DIR=\"/usr/share\" -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_CHANNEL_MESSAGING=1   -DENABLE_METER_ELEMENT=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_JAVASCRIPT_DEBUGGER=1   -DENABLE_GAMEPAD=0 -DENABLE_SQL_DATABASE=1  -DENABLE_DATALIST_ELEMENT=1      -DENABLE_DIRECTORY_UPLOAD=0     -DENABLE_TOUCH_ICON_LOADING=0  -DENABLE_INPUT_TYPE_COLOR=0  -DENABLE_INPUT_SPEECH=0  -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_ICONDATABASE=1   -DENABLE_VIDEO=1   -DENABLE_MEDIA_SOURCE=0  -DENABLE_MEDIA_STATISTICS=0 -DENABLE_FULLSCREEN_API=1  -DENABLE_VIDEO_TRACK=0  -DENABLE_MEDIA_STREAM=0 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_FILTERS=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_REGIONS=1   -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_GEOLOCATION=1 -DENABLE_MATHML=1  -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1   -DENABLE_WEB_SOCKETS=1  -DENABLE_BLOB=1 -DENABLE_LEGACY_WEBKIT_BLOB_BUILDER=1  -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_WEBGL=1  -I./Source/WebCore/platform/graphics/texmap  -DENABLE_MHTML=1 -I./Source/WebCore/loader/archive/mhtml      -DENABLE_IFRAME_SEAMLESS=1     -DENABLE_SPELLCHECK=1 -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -DWTF_USE_SOUP=1 -I./Source/WebCore/accessibility/gtk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/geoclue -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/network/soup -I./Source/WebCore/platform/text/gtk -DWTF_USE_FREETYPE=1 -I./Source/WebCore/platform/graphics/freetype   -DENABLE_JIT=1 -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16    -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/libxml2  -I/usr/include/libxml2  -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2   -I/usr/include     -fvisibility-inlines-hidden -fno-rtti -O2 -pipe -Wno-c++0x-compat  -MT Source/WebCore/dom/libWebCore_la-ElementAttributeData.lo -MD -MP -MF Source/WebCore/dom/.deps/libWebCore_la-ElementAttributeData.Tpo -c -o Source/WebCore/dom/libWebCore_la-ElementAttributeData.lo `test -f 'Source/WebCore/dom/ElementAttributeData.cpp' || echo './'`Source/WebCore/dom/ElementAttributeData.cpp
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [Source/WebCore/dom/libWebCore_la-Document.lo] Error 4
make[1]: *** Waiting for unfinished jobs....
mv -f Source/WebCore/dom/.deps/libWebCore_la-DOMImplementation.Tpo Source/WebCore/dom/.deps/libWebCore_la-DOMImplementation.Plo
mv -f Source/WebCore/dom/.deps/libWebCore_la-ElementAttributeData.Tpo Source/WebCore/dom/.deps/libWebCore_la-ElementAttributeData.Plo
mv -f Source/WebCore/dom/.deps/libWebCore_la-ElementShadow.Tpo Source/WebCore/dom/.deps/libWebCore_la-ElementShadow.Plo
mv -f Source/WebCore/dom/.deps/libWebCore_la-Element.Tpo Source/WebCore/dom/.deps/libWebCore_la-Element.Plo
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/work/webkitgtk-1.10.2'
make: *** [all] Error 2
 * ERROR: net-libs/webkit-gtk-1.10.2-r300 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-1.10.2-r300'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-1.10.2-r300'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/work/webkitgtk-1.10.2'
 * S: '/var/tmp/portage/net-libs/webkit-gtk-1.10.2-r300/work/webkitgtk-1.10.2'

>>> Failed to emerge net-libs/webkit-gtk-1.10.2-r300, Log file:
Comment 1 dama 2013-04-11 01:50:30 UTC
Created attachment 345160 [details]
This is my configuration
Comment 2 Rafał Mużyło 2013-04-11 02:16:55 UTC
That looks as if you ran out of disk space / memory while compiling.
Going lower than '-j5' *might* help in such case.
Comment 3 dama 2013-04-12 07:06:36 UTC
Thank you Rafał Mużyło. You are right, I do with what you said and all is OK now!
Comment 4 Pacho Ramos gentoo-dev 2013-04-12 18:00:43 UTC
@gnome team, how to deal with this? I am not sure if we can solve or workaround it in any way :/
Comment 5 Rafał Mużyło 2013-04-12 21:04:20 UTC
(In reply to comment #4)
> @gnome team, how to deal with this? I am not sure if we can solve or
> workaround it in any way :/

Overestimating capabilities of your hardware isn't any type of bug (except maybe PEBCAK). In this case it's not even disk space, which (to a point) can be estimated and/or calculated beforehand). I'd say leave it alone.

While webkit-gtk is a bit greedy in regard of the resources it uses during build, it's not the only such package.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-05-10 21:51:36 UTC
Only you have the power to adapt your configuration to your hardware. It cannot 
and will never be automagic from Gentoo.

You can find on my github repository an example of configuration specific for 
webkit-gtk so it does not build with too many jobs and exhaust memory.

See
 https://github.com/EvaSDK/etc-portage/blob/master/env/j2-build.conf
 https://github.com/EvaSDK/etc-portage/blob/master/package.env

https://github.com/EvaSDK/etc-portage

Do not use the i-know-what-i-am-doing.conf as it probably does not fit your 
needs (it fits mine).