faith's blog

気まぐれ日記

Tizen 環境復旧しました

おはようございます。

M2-March2014 のビルドがほぼほぼ終わって、 weston-simple-egl が起動する環境が復旧しました。

まぁ、crosswalk は動かないんですけどね。

Ubuntu の crosswalk build は、4123/5412 までいったので、もう少しってところですが、 ↓こんな感じのエラーが出て、もうわけがわかりません。

[4123/5412] CXX obj/xwalk/application/common/xwalk_application_lib.application_file_util.o
FAILED: c++ -MMD -MF obj/xwalk/application/common/xwalk_application_lib.application_file_util.o.d -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_
LIBJ
PEG_TURBO=1 -DUSE_MOJO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -
DENA
BLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_D
ISCO
VERY=1 -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1 -DSK_SUPPORT_LEGACY_GETCLIPT
YPE
-DSK_SUPPORT_LEGACY_GETTOTALCLIP -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DU_USING_ICU_NAMESPACE=0 -DU_STATIC_IMPLEMENTATION -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DUSE_SYSTEM_LIBXML -DUSE_NSS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -I../../skia/config -I../../third_part
y/We
bKit/Source -I../../third_party/khronos -I../../gpu -I../../net/third_party/nss/ssl -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../
../t
hird_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -I../../third_party/WebKit -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../v8/include -I../../third_party/libpng -I../../third_party/zli
b -I
../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -Igen/xwalk -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-
type
defs -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -Wno-format -Wno-unused-result -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -O2 -fno-ident -fdata-sect
ions
 -ffunction-sections -funwind-tables -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a15 -mlittle-endian -mfpu=neon -mfloat-abi=hard -g -I/usr/include/arm-linux-gnueabihf -I/usr/include/arm-linux
-gnu
eabihf/c++/4.8 -Wno-deprecated-declarations -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-deprecated -Wno-abi  -c ../../xwalk/application/common/application_file_util.cc -o obj/xwalk/application/common/xwalk_application_lib.application_file_util.o
In file included from /usr/include/libxml2/libxml/parser.h:811:0,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from ../../third_party/libxml/src/include/libxml/tree.h:1249,
                 from ../../xwalk/application/common/application_file_util.cc:26:
/usr/include/libxml2/libxml/xmlIO.h:132:5: error: 'xmlBufPtr' does not name a type
     xmlBufPtr buffer;    /* Local buffer encoded in UTF-8 */
     ^
/usr/include/libxml2/libxml/xmlIO.h:133:5: error: 'xmlBufPtr' does not name a type
     xmlBufPtr raw;       /* if encoder != NULL buffer for raw input */
     ^
/usr/include/libxml2/libxml/xmlIO.h:148:5: error: 'xmlBufPtr' does not name a type
     xmlBufPtr buffer;    /* Local buffer encoded in UTF-8 or ISOLatin */
     ^
/usr/include/libxml2/libxml/xmlIO.h:149:5: error: 'xmlBufPtr' does not name a type
     xmlBufPtr conv;      /* if encoder != NULL buffer for output */
     ^
[4123/5412] CXX obj/content/common/content_common.content_message_generator.o
ninja: build stopped: subcommand failed.

Tien crosswalk の方は、↓こんな感じ。

(gdb) run http://www.google.com
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/lib/xwalk/xwalk http://www.google.com
warning: File "/lib/libthread_db.so.1" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
[0626/133623:INFO:desktop_factory_wayland.cc(15)] Ozone: DesktopFactoryWayland
[New LWP 691]
[0626/133624:INFO:desktop_factory_wayland.cc(15)] Ozone: DesktopFactoryWayland
libEGL warning: MESA-LOADER: malformed or no PCI ID

[New LWP 693]
[0626/133624:ERROR:desktop_drag_drop_client_wayland.cc(14)] Not implemented reached in views::DesktopDragDropClientWayland::DesktopDragDropClientWayland(aura::Window*)
[0626/133624:ERROR:desktop_window_tree_host_wayland.cc(632)] Not implemented reached in virtual void views::DesktopWindowTreeHostWayland::OnRootViewLayout() const
[0626/133624:ERROR:desktop_window_tree_host_wayland.cc(632)] Not implemented reached in virtual void views::DesktopWindowTreeHostWayland::OnRootViewLayout() const
[0626/133625:WARNING:proxy_service.cc(903)] PAC support disabled because there is no system implementation
[0626/133625:ERROR:tizen_platform_sensor.cc(53)] Connection to accelerometer sensor failed
[0626/133625:ERROR:tizen_platform_sensor.cc(68)] Connection to gyroscope sensor failed
[0626/133625:ERROR:tizen_platform_sensor.cc(53)] Connection to accelerometer sensor failed
[0626/133625:ERROR:tizen_platform_sensor.cc(68)] Connection to gyroscope sensor failed
[0626/133625:ERROR:desktop_window_tree_host_wayland.cc(611)] Not implemented reached in virtual void views::DesktopWindowTreeHostWayland::SetWindowIcons(const gfx::ImageSkia&, const gfx::ImageSkia&)
[0626/133625:ERROR:display.cc(140)] Not implemented reached in virtual void ozonewayland::WaylandDisplay::SetWidgetState(unsigned int, ui::WidgetState, unsigned int, unsigned int) SHOW 1
[0626/133626:WARNING:xwalk_external_extension.cc(57)] Error loading extension '/usr/lib/tizen-extensions-crosswalk/libtizen_callhistory.so': couldn't get XW_Initialize function.
[0626/133626:WARNING:xwalk_extension_server.cc(376)] Failed to initialize extension: /usr/lib/tizen-extensions-crosswalk/libtizen_callhistory.so
[New LWP 684]
[0626/133626:INFO:desktop_factory_wayland.cc(15)] Ozone: DesktopFactoryWayland
libEGL warning: MESA-LOADER: malformed or no PCI ID

[0626/133627:ERROR:webgraphicscontext3d_command_buffer_impl.cc(426)] Failed to initialize GLES2CmdHelper.
[0626/133627:ERROR:command_buffer_proxy_impl.cc(151)] Could not send GpuCommandBufferMsg_Initialize.
[0626/133627:ERROR:webgraphicscontext3d_command_buffer_impl.cc(394)] CommandBufferProxy::Initialize failed.
[0626/133627:ERROR:webgraphicscontext3d_command_buffer_impl.cc(413)] Failed to initialize command buffer.
[0626/133627:FATAL:window_state_change_handler.cc(26)] Check failed: !impl_. Replacing set WindowStateChangeHandler implementation.

Program received signal SIGABRT, Aborted.
0xb649a884 in raise () from /lib/libc.so.6

MESA_DEBUG=1 を付けても、とくに有益な情報は無し。 エラーも出てない様子。

gdb で crosswalk 追っかけるしかないのか・・・