<?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>231141</bug_id>
          
          <creation_ts>2021-10-03 12:06:18 -0700</creation_ts>
          <short_desc>[GTK] Tools/Scripts/update-webkitgtk-libs flatpak remote failure on Ubuntu 20</short_desc>
          <delta_ts>2021-10-13 08:43:34 -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>WebKit Local 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>wei.justin.a</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1799884</commentid>
    <comment_count>0</comment_count>
    <who name="">wei.justin.a</who>
    <bug_when>2021-10-03 12:06:18 -0700</bug_when>
    <thetext>Hi,

I am trying to build the WebKit GTK+ Port on a clean Ubuntu 20 VirtualBox.
Running Tools/gtk/install-dependencies works great but-

The command Tools/Scripts/update-webkitgtk-libs seems to not find the correct flatpak remote.

---------------------------------------
Updating Flatpak Release environment
Looking for updates…
Nothing to do.
Installing from webkit-sdk org.webkit.Platform x86_64 21.08
Looking for matches…
error: Unable to load summary from remote webkit-sdk: renameat: Text file busy

The following command returned a non-zero exit status: flatpak install --user --assumeyes webkit-sdk org.webkit.Platform --reinstall 21.08
Output: None
Died at Tools/Scripts/update-webkitgtk-libs line 28.
---------------------------------------


When I manually run the command that fails, it seems like a flatpak remote problem:
flatpak install --user --assumeyes webkit-sdk org.webkit.Platform --reinstall 21.08
Looking for matches…
error: No remote refs found similar to ‘webkit-sdk’


Indeed, I can&apos;t find webkit-sdk via flatpak search:
flatpak search webkit-sdk
No matches found


I&apos;ve also tried doing this on a Linux Mint (Cinnamon) VirtualBox as well with the same results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1803719</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-10-13 06:04:09 -0700</bug_when>
    <thetext>rm -fr WebKitBuild/UserFlatpak and try again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1803779</commentid>
    <comment_count>2</comment_count>
    <who name="">wei.justin.a</who>
    <bug_when>2021-10-13 08:43:21 -0700</bug_when>
    <thetext>This was an error with trying to store the repo on a VM Box shared folder. Recloning the repository on the guest filesystem worked. Thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>