<?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>65426</bug_id>
          
          <creation_ts>2011-07-30 23:13:28 -0700</creation_ts>
          <short_desc>GTK build bots compile failure - undefined reference (missing symbols)</short_desc>
          <delta_ts>2011-07-31 02:03:22 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, MakingBotsRed</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
    
    <cc>mrobinson</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>444387</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-07-30 23:13:28 -0700</bug_when>
    <thetext>Since &lt;http://trac.webkit.org/changeset/92059&gt; (bug #65419) the GTK build bots have failed to compile with the following error:

../../Source/WebCore/platform/graphics/GlyphBuffer.h:47:19: fatal error: cairo.h: No such file or directory

(http://build.webkit.org/builders/GTK%20Linux%2032-bit%20Release/builds/16060/steps/compile-webkit/logs/stdio)

GTK 32 Debug:
http://build.webkit.org/builders/GTK%20Linux%2032-bit%20Debug/builds/16617/steps/compile-webkit/logs/stdio

GTK 64 Debug:
http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug/builds/24716/steps/compile-webkit/logs/stdio

Notice the GTK 32 Debug and GTK 64 Debug stdio ouput also lists other errors related to missing definitions for cairo types.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>444393</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2011-07-30 23:31:02 -0700</bug_when>
    <thetext>This suggests that the build configuration for libWebCoreInternals is incomplete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>444403</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-07-31 00:29:24 -0700</bug_when>
    <thetext>I committed a build fix in &lt;http://trac.webkit.org/changeset/92076&gt;, which resolves the missing cairo.h file. Now I get the following unresolved symbol errors:

[[
/usr/bin/ld: ./.libs/libWebCoreInternals.a(libWebCoreInternals_la-JSInternals.o): in function WebCore::jsInternalsPrototypeFunctionBoundingBox(JSC::ExecState*):DerivedSources/WebCore/JSInternals.cpp:310: error: undefined reference to &apos;WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::ClientRect*)&apos;
/usr/bin/ld: ./.libs/libWebCoreInternals.a(libWebCoreInternals_la-Internals.o): in function WebCore::Internals::boundingBox(WebCore::Element*, int&amp;):../../Source/WebCore/testing/Internals.cpp:159: error: undefined reference to &apos;WebCore::Document::updateLayoutIgnorePendingStylesheets()&apos;
/usr/bin/ld: ./.libs/libWebCoreInternals.a(libWebCoreInternals_la-Internals.o): in function WebCore::Internals::boundingBox(WebCore::Element*, int&amp;):../../Source/WebCore/testing/Internals.cpp:163: error: undefined reference to &apos;WebCore::RenderObject::absoluteBoundingBoxRect(bool)&apos;
/usr/bin/ld: ./.libs/libWebCoreInternals.a(libWebCoreInternals_la-Internals.o): in function WebCore::ClientRect::create():../../Source/WebCore/dom/ClientRect.h:40: error: undefined reference to &apos;WebCore::ClientRect::ClientRect()&apos;
/usr/bin/ld: ./.libs/libWebCoreInternals.a(libWebCoreInternals_la-Internals.o): in function WebCore::ClientRect::create(WebCore::IntRect const&amp;):../../Source/WebCore/dom/ClientRect.h:41: error: undefined reference to &apos;WebCore::ClientRect::ClientRect(WebCore::IntRect const&amp;)&apos;
collect2: ld returned 1 exit status
]]
(http://build.webkit.org/builders/GTK%20Linux%2032-bit%20Debug/builds/16626/steps/compile-webkit/logs/stdio)

I believe we need to export these symbols in the GTK build. I haven&apos;t taken a look where to do this yet. Maybe someone can save me some time with some insight/suggestions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>444404</commentid>
    <comment_count>3</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2011-07-31 00:37:26 -0700</bug_when>
    <thetext>I believe it has to be done in Source/autotools/symbols.filter, but that seems a lot of new stuff, not sure why is it suddenly needed. I have to go now, if you cannot figure it out easily I think you should just rollout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>444405</commentid>
    <comment_count>4</comment_count>
    <who name="Xan Lopez">xan.lopez</who>
    <bug_when>2011-07-31 00:39:09 -0700</bug_when>
    <thetext>Oh duh, I was checking the wrong commit for the culprits here. You point out the right one in comment #0, makes sense now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>444409</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-07-31 01:46:04 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; I believe it has to be done in Source/autotools/symbols.filter, but that seems a lot of new stuff, not sure why is it suddenly needed.

I added the missing symbols to symbols.filter in &lt;http://trac.webkit.org/changeset/92080&gt; and &lt;http://trac.webkit.org/changeset/92081&gt; (syntax correction for r92080) but the GTK bots are still failing :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>444412</commentid>
    <comment_count>6</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-07-31 02:03:22 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #3)
&gt; &gt; I believe it has to be done in Source/autotools/symbols.filter, but that seems a lot of new stuff, not sure why is it suddenly needed.
&gt; 
&gt; I added the missing symbols to symbols.filter in &lt;http://trac.webkit.org/changeset/92080&gt; and &lt;http://trac.webkit.org/changeset/92081&gt; (syntax correction for r92080) but the GTK bots are still failing :(

The bots just needed to be poked so as to relink. The poke came in the form of &lt;http://trac.webkit.org/changeset/92082&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>