<?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>144100</bug_id>
          
          <creation_ts>2015-04-23 08:53:59 -0700</creation_ts>
          <short_desc>[EFL] Build failure, linker does not find libXext.</short_desc>
          <delta_ts>2015-05-20 03:12:20 -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>New Bugs</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="Doug Newgard">scimmia22</reporter>
          <assigned_to name="Hyungwook Lee">hyungwook.lee</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>hyungwook.lee</cc>
    
    <cc>scimmia22</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1087834</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Newgard">scimmia22</who>
    <bug_when>2015-04-23 08:53:59 -0700</bug_when>
    <thetext>Currently the build process fails for me in Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp because of the call to XSetExtensionErrorHandler. The problem is in Source/WebKit2/PlatformEfl.cmake, currently lines 342-350:

if (ENABLE_ECORE_X)
    list(APPEND WebProcess_LIBRARIES
        ${ECORE_X_LIBRARIES}
        ${X11_Xext_LIB}
    )
    list(APPEND WebKit2_LIBRARIES
        ${ECORE_X_LIBRARIES}
    )
endif ()

The Xext libraries get added to WebProcess_LIBRARIES, but the source file is in WebKit2_SOURCES (line 212). Either WebProcessMainEfl needs to be in WebProcess_SOURCES or the Xext libraries need to be added to WebKit2_LIBRARIES.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096156</commentid>
    <comment_count>1</comment_count>
      <attachid>253424</attachid>
    <who name="Hyungwook Lee">hyungwook.lee</who>
    <bug_when>2015-05-19 21:28:21 -0700</bug_when>
    <thetext>Created attachment 253424
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096157</commentid>
    <comment_count>2</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2015-05-19 21:33:42 -0700</bug_when>
    <thetext>One question, I wonder if we need to keep ${X11_Xext_LIB} in WebProcess_LIBRARIES.


if (ENABLE_ECORE_X)
    list(APPEND WebProcess_LIBRARIES
        ${ECORE_X_LIBRARIES}
        ${X11_Xext_LIB}

endif ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096171</commentid>
    <comment_count>3</comment_count>
    <who name="Hyungwook Lee">hyungwook.lee</who>
    <bug_when>2015-05-19 22:06:57 -0700</bug_when>
    <thetext>WebProcessMainEfl.cpp is listed in WebKit2_SOURCES.
So I think we need to put X11_Xext_LIB into WebKit2_LIBRARIES to fix &quot;undefined reference to &apos;XSetExtensionErrorHandler&apos;&quot; linking error.

We need to move WebProcessMainEfl.cpp from WebKit2_SOURCES list to WebProcess_SOURCES list if we want to keep X11_Xext_LIB in WebProcess_LIBRARIES.

I think to keep WebProcessMainEfl.cpp in WebKit2_SOURCES list is looks better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096177</commentid>
    <comment_count>4</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2015-05-19 22:32:49 -0700</bug_when>
    <thetext>(In reply to comment #3)

&gt; I think to keep WebProcessMainEfl.cpp in WebKit2_SOURCES list is looks
&gt; better.

I agree with it. As you know, *WebKit2_SOURCES* was originated only for WebProcess executable file as our MiniBrowser executable. So when WebProcessMainEfl.cpp is only used for WebProcess executable, I also think we can move it to WebProcess_SOURCES.

If we don&apos;t need to keep to ${X11_Xext_LIB} in WebProcess_LIBRARIES anymore, let&apos;s remove it there. Do you agree ?


if (ENABLE_ECORE_X)
    list(APPEND WebProcess_LIBRARIES
        ${ECORE_X_LIBRARIES}
        ${X11_Xext_LIB}

endif ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096178</commentid>
    <comment_count>5</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2015-05-19 22:38:39 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; 
&gt; &gt; I think to keep WebProcessMainEfl.cpp in WebKit2_SOURCES list is looks
&gt; &gt; better.
&gt; 
&gt; I agree with it. As you know, *WebKit2_SOURCES* was originated only for
&gt; WebProcess executable file as our MiniBrowser executable.

s/WebKit2_SOURCES/WebProcess_SOURCES/g</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096213</commentid>
    <comment_count>6</comment_count>
      <attachid>253435</attachid>
    <who name="Hyungwook Lee">hyungwook.lee</who>
    <bug_when>2015-05-20 02:18:32 -0700</bug_when>
    <thetext>Created attachment 253435
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096214</commentid>
    <comment_count>7</comment_count>
      <attachid>253435</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2015-05-20 02:21:58 -0700</bug_when>
    <thetext>Comment on attachment 253435
Patch

Thanks Hyungwook !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096217</commentid>
    <comment_count>8</comment_count>
      <attachid>253435</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-05-20 03:12:15 -0700</bug_when>
    <thetext>Comment on attachment 253435
Patch

Clearing flags on attachment: 253435

Committed r184632: &lt;http://trac.webkit.org/changeset/184632&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1096218</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-05-20 03:12:20 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>253424</attachid>
            <date>2015-05-19 21:28:21 -0700</date>
            <delta_ts>2015-05-20 02:18:27 -0700</delta_ts>
            <desc>patch</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1002</size>
            <attacher name="Hyungwook Lee">hyungwook.lee</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4NDYxMCkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE1LTA1LTE5ICBIeXVuZ3dv
b2sgTGVlICA8aHl1bmd3b29rLmxlZUBuYXZlcmNvcnAuY29tPgorCisgICAgICAgIFtFRkxdIEZp
eCBidWlsZCBmYWlsdXJlLCBsaW5rZXIgZG9lcyBub3QgZmluZCBsaWJYZXh0LgorICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTQ0MTAwCisKKyAgICAgICAg
UmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgQXBwZW5kIFhleHQgbGlicmFy
eSBpbnRvIFdlYktpdDJfTElCUkFSSUVTIGxpc3QuCisKKyAgICAgICAgKiBQbGF0Zm9ybUVmbC5j
bWFrZToKKwogMjAxNS0wNS0xOSAgTWljaGFlbCBTYWJvZmYgIDxtc2Fib2ZmQGFwcGxlLmNvbT4K
IAogICAgICAgICBSRUdSRVNTSU9OKDE4Mzc4Nyk6IEpJVCBpcyBlbmFibGVkIGZvciBhbGwgYnVp
bGRzCkluZGV4OiBTb3VyY2UvV2ViS2l0Mi9QbGF0Zm9ybUVmbC5jbWFrZQo9PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t
LSBTb3VyY2UvV2ViS2l0Mi9QbGF0Zm9ybUVmbC5jbWFrZQkocmV2aXNpb24gMTg0NjA2KQorKysg
U291cmNlL1dlYktpdDIvUGxhdGZvcm1FZmwuY21ha2UJKHdvcmtpbmcgY29weSkKQEAgLTM0OSw2
ICszNDksNyBAQCBpZiAoRU5BQkxFX0VDT1JFX1gpCiAgICAgKQogICAgIGxpc3QoQVBQRU5EIFdl
YktpdDJfTElCUkFSSUVTCiAgICAgICAgICR7RUNPUkVfWF9MSUJSQVJJRVN9CisgICAgICAgICR7
WDExX1hleHRfTElCfQogICAgICkKIGVuZGlmICgpCiAK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>253435</attachid>
            <date>2015-05-20 02:18:32 -0700</date>
            <delta_ts>2015-05-20 03:12:15 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-144100-20150520181828.patch</filename>
            <type>text/plain</type>
            <size>1171</size>
            <attacher name="Hyungwook Lee">hyungwook.lee</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4NDYzMCkKKysrIFNvdXJjZS9XZWJLaX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b2Nlc3NfTElCUkFSSUVTCiAgICAgICAgICR7RUNPUkVfWF9MSUJSQVJJ
RVN9Ci0gICAgICAgICR7WDExX1hleHRfTElCfQogICAgICkKICAgICBsaXN0KEFQUEVORCBXZWJL
aXQyX0xJQlJBUklFUwogICAgICAgICAke0VDT1JFX1hfTElCUkFSSUVTfQorICAgICAgICAke1gx
MV9YZXh0X0xJQn0KICAgICApCiBlbmRpZiAoKQogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>