<?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>126247</bug_id>
          
          <creation_ts>2013-12-26 14:52:58 -0800</creation_ts>
          <short_desc>WebKitGtk 2 build fails from git</short_desc>
          <delta_ts>2013-12-28 00:54:36 -0800</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>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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Giovanni Campagna">scampa.giovanni</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>changseok</cc>
    
    <cc>commit-queue</cc>
    
    <cc>gustavo</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>963033</commentid>
    <comment_count>0</comment_count>
    <who name="Giovanni Campagna">scampa.giovanni</who>
    <bug_when>2013-12-26 14:52:58 -0800</bug_when>
    <thetext>Since the recent enablement of the NetworkProcess in the standard WebKitGtk build, the build fails because libwebkitgtk2 does not expose NetworkProcessMain (so linking WebKitNetworkProcess fails). This only happens if the symbol filter is enabled, ie if not --enable-developer-mode.

The simple fix is:

diff --git a/Source/autotools/symbols.filter b/Source/autotools/symbols.filter
index a01a00c..81a9725 100644
--- a/Source/autotools/symbols.filter
+++ b/Source/autotools/symbols.filter
@@ -2,6 +2,7 @@
 global:
   webkit_*;
   WebProcessMainGtk;
+  NetworkProcessMain;
   _ZN6WebKit22WebGtkExtensionManager10initializeEPK14OpaqueWKBundlePKv;
   _ZN6WebKit22WebGtkExtensionManager6sharedEv;
 local:

I can prepare a proper patch with the usual conventions, but it looks trivial enough that someone of you can apply it (I don&apos;t have commit access anyway).

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963100</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-12-27 01:57:55 -0800</bug_when>
    <thetext>Feel free to upload the proper patch, someone else can commit it for you or through the commit queue (the automated commit bot for reviewed patches).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963121</commentid>
    <comment_count>2</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2013-12-27 07:45:48 -0800</bug_when>
    <thetext>*** Bug 126241 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963122</commentid>
    <comment_count>3</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2013-12-27 07:49:35 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Since the recent enablement of the NetworkProcess in the standard WebKitGtk build, the build fails because libwebkitgtk2 does not expose NetworkProcessMain (so linking WebKitNetworkProcess fails). This only happens if the symbol filter is enabled, ie if not --enable-developer-mode.
&gt; 
&gt; The simple fix is:
&gt; 
&gt; diff --git a/Source/autotools/symbols.filter b/Source/autotools/symbols.filter
&gt; index a01a00c..81a9725 100644
&gt; --- a/Source/autotools/symbols.filter
&gt; +++ b/Source/autotools/symbols.filter
&gt; @@ -2,6 +2,7 @@
&gt;  global:
&gt;    webkit_*;
&gt;    WebProcessMainGtk;
&gt; +  NetworkProcessMain;
&gt;    _ZN6WebKit22WebGtkExtensionManager10initializeEPK14OpaqueWKBundlePKv;
&gt;    _ZN6WebKit22WebGtkExtensionManager6sharedEv;
&gt;  local:
&gt; 
&gt; I can prepare a proper patch with the usual conventions, but it looks trivial enough that someone of you can apply it (I don&apos;t have commit access anyway).

Please go ahead. Sooner is better :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963139</commentid>
    <comment_count>4</comment_count>
      <attachid>220065</attachid>
    <who name="Giovanni Campagna">scampa.giovanni</who>
    <bug_when>2013-12-27 15:17:19 -0800</bug_when>
    <thetext>Created attachment 220065
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963160</commentid>
    <comment_count>5</comment_count>
      <attachid>220065</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-12-28 00:54:34 -0800</bug_when>
    <thetext>Comment on attachment 220065
Patch

Clearing flags on attachment: 220065

Committed r161110: &lt;http://trac.webkit.org/changeset/161110&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963161</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-12-28 00:54:36 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>220065</attachid>
            <date>2013-12-27 15:17:19 -0800</date>
            <delta_ts>2013-12-28 00:54:33 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-126247-20131228001734.patch</filename>
            <type>text/plain</type>
            <size>1055</size>
            <attacher name="Giovanni Campagna">scampa.giovanni</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTYxMDg3CmRpZmYgLS1naXQgYS9Tb3VyY2UvYXV0b3Rvb2xz
L3N5bWJvbHMuZmlsdGVyIGIvU291cmNlL2F1dG90b29scy9zeW1ib2xzLmZpbHRlcgppbmRleCBh
MDFhMDBjMmFkODViYjljY2FkMTJkNWEzNTBjOWI4OTVmMjZjMDAwLi44MWE5NzI1NTI3NWIxOGNl
OTcwZTk4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