<?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>184983</bug_id>
          
          <creation_ts>2018-04-25 11:12:07 -0700</creation_ts>
          <short_desc>[WPE] Should load injected bundle from builddir in developer builds</short_desc>
          <delta_ts>2018-04-30 08:02:26 -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>WebKit 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>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>clopez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1417633</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-25 11:12:07 -0700</bug_when>
    <thetext>** (WPEWebProcess:6695): WARNING **: Error loading the injected bundle (/usr/local/lib64/wpe-webkit-0.1/injected-bundle/libWPEInjectedBundle.so): /usr/local/lib64/wpe-webkit-0.1/injected-bundle/libWPEInjectedBundle.so: cannot open shared object file: No such file or directory

It&apos;s bonkers that we never noticed this with WebKitGTK+, but we always load the installed injected bundle, never the built version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1417714</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-25 13:12:06 -0700</bug_when>
    <thetext>Not a problem for GTK. GTK MiniBrowser uses WEBKIT_INJECTED_BUNDLE_PATH to control this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1417720</commentid>
    <comment_count>2</comment_count>
      <attachid>338777</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-25 13:20:06 -0700</bug_when>
    <thetext>Created attachment 338777
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1417769</commentid>
    <comment_count>3</comment_count>
      <attachid>338777</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-04-25 14:16:56 -0700</bug_when>
    <thetext>Comment on attachment 338777
Patch

Clearing flags on attachment: 338777

Committed r231021: &lt;https://trac.webkit.org/changeset/231021&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1417770</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-04-25 14:16:57 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1418962</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-04-30 02:27:26 -0700</bug_when>
    <thetext>Why is LD_LIBRARY_PATH set only for WPE?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1418971</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-04-30 08:02:26 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #5)
&gt; Why is LD_LIBRARY_PATH set only for WPE?

It should not be needed because for ELF binaries, CMake sets rpath to point to the build directory when linking (and then zeros it at install time). Otherwise, nothing built by CMake would work before it&apos;s installed.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>338777</attachid>
            <date>2018-04-25 13:20:06 -0700</date>
            <delta_ts>2018-04-25 14:16:56 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-184983-20180425152005.patch</filename>
            <type>text/plain</type>
            <size>1428</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjMwOTk3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggMmVmMjg3NGY0OTZmOGZjYjE3NDEwZGQ1NWM0YTQwMGE4
NzE3NmU4YS4uNzUwNGFiZGQ3MDY2ZjJkNDRhNTZmYjk5MjA4NTMzMmNkNDU2MmI4NiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0
IEBACisyMDE4LTA0LTI1ICBNaWNoYWVsIENhdGFuemFybyAgPG1jYXRhbnphcm9AaWdhbGlhLmNv
bT4KKworICAgICAgICBbV1BFXSBTaG91bGQgbG9hZCBpbmplY3RlZCBidW5kbGUgZnJvbSBidWls
ZGRpciBpbiBkZXZlbG9wZXIgYnVpbGRzCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD0xODQ5ODMKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9P
UFMhKS4KKworICAgICAgICBTZXQgV0VCS0lUX0lOSkVDVEVEX0JVTkRMRV9QQVRIIHdoZW4gcnVu
bmluZyBXUEUgTWluaUJyb3dzZXIuCisKKyAgICAgICAgKiBTY3JpcHRzL3J1bi1taW5pYnJvd3Nl
cjoKKwogMjAxOC0wNC0yNSAgQ2FybG9zIEdhcmNpYSBDYW1wb3MgIDxjZ2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