Bug 106861 - [regression] build failure: Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:38:20: fatal error: hb-icu.h: No such file or directory
Summary: [regression] build failure: Source/WebCore/platform/graphics/harfbuzz/ng/Har...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-14 20:01 PST by David Ronis
Modified: 2015-05-11 23:14 PDT (History)
5 users (show)

See Also:


Attachments
config.log (85.08 KB, text/plain)
2013-03-29 13:48 PDT, David Ronis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Ronis 2013-01-14 20:01:51 PST
I'm trying to upgrade webkitgtk+ from 1.11.2 to 1.11.4.   The build dies with:

Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:38:20: fatal error: hb-icu.h: No such file or directory
compilation terminated.
make[2]: *** [Source/WebCore/platform/graphics/harfbuzz/ng/libWebCore_la-HarfBuzzShaper.lo] Error 1

I tried with harfbuzz 0.9.7 or 0.9.9 installed, with the same result.  The install include harfbuzz directory
does not include this file.

I also tried replacing the include for hb-icu.h by hb.h (which here simply includes the rest of the hb-.h files.   The compilation still dies
complaining that hb_icu_script_to_script wasn't defined (it's not in any of the hb include files).
Comment 1 David Ronis 2013-02-08 10:40:02 PST
I tried upgrading to webkit 1.11.5.  The build still dies.
Comment 2 Seokju Kwon 2013-02-13 21:36:42 PST
You can use patches below for harfbuzz.

Tools/gtk/patches/harfbuzz-icu-detection-fix.patch
Tools/efl/patches/harfbuzz-icu-detection-fix.patch
Comment 3 David Ronis 2013-02-26 09:53:03 PST
I just tried building 1.11.90.  The problem remains.

Seokju,

The patches you mentioned in comment #2 weren't uploaded it seems.
Comment 4 David Ronis 2013-02-26 14:21:56 PST
I found (I think) the patch on the web.  It's at:

https://raw.github.com/WebKit/webkit/master/Tools/gtk/patches/harfbuzz-icu-detection-fix.patch

and is to be applied to harfbuzz.
Comment 5 David Ronis 2013-02-26 20:35:31 PST
With the patch applied and harfbuzz reinstalled, I get further in the webkit build.  However, I now die at

libtool: compile:  /usr/bin/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 -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -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/navigatorcontentutils -I./Source/WebCore/Modules/notifications -I./Source/WebCore/Modules/proximity -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/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/archive/mhtml -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/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters/ -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/texmap -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -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/png -I./Source/WebCore/platform/image-decoders/webp -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/network/gtk -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=\"/opt/garnome-3.7.5/share\" -I./Source/WebCore/platform/graphics/texmap -DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_BLOB=1 -DENABLE_CANVAS_PATH=0 -DENABLE_CANVAS_PROXY=0 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSP_NEXT=0 -DENABLE_CSS3_TEXT=0 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=0 -DENABLE_CSS_DEVICE_ADAPTATION=0 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_IMAGE_SET=0 -DENABLE_CSS_REGIONS=0 -DENABLE_CSS_SHADERS=1 -DENABLE_CSS_STICKY_POSITION=0 -DENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CUSTOM_SCHEME_HANDLER=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATALIST_ELEMENT=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIALOG_ELEMENT=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOM4_EVENTS_CONSTRUCTOR=0 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=0 -DENABLE_FULLSCREEN_API=1 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=1 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_COLOR=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_INSPECTOR=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_LEGACY_NOTIFICATIONS=0 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LEGACY_WEB_AUDIO=0 -DENABLE_LINK_PREFETCH=0 -DENABLE_LINK_PRERENDER=0 -DENABLE_MATHML=1 -DENABLE_MEDIA_CAPTURE=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_MICRODATA=0 -DENABLE_MOUSE_CURSOR_SCALE=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_NETWORK_INFO=0 -DENABLE_NOTIFICATIONS=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PAGE_VISIBILITY_API=0 -DENABLE_PERFORMANCE_TIMELINE=0 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_RESOURCE_TIMING=0 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SPELLCHECK=1 -DENABLE_SQL_DATABASE=1 -DENABLE_STYLE_SCOPED=0 -DENABLE_SVG=1 -DENABLE_SVG_DOM_OBJC_BINDINGS=0 -DENABLE_SVG_FONTS=1 -DENABLE_TEMPLATE_ELEMENT=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_TOUCH_EVENTS=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_USER_TIMING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=1 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEBGL=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DENABLE_XSLT=1 -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -I./Source/WebCore/accessibility/atk -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/freetype -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/egl -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/enchant -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/opt/garnome-3.7.5/include/cairo -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng14 -pthread -I/opt/garnome-3.7.5/include/enchant -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/cairo -I/opt/garnome-3.7.5/include/freetype2 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/dbus-1.0 -I/opt/garnome-3.7.5/include/libxml2 -I/opt/garnome-3.7.5/lib/dbus-1.0/include -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/gstreamer-1.0 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/libsecret-1 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/libsoup-2.4 -I/opt/garnome-3.7.5/include/libxml2 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/libxml2 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/libxml2 -pthread -I/opt/garnome-3.7.5/include/pango-1.0 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/harfbuzz -I/opt/garnome-3.7.5/include/freetype2 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include -D_REENTRANT -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include -fvisibility-inlines-hidden -fno-rtti -I/opt/garnome-3.7.5/include -L/opt/garnome-3.7.5/lib -O2 -pipe -Wno-c++0x-compat -O2 -MT Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzShaper.lo -MD -MP -MF Source/WebCore/platform/graphics/harfbuzz/.deps/libWebCore_la-HarfBuzzShaper.Tpo -c Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp  -fPIC -DPIC -o Source/WebCore/platform/graphics/harfbuzz/.libs/libWebCore_la-HarfBuzzShaper.o
In file included from /opt/garnome-3.7.5/include/unicode/normlzr.h:22:0,
                 from Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp:39:
/opt/garnome-3.7.5/include/unicode/unistr.h: In member function 'icu_4_2::UnicodeString& icu_4_2::UnicodeString::replace(int32_t, int32_t, UChar32)':
/opt/garnome-3.7.5/include/unicode/unistr.h:3986:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
/opt/garnome-3.7.5/include/unicode/unistr.h: In member function 'icu_4_2::UnicodeString& icu_4_2::UnicodeString::append(UChar32)':
/opt/garnome-3.7.5/include/unicode/unistr.h:4264:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp: In member function 'bool WebCore::HarfBuzzShaper::collectHarfBuzzRuns()':
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp:300:169: error: 'uscript_hasScript' was not declared in this scope
make[2]: *** [Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzSh

I didn't rerun webkit's configure, so perhaps that might be the answer.  I'll give it a try and report the result tomorrow.
Comment 6 David Ronis 2013-03-12 21:52:08 PDT
I upgraded to 1.11.91.  The build stilll dies with:

libtool: compile:  /usr/bin/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 -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -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/navigatorcontentutils -I./Source/WebCore/Modules/notifications -I./Source/WebCore/Modules/proximity -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/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/archive/mhtml -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/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters/ -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/texmap -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -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/png -I./Source/WebCore/platform/image-decoders/webp -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/network/gtk -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=\"/opt/garnome-3.7.5/share\" -I./Source/WebCore/platform/graphics/texmap -DWTF_USE_LEVELDB=1 -I./Source/ThirdParty/leveldb -I./Source/ThirdParty/leveldb/include -DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=0 -DENABLE_BATTERY_STATUS=0 -DENABLE_BLOB=1 -DENABLE_CANVAS_PATH=1 -DENABLE_CANVAS_PROXY=0 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSP_NEXT=1 -DENABLE_CSS3_TEXT=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=0 -DENABLE_CSS_DEVICE_ADAPTATION=0 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_ORIENTATION=1 -DENABLE_CSS_IMAGE_RESOLUTION=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_SHADERS=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=1 -DENABLE_CSS_VARIABLES=1 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CUSTOM_SCHEME_HANDLER=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATALIST_ELEMENT=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIALOG_ELEMENT=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_DOM4_EVENTS_CONSTRUCTOR=1 -DENABLE_DOWNLOAD_ATTRIBUTE=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_FULLSCREEN_API=1 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=1 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INDEXED_DATABASE=1 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_COLOR=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_INSPECTOR=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_LEGACY_NOTIFICATIONS=0 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LEGACY_WEB_AUDIO=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_LINK_PRERENDER=0 -DENABLE_MATHML=1 -DENABLE_MEDIA_CAPTURE=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_MICRODATA=1 -DENABLE_MOUSE_CURSOR_SCALE=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_NETWORK_INFO=0 -DENABLE_NOTIFICATIONS=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PAGE_VISIBILITY_API=0 -DENABLE_PERFORMANCE_TIMELINE=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_RESOURCE_TIMING=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SHADOW_DOM=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SPELLCHECK=1 -DENABLE_SQL_DATABASE=1 -DENABLE_STYLE_SCOPED=1 -DENABLE_SVG=1 -DENABLE_SVG_DOM_OBJC_BINDINGS=0 -DENABLE_SVG_FONTS=1 -DENABLE_TEMPLATE_ELEMENT=1 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_TOUCH_EVENTS=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_USER_TIMING=1 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=1 -DENABLE_VIDEO_TRACK=1 -DENABLE_WEBGL=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DENABLE_XSLT=1 -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -I./Source/WebCore/accessibility/atk -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/freetype -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/egl -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/enchant -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/opt/garnome-3.7.5/include/cairo -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng14 -pthread -I/opt/garnome-3.7.5/include/enchant -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/cairo -I/opt/garnome-3.7.5/include/freetype2 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/dbus-1.0 -I/opt/garnome-3.7.5/include/libxml2 -I/opt/garnome-3.7.5/lib/dbus-1.0/include -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/gstreamer-1.0 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/libsecret-1 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -pthread -I/opt/garnome-3.7.5/include/libsoup-2.4 -I/opt/garnome-3.7.5/include/libxml2 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/libxml2 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include/libxml2 -pthread -I/opt/garnome-3.7.5/include/pango-1.0 -I/opt/garnome-3.7.5/include/glib-2.0 -I/opt/garnome-3.7.5/lib/glib-2.0/include -I/opt/garnome-3.7.5/include/harfbuzz -I/opt/garnome-3.7.5/include/freetype2 -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include -D_REENTRANT -I/opt/garnome-3.7.5/include -I/opt/garnome-3.7.5/include -fvisibility-inlines-hidden -fno-rtti -I/opt/garnome-3.7.5/include -L/opt/garnome-3.7.5/lib -O2 -pipe -Wno-c++0x-compat -O2 -MT Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzShaper.lo -MD -MP -MF Source/WebCore/platform/graphics/harfbuzz/.deps/libWebCore_la-HarfBuzzShaper.Tpo -c Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp  -fPIC -DPIC -o Source/WebCore/platform/graphics/harfbuzz/.libs/libWebCore_la-HarfBuzzShaper.o
In file included from /opt/garnome-3.7.5/include/unicode/normlzr.h:22:0,
                 from Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp:39:
/opt/garnome-3.7.5/include/unicode/unistr.h: In member function 'icu_4_2::UnicodeString& icu_4_2::UnicodeString::replace(int32_t, int32_t, UChar32)':
/opt/garnome-3.7.5/include/unicode/unistr.h:3986:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
/opt/garnome-3.7.5/include/unicode/unistr.h: In member function 'icu_4_2::UnicodeString& icu_4_2::UnicodeString::append(UChar32)':
/opt/garnome-3.7.5/include/unicode/unistr.h:4264:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp: In member function 'bool WebCore::HarfBuzzShaper::collectHarfBuzzRuns()':
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp:300:169: error: 'uscript_hasScript' was not declared in this scope
make[2]: *** [Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzShaper.lo] Error 1
Comment 7 Zan Dobersek 2013-03-26 12:34:39 PDT
Can you please append config.log?

Also, could you try building WebKitGTK+ using Harfbuzz 0.9.14? That's the version provided through the Jhbuild environment that's normally used doing development builds and these build OK. Harfbuzz 0.9.14 already contains the ICU detection patches mentioned in comment #2 so you wouldn't have to apply those.
Comment 8 David Ronis 2013-03-29 13:46:39 PDT
I upgraded harfbuzz and webkitgtk to 0.9.14 and 2.0.0, respectively.   The build still dies with

/bin/sh ./libtool  --tag=CXX   --mode=compile /usr/bin/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 -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -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/navigatorcontentutils -I./Source/WebCore/Modules/notifications -I./Source/WebCore/Modules/proximity -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/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/archive/mhtml -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/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters/ -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/texmap -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -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/png -I./Source/WebCore/platform/image-decoders/webp -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/network/gtk -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=\"/opt/garnome-3.8/share\"  -I./Source/WebCore/platform/graphics/texmap   -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -I./Source/WebCore/accessibility/atk -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/freetype -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/egl -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/enchant   -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/opt/garnome-3.8/include/cairo -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng14     -pthread -I/opt/garnome-3.8/include/enchant -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include   -I/opt/garnome-3.8/include/cairo -I/opt/garnome-3.8/include/freetype2 -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/libpng14    -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/dbus-1.0 -I/opt/garnome-3.8/include/libxml2 -I/opt/garnome-3.8/lib/dbus-1.0/include -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include   -pthread -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include   -pthread -I/opt/garnome-3.8/include/gstreamer-1.0 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include   -pthread -I/opt/garnome-3.8/include/libsecret-1 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include   -pthread -I/opt/garnome-3.8/include/libsoup-2.4 -I/opt/garnome-3.8/include/libxml2 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include   -I/opt/garnome-3.8/include/libxml2   -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/libxml2   -pthread -I/opt/garnome-3.8/include/pango-1.0 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include/harfbuzz -I/opt/garnome-3.8/include/freetype2 -I/opt/garnome-3.8/include   -I/opt/garnome-3.8/include   -I/opt/garnome-3.8/include -D_REENTRANT  -I/opt/garnome-3.8/include    -I/opt/garnome-3.8/include -fvisibility-inlines-hidden -fno-rtti -I/opt/garnome-3.8/include -L/opt/garnome-3.8/lib -O2  -pipe -Wno-c++11-compat -O2 -MT Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzShaper.lo -MD -MP -MF Source/WebCore/platform/graphics/harfbuzz/.deps/libWebCore_la-HarfBuzzShaper.Tpo -c -o Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzShaper.lo `test -f 'Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp' || echo './'`Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp
libtool: compile:  /usr/bin/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 -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -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/navigatorcontentutils -I./Source/WebCore/Modules/notifications -I./Source/WebCore/Modules/proximity -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/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/archive/mhtml -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/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters/ -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/texmap -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -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/png -I./Source/WebCore/platform/image-decoders/webp -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/network/gtk -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=\"/opt/garnome-3.8/share\" -I./Source/WebCore/platform/graphics/texmap -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -I./Source/WebCore/accessibility/atk -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/freetype -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/egl -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/enchant -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/opt/garnome-3.8/include/cairo -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng14 -pthread -I/opt/garnome-3.8/include/enchant -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include/cairo -I/opt/garnome-3.8/include/freetype2 -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/dbus-1.0 -I/opt/garnome-3.8/include/libxml2 -I/opt/garnome-3.8/lib/dbus-1.0/include -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -pthread -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -pthread -I/opt/garnome-3.8/include/gstreamer-1.0 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -pthread -I/opt/garnome-3.8/include/libsecret-1 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -pthread -I/opt/garnome-3.8/include/libsoup-2.4 -I/opt/garnome-3.8/include/libxml2 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include/libxml2 -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include/libxml2 -pthread -I/opt/garnome-3.8/include/pango-1.0 -I/opt/garnome-3.8/include/glib-2.0 -I/opt/garnome-3.8/lib/glib-2.0/include -I/opt/garnome-3.8/include/harfbuzz -I/opt/garnome-3.8/include/freetype2 -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include -D_REENTRANT -I/opt/garnome-3.8/include -I/opt/garnome-3.8/include -fvisibility-inlines-hidden -fno-rtti -I/opt/garnome-3.8/include -L/opt/garnome-3.8/lib -O2 -pipe -Wno-c++11-compat -O2 -MT Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzShaper.lo -MD -MP -MF Source/WebCore/platform/graphics/harfbuzz/.deps/libWebCore_la-HarfBuzzShaper.Tpo -c Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp  -fPIC -DPIC -o Source/WebCore/platform/graphics/harfbuzz/.libs/libWebCore_la-HarfBuzzShaper.o
In file included from /opt/garnome-3.8/include/unicode/normlzr.h:22:0,
                 from Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp:39:
/opt/garnome-3.8/include/unicode/unistr.h: In member function 'icu_4_2::UnicodeString& icu_4_2::UnicodeString::replace(int32_t, int32_t, UChar32)':
/opt/garnome-3.8/include/unicode/unistr.h:3986:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
/opt/garnome-3.8/include/unicode/unistr.h: In member function 'icu_4_2::UnicodeString& icu_4_2::UnicodeString::append(UChar32)':
/opt/garnome-3.8/include/unicode/unistr.h:4264:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp: In member function 'bool WebCore::HarfBuzzShaper::collectHarfBuzzRuns()':
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp:300:169: error: 'uscript_hasScript' was not declared in this scope
make[2]: *** [Source/WebCore/platform/graphics/harfbuzz/libWebCore_la-HarfBuzzShaper.lo] Error 1
Comment 9 David Ronis 2013-03-29 13:48:39 PDT
Created attachment 195792 [details]
config.log

my config.log file as requested.
Comment 10 Martin Robinson 2013-03-29 14:16:13 PDT
It seems that your harfbuzz was still built without ICU support. Do you have ICUJ development packages installed?
Comment 11 David Ronis 2013-03-29 14:28:06 PDT
I'm running slackware--no icu development packages.  Nonetheless, I've got libicu-4.2 (icu4c)  installed.  I notice that icu-5.1 is out and I'll try upgrading to it.
Comment 12 Martin Robinson 2013-03-29 14:34:29 PDT
(In reply to comment #11)
> I'm running slackware--no icu development packages.  Nonetheless, I've got libicu-4.2 (icu4c)  installed.  I notice that icu-5.1 is out and I'll try upgrading to it.

When configuring harfbuzz ensure that it actually detects ICU, otherwise it won't install the hb-icu.h header. :)
Comment 13 Martin Robinson 2013-04-10 10:51:34 PDT
Any luck with this?
Comment 14 David Ronis 2013-04-10 11:25:50 PDT
Sorry for not getting back to you.   I think that the problem was the order I'd built things.   Making sure that  icu is built before harfbuzz fixes the problem.

Thanks

David
Comment 15 Martin Robinson 2013-04-10 11:33:24 PDT
Thanks for the update!