<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1454</bug_id>
          
          <creation_ts>2011-09-05 21:28:06 +0000</creation_ts>
          <short_desc>mismatch number of parameter passed to css_parser_parse_stylesheet for recipe web_git</short_desc>
          <delta_ts>2011-09-21 17:32:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Fix pending</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>josh</cc>
    
    <cc>ke.yu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16027</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-05 21:28:06 +0000</bug_when>
    <thetext>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=\&quot;/usr/share/web\&quot; -DPKGLIBDIR=\&quot;/usr/lib/web\&quot; -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 &apos;web_gtkhtml2_title_tooltip_cb&apos;:
web_gtkhtml2.c:200:4: warning: passing argument 2 of &apos;strcasecmp&apos; 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 &apos;const char *&apos; but argument is of type &apos;int&apos;
web_gtkhtml2.c: In function &apos;web_gtkhtml2_new&apos;:
web_gtkhtml2.c:299:2: warning: passing argument 1 of &apos;gtk_widget_show_all&apos; 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 &apos;struct GtkWidget *&apos; but argument is of type &apos;struct HtmlView *&apos;
web_gtkhtml2.c:301:2: warning: return from incompatible pointer type [enabled by default]
web_gtkhtml2.c: In function &apos;web_gtkhtml2_add_style&apos;:
web_gtkhtml2.c:525:3: error: too few arguments to function &apos;css_parser_parse_stylesheet&apos;
/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&apos;
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&apos;
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&apos;
make: *** [all-recursive] Error 1
ERROR: oe_runmake failed
######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16086</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-07 17:44:36 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f85cb8f6e17fe0232ee8f8c4fa65f65bc3c47786</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16187</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-09-14 11:04:48 +0000</bug_when>
    <thetext>Is this missing an associated push to the web-sato repository?

I see an error when trying to build web:

&quot;fatal: reference is not a tree: 3fad2eb32b2312093dcd750612bafeff84e32bc9&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16188</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-09-14 11:05:11 +0000</bug_when>
    <thetext>Re-open the bug for attention.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16364</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-21 17:32:26 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5a489eceb5e98fe6e4112171f804236ecad58403</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>