<?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>235265</bug_id>
          
          <creation_ts>2022-01-15 04:24:56 -0800</creation_ts>
          <short_desc>[Flatpak SDK] local build is broken</short_desc>
          <delta_ts>2022-01-16 01:09:53 -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>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="ChangSeok Oh">changseok</reporter>
          <assigned_to name="ChangSeok Oh">changseok</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1831178</commentid>
    <comment_count>0</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2022-01-15 04:24:56 -0800</bug_when>
    <thetext>&quot;./Tools/Scripts/webkit-flatpak-sdk --build all&quot; causes a following error. https://releases.freedesktop-sdk.io returned the HTTP 404.

Failure Summary
  bootstrap/build/base-sdk/image-x86_64.bst:
    [00:00:00][0d5e6169][fetch:freedesktop-sdk.bst:bootstrap/build/base-sdk/image-x86_64.bst] FAILURE Fetching remote ref: 562381b919ca39bf76ee62adec9ece5de186213f770894fc710e87bfa9e61b6b from origin: https://releases.freedesktop-sdk.io/releases/
    [00:00:00][0d5e6169][fetch:freedesktop-sdk.bst:bootstrap/build/base-sdk/image-x86_64.bst] FAILURE ostree source at freedesktop-sdk.bst:bootstrap/build/base-sdk/image-x86_64.bst [line 5 column 2]: Failed to fetch ref &apos;562381b919ca39bf76ee62adec9ece5de186213f770894fc710e87bfa9e61b6b&apos; from origin: https://releases.freedesktop-sdk.io/releases/

    Failed to fetch ref &apos;562381b919ca39bf76ee62adec9ece5de186213f770894fc710e87bfa9e61b6b&apos; from &apos;https___releases_freedesktop_sdk_io_releases_&apos;: Server returned HTTP 404

        Printing the last 20 lines from log file:
        /home/changseok/.cache/buildstream/logs/freedesktop-sdk/bootstrap-build-base-sdk-image-x86_64/0d5e6169-fetch.75787.log
        ======================================================================
              -fcf-protection -fno-omit-frame-pointer &apos;
            HOME: /tmp
            LC_ALL: en_US.UTF-8
            LDFLAGS: &apos;-Wl,-z,relro,-z,now -Wl,--as-needed &apos;
            LOGNAME: tomjon
            PATH: /usr/bin:/bin:/usr/sbin:/sbin
            PYTHON: /usr/bin/python3
            PYTHONHASHSEED: &apos;0&apos;
            SHELL: /bin/sh
            SOURCE_DATE_EPOCH: &apos;1320937200&apos;
            TERM: dumb
            TZ: UTC
            USER: tomjon
            USERNAME: tomjon
        [--:--:--] STATUS  bootstrap/build/base-sdk/image-x86_64.bst-0: Creating local mirror for https://releases.freedesktop-sdk.io/releases/
        [--:--:--] START   bootstrap/build/base-sdk/image-x86_64.bst-0: Fetching remote ref: 562381b919ca39bf76ee62adec9ece5de186213f770894fc710e87bfa9e61b6b from origin: https://releases.freedesktop-sdk.io/releases/
        [00:00:00] FAILURE bootstrap/build/base-sdk/image-x86_64.bst-0: Fetching remote ref: 562381b919ca39bf76ee62adec9ece5de186213f770894fc710e87bfa9e61b6b from origin: https://releases.freedesktop-sdk.io/releases/
        [00:00:00] FAILURE bootstrap/build/base-sdk/image-x86_64.bst: ostree source at freedesktop-sdk.bst:bootstrap/build/base-sdk/image-x86_64.bst [line 5 column 2]: Failed to fetch ref &apos;562381b919ca39bf76ee62adec9ece5de186213f770894fc710e87bfa9e61b6b&apos; from origin: https://releases.freedesktop-sdk.io/releases/

        Failed to fetch ref &apos;562381b919ca39bf76ee62adec9ece5de186213f770894fc710e87bfa9e61b6b&apos; from &apos;https___releases_freedesktop_sdk_io_releases_&apos;: Server returned HTTP 404
        ======================================================================

Pipeline Summary
  Total:       631
  Session:     631
  Pull Queue:  processed 3,   skipped 628, failed 0 
  Fetch Queue: processed 502, skipped 128, failed 1 
  Build Queue: processed 0,   skipped 3,   failed 0 


/home/changseok/Projects/WebKit/Tools/Scripts/bst-wrapper  --no-interactive -o arch x86_64 -o bootstrap_build_arch x86_64 checkout --hardlinks --force flatpak-runtimes.bst cache/flatpak-runtimes-repo
[--:--:--][][] START   Loading elements
[00:00:05][][] SUCCESS Loading elements
[--:--:--][][] START   Resolving elements
[00:00:01][][] SUCCESS Resolving elements
[--:--:--][][] START   Resolving cached state
[00:00:06][][] SUCCESS Resolving cached state
[--:--:--][e5e576cc][ main:flatpak-runtimes.bst          ] START   Staging dependencies
[00:00:00][e5e576cc][ main:flatpak-runtimes.bst          ] FAILURE Staging dependencies

Error while staging dependencies into a sandbox: &apos;No artifacts to stage&apos;

    No artifacts have been cached yet for that element
    Try building the element first with `bst build`

ostree pull-local --repo=repo cache/flatpak-runtimes-repo
error: opening repo: opendir(objects): No such file or directory
make: *** [Makefile:88: EXPORT-cache/flatpak-runtimes-repo] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1831197</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-01-15 08:12:44 -0800</bug_when>
    <thetext>$ bst-wrapper track freedesktop-sdk.bst

and try again</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1831202</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-01-15 09:37:40 -0800</bug_when>
    <thetext>The FDO SDK CI/infra recently suffered an incident, they lost (parts of?) their ostree repo. I think the issue is resolved now, but our ref to the FDO junction is now invalid, that why we need to update it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1831236</commentid>
    <comment_count>3</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2022-01-15 12:42:22 -0800</bug_when>
    <thetext>(In reply to Philippe Normand from comment #1)
&gt; $ bst-wrapper track freedesktop-sdk.bst
&gt; 
&gt; and try again

It works like a charm! I will post a patch updating the ref.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1831278</commentid>
    <comment_count>4</comment_count>
      <attachid>449277</attachid>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2022-01-15 16:03:04 -0800</bug_when>
    <thetext>Created attachment 449277
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1831292</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-01-16 01:09:49 -0800</bug_when>
    <thetext>Committed r288072 (246092@main): &lt;https://commits.webkit.org/246092@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449277.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>449277</attachid>
            <date>2022-01-15 16:03:04 -0800</date>
            <delta_ts>2022-01-16 01:09:51 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-235265-20220115190303.patch</filename>
            <type>text/plain</type>
            <size>1409</size>
            <attacher name="ChangSeok Oh">changseok</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg4MDUzCmRpZmYgLS1naXQgYS9Ub29scy9idWlsZHN0cmVh
bS9DaGFuZ2VMb2cgYi9Ub29scy9idWlsZHN0cmVhbS9DaGFuZ2VMb2cKaW5kZXggNDRlM2Y2YWUw
ODlkNmFkMzM1ODJjMDUwNDkwNmFiZjM1YWI5ZWUyNy4uYjZmOTI4ZTZkZmVjNjQ0YzczMmQ5MTNj
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