Bug 1454 - mismatch number of parameter passed to css_parser_parse_stylesheet for recipe web_git
Summary: mismatch number of parameter passed to css_parser_parse_stylesheet for recipe...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard: Fix pending
Depends on:
Blocks:
 
Reported: 2011-09-05 21:28 UTC by Jiajun Xu
Modified: 2011-09-21 17:32 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-09-05 21:28:06 UTC
tree/branch: poky/master
commit: 99cb233e0c8058c9a406e18fedae70b0f60e3864


When I was building world with latest commit, web_git will report compile error with mismatch number of parameter passed to css_parser_parse_stylesheet. Error log as below.

The issue is caused by update for gtkhtml2 - css-media.patch, in the patch, the css_parser_parse_stylesheet is modified with 4 parameters passed, instead of 3.

######
i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I../../src -pthread -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gtk-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/gtk-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/atk-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/cairo -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gdk-pixbuf-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pixman-1 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libpng12 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libglade-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gconf/2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/dbus-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/dbus-1.0/include -pthread -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gtkhtml-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gtk-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gdk-pixbuf-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/gtk-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/atk-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/cairo -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pixman-1 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libpng12 -DPKGDATADIR=\"/usr/share/web\" -DPKGLIBDIR=\"/usr/lib/web\" -pthread -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gtk-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/gtk-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/atk-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/cairo -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gdk-pixbuf-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pixman-1 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libpng12 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libglade-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gconf/2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/dbus-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/dbus-1.0/include -pthread -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gtkhtml-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gtk-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gdk-pixbuf-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libxml2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/gtk-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/atk-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/cairo -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/pixman-1 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/freetype2 -I/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/libpng12 -O2 -pipe -g -feliminate-unused-debug-types -MT libwebgtkhtml2_la-web_gtkhtml2.lo -MD -MP -MF .deps/libwebgtkhtml2_la-web_gtkhtml2.Tpo -c web_gtkhtml2.c  -fPIC -DPIC -o .libs/libwebgtkhtml2_la-web_gtkhtml2.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 [enabled by default]
/home/jxu49/osel/poky-hob2/build/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 [enabled by default]
/home/jxu49/osel/poky-hob2/build/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 [enabled by default]
web_gtkhtml2.c: In function 'web_gtkhtml2_add_style':
web_gtkhtml2.c:525:3: error: too few arguments to function 'css_parser_parse_stylesheet'
/home/jxu49/osel/poky-hob2/build/tmp/sysroots/qemux86/usr/include/gtkhtml-2.0/libgtkhtml/css/cssparser.h:33:16: note: declared here
make[3]: *** [libwebgtkhtml2_la-web_gtkhtml2.lo] Error 1
make[3]: Leaving directory `/home/jxu49/osel/poky-hob2/build/tmp/work/i586-poky-linux/web-0.0+git1+96da839f65e17ecc6d5261c1d74accd88423dd7a-r2/git/src/gtkhtml2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jxu49/osel/poky-hob2/build/tmp/work/i586-poky-linux/web-0.0+git1+96da839f65e17ecc6d5261c1d74accd88423dd7a-r2/git/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jxu49/osel/poky-hob2/build/tmp/work/i586-poky-linux/web-0.0+git1+96da839f65e17ecc6d5261c1d74accd88423dd7a-r2/git/src'
make: *** [all-recursive] Error 1
ERROR: oe_runmake failed
######
Comment 2 Joshua Lock - Disabled 2011-09-14 11:04:48 UTC
Is this missing an associated push to the web-sato repository?

I see an error when trying to build web:

"fatal: reference is not a tree: 3fad2eb32b2312093dcd750612bafeff84e32bc9"

And if I change the SRCREV to reflect the latest commit in the public web-sato repository (http://git.yoctoproject.org/cgit/cgit.cgi/web-sato/commit/?id=96da839f65e17ecc6d5261c1d74accd88423dd7a), which was 4 months ago, I see the same error Jiajun reported.
Comment 3 Joshua Lock - Disabled 2011-09-14 11:05:11 UTC
Re-open the bug for attention.