<?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>189797</bug_id>
          
          <creation_ts>2018-09-20 12:31:42 -0700</creation_ts>
          <short_desc>[WPE] Built RPM of WPE webkit fails to install with &quot;nothing provides libWPEToolingBackends.so()&quot;</short_desc>
          <delta_ts>2018-09-21 04:42:53 -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>WPE WebKit</component>
          <version>WebKit 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="Chris King">bunnyapocalypse</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>annulen</cc>
    
    <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1461483</commentid>
    <comment_count>0</comment_count>
    <who name="Chris King">bunnyapocalypse</who>
    <bug_when>2018-09-20 12:31:42 -0700</bug_when>
    <thetext>When trying to install from the RPM of WPE built on fedora, I get this error:

Problem: cannot install the best candidate for the job
  - nothing provides libWPEToolingBackends.so()(64bit) needed by wpewebkit-2.21.92-1.fc30.x86_64

It seems like something that shouldn&apos;t be needed as a dependency is being listed as one.

Thanks,

Chris</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461495</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-09-20 13:00:14 -0700</bug_when>
    <thetext>(In reply to Chris King from comment #0)
&gt; When trying to install from the RPM of WPE built on fedora, I get this error:
&gt; 
&gt; Problem: cannot install the best candidate for the job
&gt;   - nothing provides libWPEToolingBackends.so()(64bit) needed by
&gt; wpewebkit-2.21.92-1.fc30.x86_64
&gt; 
&gt; It seems like something that shouldn&apos;t be needed as a dependency is being
&gt; listed as one.

I suppose the Fedora packaging is building _and_ installing the WPE
MiniBrowser. Currently is the only installable component that uses
libWPEToolingBackends.so

Either we tell CMake to install the library when the MiniBrowser is
also installed, or figure out whether it might be possible to link
the library statically in the MiniBrowser. I&apos;ll try poke a bit and
see what can be done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461511</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-09-20 13:33:02 -0700</bug_when>
    <thetext>My impression is that it should be possible to make WPEToolingBackends
a static library. I am going to make a build locally with it turned into
into a static library which gets with PIC enabled (because its contents
will be linked into shared objects afterwards) and make sure nothing
breaks before posting a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461703</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-09-20 20:42:01 -0700</bug_when>
    <thetext>(In reply to Adrian Perez from comment #1)
&gt; I suppose the Fedora packaging is building _and_ installing the WPE
&gt; MiniBrowser. Currently is the only installable component that uses
&gt; libWPEToolingBackends.so

Ah good catch, I couldn&apos;t figure out where the dependency was coming from.
 
&gt; Either we tell CMake to install the library when the MiniBrowser is
&gt; also installed, or figure out whether it might be possible to link
&gt; the library statically in the MiniBrowser. I&apos;ll try poke a bit and
&gt; see what can be done.

Yeah, one or the other. Static would be nicer, since it should be pretty small and won&apos;t be used anywhere else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461745</commentid>
    <comment_count>4</comment_count>
      <attachid>350334</attachid>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-09-20 23:18:30 -0700</bug_when>
    <thetext>Created attachment 350334
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461746</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-09-20 23:20:23 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #3)
&gt; (In reply to Adrian Perez from comment #1)
&gt; &gt; I suppose the Fedora packaging is building _and_ installing the WPE
&gt; &gt; MiniBrowser. Currently is the only installable component that uses
&gt; &gt; libWPEToolingBackends.so
&gt; 
&gt; Ah good catch, I couldn&apos;t figure out where the dependency was coming from.
&gt;  
&gt; &gt; Either we tell CMake to install the library when the MiniBrowser is
&gt; &gt; also installed, or figure out whether it might be possible to link
&gt; &gt; the library statically in the MiniBrowser. I&apos;ll try poke a bit and
&gt; &gt; see what can be done.
&gt; 
&gt; Yeah, one or the other. Static would be nicer, since it should be pretty
&gt; small and won&apos;t be used anywhere else.

Just turning the library into a static one worked perfectly, I&apos;ve just
tested a build of MiniBrowser and running tests after building with the
change in the attached patch. Let&apos;s also try and sneak in this small fix
before releasing 2.22.0 :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461747</commentid>
    <comment_count>6</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-09-20 23:22:00 -0700</bug_when>
    <thetext>By the way, thanks a lot to Chris for reporting this! — I had been
doing my testing with Cog instead of trying to install MiniBrowser
and that&apos;s why this went unnoticed until now. Ooops  O:-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461790</commentid>
    <comment_count>7</comment_count>
      <attachid>350334</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-09-21 04:42:51 -0700</bug_when>
    <thetext>Comment on attachment 350334
Patch

Clearing flags on attachment: 350334

Committed r236309: &lt;https://trac.webkit.org/changeset/236309&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461791</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-09-21 04:42:53 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>350334</attachid>
            <date>2018-09-20 23:18:30 -0700</date>
            <delta_ts>2018-09-21 04:42:51 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-189797-20180921091829.patch</filename>
            <type>text/plain</type>
            <size>1753</size>
            <attacher name="Adrian Perez">aperez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM2MzA2CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNzQ4YzE4ZDNhOWYyNzdlOWNjNzk0MGM4YTExNTViYzJm
YTRiYjkyMC4uMmRkOWJkNWY4ODExNDdiOWNkODcwYzZkZTJkMTJjNTA5ZjQ3ZDllOCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0
IEBACisyMDE4LTA5LTIwICBBZHJpYW4gUGVyZXogZGUgQ2FzdHJvICA8YXBlcmV6QGlnYWxpYS5j
b20+CisKKyAgICAgICAgW1dQRV0gQnVpbHQgUlBNIG9mIFdQRSB3ZWJraXQgZmFpbHMgdG8gaW5z
dGFsbCB3aXRoICJub3RoaW5nIHByb3ZpZGVzIGxpYldQRVRvb2xpbmdCYWNrZW5kcy5zbygpIgor
ICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTg5Nzk3CisK
KyAgICAgICAgUmV2aWV3ZWQgYnkgT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