Working with the bernard-5.0 release tag: bitbake web fails OE Build Configuration: BB_VERSION = "1.11.0" METADATA_BRANCH = "bernard-5.0_LOCAL" METADATA_REVISION = "8b6416db1e04af83ecdf57522240ac859d5d8031" TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.0" TARGET_FPU = "" NOTE: Resolving any missing task queue dependencies Log data follows: | NOTE: make -j 2 | Making all in src | make[1]: Entering directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' | make all-recursive | make[2]: Entering directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' | Making all in gtkhtml2 | make[3]: Entering directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src/gtkhtml2' ... /qemux86/usr/include/libpng12 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -MT libwebgtkhtml2_la-web_gtkhtml2_js.lo -MD -MP -MF .deps/libwebgtkhtml2_la-web_gtkhtml2_js.Tpo -c web_gtkhtml2_js.c -fPIC -DPIC -o .libs/libwebgtkhtml2_la-web_gtkhtml2_js.o | web_gtkhtml2.c: In function 'web_gtkhtml2_title_tooltip_cb': | web_gtkhtml2.c:200:4: warning: passing argument 2 of 'strcasecmp' makes pointer from integer without a cast | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/string.h:536:12: note: expected 'const char *' but argument is of type 'int' | web_gtkhtml2.c: In function 'web_gtkhtml2_new': | web_gtkhtml2.c:299:2: warning: passing argument 1 of 'gtk_widget_show_all' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/gtk-2.0/gtk/gtkwidget.h:851:9: note: expected 'struct GtkWidget *' but argument is of type 'struct HtmlView *' | web_gtkhtml2.c:301:2: warning: return from incompatible pointer type | web_gtkhtml2.c: In function 'web_gtkhtml2_add_style': | web_gtkhtml2.c:525:3: error: too many arguments to function 'css_parser_parse_stylesheet' | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/gtkhtml-2.0/libgtkhtml/css/cssparser.h:32:16: note: declared here | make[3]: *** [libwebgtkhtml2_la-web_gtkhtml2.lo] Error 1 | make[3]: *** Waiting for unfinished jobs.... | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_HTMLElement_addEventListener': | web_gtkhtml2_js.c:549:18: warning: assignment makes pointer from integer without a cast | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_HTMLElement_insertBefore': | web_gtkhtml2_js.c:607:9: warning: assignment makes pointer from integer without a cast | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_HTMLElement_setAttribute': | web_gtkhtml2_js.c:670:2: warning: passing argument 2 of 'dom_Element_setAttribute' discards qualifiers from pointer target type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-element.h:54:6: note: expected 'DomString *' but argument is of type 'const gchar *' | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_HTMLDocument_getProperty': | web_gtkhtml2_js.c:925:19: warning: initialization makes pointer from integer without a cast | web_gtkhtml2_js.c:942:6: warning: passing argument 2 of 'web_gtkhtml2_dom_find' from incompatible pointer type | web_gtkhtml2.h:47:10: note: expected 'GEqualFunc' but argument is of type 'gboolean (*)(void *, void *)' | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_Style_setProperty': | web_gtkhtml2_js.c:1235:8: warning: assignment makes pointer from integer without a cast | web_gtkhtml2_js.c:1238:8: warning: assignment makes pointer from integer without a cast | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_parse': | web_gtkhtml2_js.c:1318:3: warning: passing argument 6 of 'JS_EvaluateScript' makes integer from pointer without a cast | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:2088:1: note: expected 'uintN' but argument is of type 'char *' | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_init': | web_gtkhtml2_js.c:1460:2: warning: passing argument 2 of 'g_hash_table_foreach_remove' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/ghash.h:91:11: note: expected 'GHRFunc' but argument is of type 'const gboolean (*)(void)' | web_gtkhtml2_js.c:1471:2: warning: passing argument 7 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSPropertySpec *' but argument is of type 'struct JSPropertySpec (*)[24]' | web_gtkhtml2_js.c:1471:2: warning: passing argument 8 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSFunctionSpec (*)[7]' | web_gtkhtml2_js.c:1478:2: warning: passing argument 7 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSPropertySpec *' but argument is of type 'struct JSPropertySpec (*)[5]' | web_gtkhtml2_js.c:1478:2: warning: passing argument 8 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSFunctionSpec (*)[6]' | web_gtkhtml2_js.c:1485:2: warning: passing argument 7 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSPropertySpec *' but argument is of type 'struct JSPropertySpec (*)[1]' | web_gtkhtml2_js.c:1485:2: warning: passing argument 8 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSPropertySpec (*)[1]' | web_gtkhtml2_js.c:1489:2: warning: passing argument 3 of 'JS_DefineFunctions' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1902:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSPropertySpec *' | web_gtkhtml2_js.c:1492:2: warning: passing argument 7 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSPropertySpec *' but argument is of type 'struct JSPropertySpec (*)[3]' | web_gtkhtml2_js.c:1492:2: warning: passing argument 8 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSPropertySpec (*)[1]' | web_gtkhtml2_js.c:1496:2: warning: passing argument 3 of 'JS_DefineFunctions' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1902:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSPropertySpec *' | web_gtkhtml2_js.c:1499:2: warning: passing argument 7 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSPropertySpec *' but argument is of type 'struct JSPropertySpec (*)[4]' | web_gtkhtml2_js.c:1499:2: warning: passing argument 8 of 'JS_InitClass' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1480:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSPropertySpec (*)[1]' | web_gtkhtml2_js.c:1503:2: warning: passing argument 3 of 'JS_DefineFunctions' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/js/jsapi.h:1902:1: note: expected 'struct JSFunctionSpec *' but argument is of type 'struct JSPropertySpec *' | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_run': | web_gtkhtml2_js.c:1687:3: warning: passing argument 1 of 'dom_Attr__get_name' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-attr.h:45:12: note: expected 'struct DomAttr *' but argument is of type 'struct DomNode *' | web_gtkhtml2_js.c:1688:3: warning: passing argument 1 of 'dom_Attr__get_value' from incompatible pointer type | /work/rber/poky-bernard-5.0-x86-qemu/tmp/sysroots/qemux86/usr/include/gtkhtml-2.0/libgtkhtml/dom/core/dom-attr.h:46:12: note: expected 'struct DomAttr *' but argument is of type 'struct DomNode *' | web_gtkhtml2_js.c:1720:16: warning: assignment makes pointer from integer without a cast | web_gtkhtml2_js.c: In function 'web_gtkhtml2_js_HTMLElement_addEventListener': | web_gtkhtml2_js.c:550:17: warning: ignoring return value of 'g_list_prepend', declared with attribute warn_unused_result | i586-poky-linux-libtool: compile: i586-poky-linux-gcc -march=i586 | mv -f .deps/libwebgtkhtml2_la-web_gtkhtml2_js.Tpo .deps/libwebgtkhtml2_la-web_gtkhtml2_js.Plo | make[3]: Leaving directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src/gtkhtml2' | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' | make[1]: *** [all] Error 2 | make[1]: Leaving directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' | make: *** [all-recursive] Error 1 | FATAL: oe_runmake failed | ERROR: Function 'do_compile' failed (see /work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/temp/log.do_compile.23371 for further information) NOTE: package web-0.0+svnr129-r4: task do_compile: Failed ERROR: Task 8 (/work/rber/poky/meta/recipes-sato/web/web_svn.bb, do_compile) failed with exit code '1' ERROR: '/work/rber/poky/meta/recipes-sato/web/web_svn.bb' failed rber@yocto-vm-1:~/projects/yocto/yocto_for_trainer/sandbox_work$ cat /work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/temp/log.do_compile.23371 NOTE: make -j 2 Making all in src make[1]: Entering directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' make all-recursive make[2]: Entering directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' Making all in gtkhtml2 make[3]: Entering directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586- ... mv -f .deps/libwebgtkhtml2_la-web_gtkhtml2_js.Tpo .deps/libwebgtkhtml2_la-web_gtkhtml2_js.Plo make[3]: Leaving directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src/gtkhtml2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/trunk/src' make: *** [all-recursive] Error 1 FATAL: oe_runmake failed ERROR: Function 'do_compile' failed (see /work/rber/poky-bernard-5.0-x86-qemu/tmp/work/i586-poky-linux/web-0.0+svnr129-r4/temp/log.do_compile.23371 for further information)
I am working on a patch for this right now. --- trunk.orig/src/gtkhtml2/web_gtkhtml2.c 2011-02-11 02:34:02.000000000 -0800 +++ trunk/src/gtkhtml2/web_gtkhtml2.c 2011-04-12 15:26:52.476000021 -0700 @@ -522,7 +522,7 @@ css->style = g_strdup (style); css->media = g_strdup (media); css->sheet = css_parser_parse_stylesheet (css->style, - strlen (css->style), NULL, css->media); + strlen (css->style)); data->sheets = g_slist_prepend ( data->sheets, css);
Working to get a fix into the upstream project dircetly, since this is an SVN based upstream.
Fixed in Upstream
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=335ff67e0032952d7df7a2beee34a7d8cd69ddc6
Bernard http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1d8535ccb7615839487466a18cae7ca9db86711d