Bug 233570 - [Flatpak SDK] Update to FDO 21.08.6 release
Summary: [Flatpak SDK] Update to FDO 21.08.6 release
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-29 09:58 PST by Philippe Normand
Modified: 2021-11-30 03:48 PST (History)
3 users (show)

See Also:


Attachments
[fast-cq] Patch (88.48 KB, patch)
2021-11-29 10:06 PST, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2021-11-29 09:58:50 PST
Also including a few changes I had in the back-burner for several weeks:

- update to GStreamer 1.18.5
- update internal pipenv used by bst to pygobject 3.42 (needed for f35 host)
- minor drive-by fixes in gst recipes correcting docker image export
Comment 1 Philippe Normand 2021-11-29 10:06:13 PST
Created attachment 445290 [details]
[fast-cq] Patch
Comment 2 Adrian Perez 2021-11-29 11:48:55 PST
Comment on attachment 445290 [details]
[fast-cq] Patch

Patch LGTM, I wrote a couple of minor comments, though.

View in context: https://bugs.webkit.org/attachment.cgi?id=445290&action=review

> Tools/buildstream/elements/sdk/gst-libav.bst:26
> +      PAGER=this-is-not-a-pager gst-inspect-1.0 libav

I suppose using PAGER='' to leave it empty may not work if gst-inspect-1.0 uses
some hardcoded default like trying to search for “less“… have you tried that?
Another option could be PAGER=cat but honestly the chance of something called
“this-is-not-a-pager“ being installed and executable is virtually zero so let's
just leave it as-is 😜️

> Tools/buildstream/elements/sdk/gst-plugins-base.bst:-45
> -

Is there any reason to remove this empty line? Maybe we can leave it to avoid
bringing noise into the diff—and also I find the YAML more legible keeping this
line.

> Tools/buildstream/elements/sdk/gstreamer.bst:-9
> -

Same for this empty line here.

> Tools/buildstream/elements/sdk/gstreamer.bst:-34
> -

…and this one here.
Comment 3 Philippe Normand 2021-11-29 11:55:31 PST
Comment on attachment 445290 [details]
[fast-cq] Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=445290&action=review

>> Tools/buildstream/elements/sdk/gst-plugins-base.bst:-45
>> -
> 
> Is there any reason to remove this empty line? Maybe we can leave it to avoid
> bringing noise into the diff—and also I find the YAML more legible keeping this
> line.

that's `bst track` fault.
Comment 4 Philippe Normand 2021-11-29 12:00:19 PST
(In reply to Adrian Perez from comment #2)
> Comment on attachment 445290 [details]
> Patch
> 
> Patch LGTM, I wrote a couple of minor comments, though.
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=445290&action=review
> 
> > Tools/buildstream/elements/sdk/gst-libav.bst:26
> > +      PAGER=this-is-not-a-pager gst-inspect-1.0 libav
> 
> I suppose using PAGER='' to leave it empty may not work if gst-inspect-1.0
> uses
> some hardcoded default like trying to search for “less“… have you tried that?

PAGER="" won't work I'm afraid, if I understand this code anyway:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gstreamer/tools/gst-inspect.c#L1959
Comment 5 Philippe Normand 2021-11-29 12:01:49 PST
(In reply to Philippe Normand from comment #4)
> (In reply to Adrian Perez from comment #2)
> > Comment on attachment 445290 [details]
> > Patch
> > 
> > Patch LGTM, I wrote a couple of minor comments, though.
> > 
> > View in context:
> > https://bugs.webkit.org/attachment.cgi?id=445290&action=review
> > 
> > > Tools/buildstream/elements/sdk/gst-libav.bst:26
> > > +      PAGER=this-is-not-a-pager gst-inspect-1.0 libav
> > 
> > I suppose using PAGER='' to leave it empty may not work if gst-inspect-1.0
> > uses
> > some hardcoded default like trying to search for “less“… have you tried that?
> 
> PAGER="" won't work I'm afraid, if I understand this code anyway:
> https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/
> gstreamer/tools/gst-inspect.c#L1959

And that's a GStreamer bug actually, PAGER= gst-inspect-1.0 crashes
Comment 6 Adrian Perez 2021-11-29 12:31:06 PST
(In reply to Philippe Normand from comment #3)
> Comment on attachment 445290 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=445290&action=review
> 
> >> Tools/buildstream/elements/sdk/gst-plugins-base.bst:-45
> >> -
> > 
> > Is there any reason to remove this empty line? Maybe we can leave it to avoid
> > bringing noise into the diff—and also I find the YAML more legible keeping this
> > line.
> 
> that's `bst track` fault.

Ah, one of those little annoyances of automated tools. Probably the reason
why I prefer to update refs by hand 😅️
Comment 7 Adrian Perez 2021-11-29 12:46:37 PST
(In reply to Philippe Normand from comment #5)
> (In reply to Philippe Normand from comment #4)
> > (In reply to Adrian Perez from comment #2)
> > > Comment on attachment 445290 [details]
> > > Patch
> > > 
> > > Patch LGTM, I wrote a couple of minor comments, though.
> > > 
> > > View in context:
> > > https://bugs.webkit.org/attachment.cgi?id=445290&action=review
> > > 
> > > > Tools/buildstream/elements/sdk/gst-libav.bst:26
> > > > +      PAGER=this-is-not-a-pager gst-inspect-1.0 libav
> > > 
> > > I suppose using PAGER='' to leave it empty may not work if gst-inspect-1.0
> > > uses
> > > some hardcoded default like trying to search for “less“… have you tried that?
> > 
> > PAGER="" won't work I'm afraid, if I understand this code anyway:
> > https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/
> > gstreamer/tools/gst-inspect.c#L1959
> 
> And that's a GStreamer bug actually, PAGER= gst-inspect-1.0 crashes

Yeah, I imagined setting it to empty probably wasn't working, hence the
r+ anyway — I was just wondering.
wondering.
Comment 8 EWS 2021-11-30 03:47:33 PST
Committed r286290 (244649@main): <https://commits.webkit.org/244649@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 445290 [details].
Comment 9 Radar WebKit Bug Importer 2021-11-30 03:48:32 PST
<rdar://problem/85859243>