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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>36496</bug_id>
          
          <creation_ts>2010-03-23 09:37:08 -0700</creation_ts>
          <short_desc>FontPlatformDataPango.cpp: prototype for &apos;WebCore::FontPlatformData::FontPlatformData(cairo_font_face_t*, int, bool, bool)&apos; does not match any in class</short_desc>
          <delta_ts>2010-03-26 08:35:55 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jeff Kowalczyk">jtk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jchaffraix</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>203075</commentid>
    <comment_count>0</comment_count>
    <who name="Jeff Kowalczyk">jtk</who>
    <bug_when>2010-03-23 09:37:08 -0700</bug_when>
    <thetext>Gentoo Linux ~amd64: git checkout compile fails as of 4226ec2b543 with the following error:

./doltlibtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DWTF_USE_ICU_UNICODE=1   -DNDEBUG   -I./WebCore -I./WebCore/accessibility -I./WebCore/bindings/js -I./WebCore/bridge -I./WebCore/bridge/c -I./WebCore/bridge/jni/jsc -I./WebCore/bridge/jsc -I./WebCore/css -I./WebCore/dom -I./WebCore/dom/default -I./WebCore/editing -I./WebCore/history -I./WebCore/html -I./WebCore/html/canvas -I./WebCore/inspector -I./WebCore/loader -I./WebCore/loader/appcache -I./WebCore/loader/archive -I./WebCore/loader/icon -I./WebCore/mathml -I./WebCore/notifications -I./WebCore/page -I./WebCore/page/animation -I./WebCore/platform -I./WebCore/platform/animation -I./WebCore/platform/graphics -I./WebCore/platform/graphics/filters -I./WebCore/platform/graphics/transforms -I./WebCore/platform/image-decoders -I./WebCore/platform/image-decoders/bmp -I./WebCore/platform/image-decoders/gif -I./WebCore/platform/image-decoders/ico -I./WebCore/platform/image-decoders/jpeg -I./WebCore/platform/image-decoders/png -I./WebCore/platform/mock -I./WebCore/platform/network -I./WebCore/platform/sql -I./WebCore/platform/text -I./WebCore/plugins -I./WebCore/rendering -I./WebCore/rendering/style -I./WebCore/storage -I./WebCore/svg -I./WebCore/svg/animation -I./WebCore/svg/graphics -I./WebCore/svg/graphics/filters -I./WebCore/websockets -I./WebCore/wml -I./WebCore/workers -I./WebCore/xml -I./WebCore/bindings/js -DDATA_DIR=\&quot;/usr/share\&quot; -DENABLE_CHANNEL_MESSAGING=1  -DENABLE_DATAGRID=0 -DENABLE_PROGRESS_TAG=0 -DENABLE_JAVASCRIPT_DEBUGGER=1  -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DATABASE=1  -DENABLE_DATALIST=1 -DENABLE_EVENTSOURCE=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1   -DENABLE_VIDEO=1    -DENABLE_RUBY=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_SHARED_WORKERS=1  -DENABLE_FILTERS=1    -DENABLE_SVG=1 -DENABLE_SVG_USE=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_ANIMATION=1  -DENABLE_WEB_SOCKETS=0   -DWTF_USE_SOUP=1 -I./WebCore/accessibility/gtk -I./WebCore/loader/gtk -I./WebCore/page/gtk -I./WebCore/platform/graphics/cairo -I./WebCore/platform/graphics/gstreamer -I./WebCore/platform/graphics/gtk -I./WebCore/platform/gtk -I./WebCore/platform/network/soup  -DUSE_PANGO=1 -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser -I./JavaScriptCore/wtf -I./JavaScriptCore/wtf/gtk -I./JavaScriptCore/wtf/gobject -I./DerivedSources -I./JavaScriptCore -I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler -I./JavaScriptCore/runtime -I./JavaScriptCore/jit -I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -DXP_UNIX -DBUILDING_WEBKIT -DPACKAGE_LOCALE_DIR=\&quot;/usr/share/locale\&quot; -DDATA_DIR=\&quot;/usr/share\&quot; -I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit -I./WebKit/gtk/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 -fvisibility=hidden -fvisibility-inlines-hidden -fno-rtti -fno-strict-aliasing  -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gail-1.0 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/libxml2   -I/usr/include/libxml2    -I/usr/include   -march=core2 -O2 -pipe  -MT WebCore/platform/graphics/gtk/libwebkit_1_0_la-SimpleFontDataPango.lo -MD -MP -MF WebCore/platform/graphics/gtk/.deps/libwebkit_1_0_la-SimpleFontDataPango.Tpo -c -o WebCore/platform/graphics/gtk/libwebkit_1_0_la-SimpleFontDataPango.lo `test -f &apos;WebCore/platform/graphics/gtk/SimpleFontDataPango.cpp&apos; || echo &apos;./&apos;`WebCore/platform/graphics/gtk/SimpleFontDataPango.cpp
WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp:140: error: prototype for &apos;WebCore::FontPlatformData::FontPlatformData(cairo_font_face_t*, int, bool, bool)&apos; does not match any in class &apos;WebCore::FontPlatformData&apos;
./WebCore/platform/graphics/cairo/FontPlatformData.h:103: error: candidates are: WebCore::FontPlatformData::FontPlatformData(const WebCore::FontPlatformData&amp;)
WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp:130: error:                 WebCore::FontPlatformData::FontPlatformData(float, bool, bool)
./WebCore/platform/graphics/cairo/FontPlatformData.h:101: error:                 WebCore::FontPlatformData::FontPlatformData(cairo_font_face_t*, float, bool, bool)
WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp:49: error:                 WebCore::FontPlatformData::FontPlatformData(const WebCore::FontDescription&amp;, const WebCore::AtomicString&amp;)
./WebCore/platform/graphics/cairo/FontPlatformData.h:76: error:                 WebCore::FontPlatformData::FontPlatformData()
./WebCore/platform/graphics/cairo/FontPlatformData.h:56: error:                 WebCore::FontPlatformData::FontPlatformData(WTF::HashTableDeletedValueType)
make[1]: *** [WebCore/platform/graphics/gtk/libwebkit_1_0_la-FontPlatformDataPango.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f WebCore/platform/graphics/gtk/.deps/libwebkit_1_0_la-SimpleFontDataPango.Tpo WebCore/platform/graphics/gtk/.deps/libwebkit_1_0_la-SimpleFontDataPango.Plo
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-9999/work/webkit-gtk-9999&apos;

To provide some library version context (if needed), here are the pango packages installed:

# emerge -s pango |grep installed -B 2
*  dev-cpp/pangomm
      Latest version available: 2.26.0
      Latest version installed: 2.26.0
--
*  dev-dotnet/pango-sharp
      Latest version available: 2.12.9
      Latest version installed: 2.12.9
--
*  dev-perl/Pango
      Latest version available: 1.221
      Latest version installed: 1.221
--
*  dev-ruby/ruby-pango
      Latest version available: 0.19.3
      Latest version installed: [ Not Installed ]
--
*  media-libs/sdl-pango
      Latest version available: 0.1.2
      Latest version installed: [ Not Installed ]
--
*  media-plugins/gst-plugins-pango
      Latest version available: 0.10.28
      Latest version installed: 0.10.28
--
*  x11-libs/pango
      Latest version available: 1.26.2
      Latest version installed: 1.26.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204589</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2010-03-26 08:35:55 -0700</bug_when>
    <thetext>Thanks for the report!

I have landed a fix in revision 56628 (8f9b0e0de2088c0c86a27375e625f68d983951dc) which should resolve this issuem so closing this bug. Feel free to reopen it and blame me if it is still here.

Btw, I could not find the git id (4226ec2b543) that you gave in the WebKit repository.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>