LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   webkitgtk fails to build on Slackware61-14.1 (https://www.linuxquestions.org/questions/slackware-14/webkitgtk-fails-to-build-on-slackware61-14-1-a-4175543499/)

frushiyama 05-24-2015 08:15 PM

webkitgtk fails to build on Slackware61-14.1
 
On a fresh and updated install of Slakcware64-14.1 i got this error when tried to build webkitgtk-2.4.9 from slackbuilds.org
Code:

GTK+ configuration:
 GTK+ version                                            : 2.0
 GDK targets                                              : x11
 Introspection support                                    : no
 Generate documentation                                  : no

  GEN      DerivedSources/WebCore/InternalSettingsGenerated.idl
  GEN      DerivedSources/webkitdom/WebKitDOMCustom.h
  GEN      DerivedSources/webkitdom/WebKitDOMDeprecated.h
  GEN      DerivedSources/webkitdom/WebKitDOMEventTarget.h
  GEN      DerivedSources/webkitdom/WebKitDOMObject.h
  GEN      DerivedSources/webkitdom/webkitdom.h
  GEN      DerivedSources/webkitdom/webkitdomdefines.h
  GEN      DerivedSources/webkitdom/WebKitDOMEventTargetPrivate.h
  GEN      gtkdoc-webkitdom.cfg
  GEN      DerivedSources/WebInspectorUI/GResourceBundle.xml
  GEN      stamp-webkitmarshal.cpp
  GEN      stamp-webkitmarshal.h
  GEN      gtkdoc-webkitgtk.cfg
  GEN      stamp-mini-browser-marshal.h
  GEN      stamp-mini-browser-marshal.c
  GEN      DerivedSources/JavaScriptCore/InjectedScriptSource.h
  GEN      DerivedSources/JavaScriptCore/KeywordLookup.h
  GEN      DerivedSources/JavaScriptCore/Lexer.lut.h
Creating hashtable for Source/JavaScriptCore/parser/Keywords.table
  GEN      DerivedSources/JavaScriptCore/RegExpJitTables.h
  GEN      DerivedSources/JavaScriptCore/ArrayConstructor.lut.h
  GEN      DerivedSources/JavaScriptCore/ArrayPrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/ArrayConstructor.cpp
Creating hashtable for Source/JavaScriptCore/runtime/ArrayPrototype.cpp
  GEN      DerivedSources/JavaScriptCore/BooleanPrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/BooleanPrototype.cpp
  GEN      DerivedSources/JavaScriptCore/DateConstructor.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/DateConstructor.cpp
  GEN      DerivedSources/JavaScriptCore/DatePrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/DatePrototype.cpp
  GEN      DerivedSources/JavaScriptCore/ErrorPrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/ErrorPrototype.cpp
  GEN      DerivedSources/JavaScriptCore/JSDataViewPrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/JSDataViewPrototype.cpp
  GEN      DerivedSources/JavaScriptCore/JSGlobalObject.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/JSGlobalObject.cpp
  GEN      DerivedSources/JavaScriptCore/JSONObject.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/JSONObject.cpp
  GEN      DerivedSources/JavaScriptCore/JSPromiseConstructor.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/JSPromiseConstructor.cpp
  GEN      DerivedSources/JavaScriptCore/JSPromisePrototype.lut.h
  GEN      DerivedSources/JavaScriptCore/MathObject.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/JSPromisePrototype.cpp
Creating hashtable for Source/JavaScriptCore/runtime/MathObject.cpp
  GEN      DerivedSources/JavaScriptCore/NamePrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/NamePrototype.cpp
  GEN      DerivedSources/JavaScriptCore/NumberConstructor.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/NumberConstructor.cpp
  GEN      DerivedSources/JavaScriptCore/NumberPrototype.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/NumberPrototype.cpp
  GEN      DerivedSources/JavaScriptCore/ObjectConstructor.lut.h
  GEN      DerivedSources/JavaScriptCore/RegExpConstructor.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/ObjectConstructor.cpp
Creating hashtable for Source/JavaScriptCore/runtime/RegExpConstructor.cpp
  GEN      DerivedSources/JavaScriptCore/RegExpObject.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/RegExpObject.cpp
  GEN      DerivedSources/JavaScriptCore/RegExpPrototype.lut.h
  GEN      DerivedSources/JavaScriptCore/StringConstructor.lut.h
Creating hashtable for Source/JavaScriptCore/runtime/RegExpPrototype.cpp
Creating hashtable for Source/JavaScriptCore/runtime/StringConstructor.cpp
  GEN      DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
offlineasm: Parsing ./Source/JavaScriptCore/llint/LowLevelInterpreter.asm and creating offset extractor DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h.
  GEN      DerivedSources/Platform/ColorData.cpp
  GEN      DerivedSources/Platform/WebKitFontFamilyNames.h
offlineasm: Including file ./Source/JavaScriptCore/llint/LowLevelInterpreter64.asm
  GEN      DerivedSources/WebCore/CSSGrammar.cpp
  GEN      DerivedSources/WebCore/CSSPropertyNames.h
  GEN      DerivedSources/WebCore/CSSValueKeywords.h
offlineasm: Including file ./Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
  GEN      DerivedSources/WebCore/CommandLineAPIModuleSource.h
  GEN      DerivedSources/WebCore/CommandLineAPIModuleSource.h
  GEN      DerivedSources/WebCore/EventFactory.cpp
  GEN      DerivedSources/WebCore/EventHeaders.h
  GEN      DerivedSources/WebCore/EventInterfaces.h
  GEN      DerivedSources/WebCore/EventTargetHeaders.h
  GEN      DerivedSources/WebCore/EventTargetInterfaces.h
  GEN      DerivedSources/WebCore/ExceptionHeaders.h
  GEN      DerivedSources/WebCore/ExceptionCodeDescription.cpp
  GEN      DerivedSources/WebCore/ExceptionInterfaces.h
  GEN      DerivedSources/WebCore/HTMLNames.h
  GEN      DerivedSources/WebCore/HTMLEntityTable.cpp
  GEN      DerivedSources/WebCore/InjectedScriptCanvasModuleSource.h
  GEN      DerivedSources/WebCore/InspectorOverlayPage.h
  GEN      DerivedSources/WebCore/InspectorOverlayPage.h
  GEN      DerivedSources/WebCore/InspectorWeb.json
  GEN      DerivedSources/WebCore/InjectedScriptCanvasModuleSource.h
  GEN      DerivedSources/JavaScriptCore/InspectorJS.json
  GEN      DerivedSources/WebCore/JSANGLEInstancedArrays.h
  GEN      DerivedSources/WebCore/JSAbstractWorker.h
Cannot open ./DerivedSources/WebCore/idl_supplemental_dependencies
make: ** [DerivedSources/WebCore/JSANGLEInstancedArrays.h] Erro 2
make: *** Esperando que os outros processos terminem....
Cannot open ./DerivedSources/WebCore/idl_supplemental_dependencies
make: ** [DerivedSources/WebCore/JSAbstractWorker.h] Erro 2
offlineasm: offset extractor DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h successfully generated.

I tried to google this last error unsucesfull. Any hints on how to build?

55020 05-25-2015 12:10 AM

On Slackware-14.1, don't build webkitgtk with multiple make jobs. Use -j1 only.

willysr 05-25-2015 12:57 AM

have you installed all dependencies?

Bindestreck 05-25-2015 03:14 AM

Quote:

Originally Posted by 55020 (Post 5366995)
On Slackware-14.1, don't build webkitgtk with multiple make jobs. Use -j1 only.

Thank you for this, using -j1 worked.

willysr 05-25-2015 04:45 AM

it supposed to work without any problem
i tested this on Slackware64-14.1 using sbopkg with default configuration
Code:

libwebp:
  MD5SUM check for libwebp-0.4.3.tar.gz ... OK
  Building package libwebp-0.4.3-x86_64-1_SBo.tgz ... OK
  Installing package libwebp-0.4.3-x86_64-1_SBo.tgz ... OK

orc:
  MD5SUM check for orc-0.4.23.tar.xz ... OK
  Building package orc-0.4.23-x86_64-1_SBo.tgz ... OK
  Installing package orc-0.4.23-x86_64-1_SBo.tgz ... OK

gstreamer1:
  MD5SUM check for gstreamer-1.4.5.tar.xz ... OK
  Building package gstreamer1-1.4.5-x86_64-1_SBo.tgz ... OK
  Installing package gstreamer1-1.4.5-x86_64-1_SBo.tgz ... OK

gst1-plugins-base:
  MD5SUM check for gst-plugins-base-1.4.5.tar.xz ... OK
  Building package gst1-plugins-base-1.4.5-x86_64-1_SBo.tgz ... OK
  Installing package gst1-plugins-base-1.4.5-x86_64-1_SBo.tgz ... OK

webkitgtk:
  MD5SUM check for webkitgtk-2.4.9.tar.xz ... OK
  Building package webkitgtk-2.4.9-x86_64-1_SBo.tgz ... OK
  Installing package webkitgtk-2.4.9-x86_64-1_SBo.tgz ... OK


dederon 05-25-2015 01:15 PM

i remember long ago the slackbuild itself would run "make -j1", but the -j1 flag is gone. maybe put it back?

55020 05-25-2015 02:32 PM

I hear rumours that -j1 is not needed on -current for many packages (because of the new build of make), possibly including webkitgtk, which is why I said "On Slackware-14.1..."

ponce 05-25-2015 02:51 PM

Quote:

Originally Posted by 55020 (Post 5367271)
I hear rumours that -j1 is not needed on -current for many packages (because of the new build of make), possibly including webkitgtk, which is why I said "On Slackware-14.1..."

I can confirm this: I'm building webkitgtk (and other stuff that on stable doesn't like parallels jobs) on current without the need of forcing -j1.

dederon 05-25-2015 06:16 PM

as slackbuilds are made for releases (not for current), i still think the -j1 flag should stay (until the next release).

willysr 05-25-2015 07:26 PM

i built webkitgtk on Slackware64-14.1 with default configuration (and it has 2 cores) just fine. No need to set -j1. I guess if you have more than 2 cores, then it would be problematic

frushiyama 05-26-2015 06:17 AM

This machine is a 2 core, so i had MAKEFLAGS="-j3" exported on my /etc/profile .
Without any MAKEFLAGS exported, it compiles fine. Tonight i will try with MAKEFLAGS equals the number of the cores.


All times are GMT -5. The time now is 02:59 AM.