-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jhbuild: update gstreamer to 1.24.6 #39
Conversation
Yes.
You would run it in It also means we can remove |
@dpino Could you try installing the Ubuntu EDIT: The following is thinking about keeping around a whole rust build area for development, but in practice we probably don't need that.To be system wide you might have to set some env vars, just based on what others have written:
Using Then in |
8a91be3
to
2576892
Compare
321b655
to
af3311b
Compare
Would it be possible to a QA step that would verify the gst plugins are available? |
That's what we do in the old sdk:
|
c490996
to
580765c
Compare
images/wkdev_sdk/Containerfile
Outdated
# Check GStreamer plugins are installed. | ||
RUN gst-inspect-1.0 audiornnoise && \ | ||
gst-inspect-1.0 cea608tott && \ | ||
# gst-inspect-1.0 dav1ddec && \ FIXME(dpino): Not installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
daviddec
0.13 supports only the most recent libdav1d (iirc 1.2.x). So you might need to add libdav1d in jhbuild too.
580765c
to
63abd8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It seems the CI bot is getting stuck. |
Well, withou an AV1 decoder you will get webcodecs failures. |
Sure, building libdav1d can come next. |
2a97292
to
9d25773
Compare
Failing due to lack of space in the CI bot: 2024-09-09T09:20:10.6042001Z [2407/2627] Linking target testsuite/a11y/text
2024-09-09T09:20:10.6043023Z FAILED: testsuite/a11y/text
2024-09-09T09:20:10.6060232Z cc -o testsuite/a11y/text testsuite/a11y/text.p/text.c.o -L/jhbuild/install/lib -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group gtk/libgtk.a gtk/css/libgtk_css.a gdk/libgdk.a gdk/wayland/cursor/libwayland+cursor.a gsk/libgsk.a gsk/libgsk_f1
2024-09-09T09:20:10.6086316Z /usr/bin/ld: final link failed: No space left on device
2024-09-09T09:20:10.6086998Z collect2: error: ld returned 1 exit status
2024-09-09T09:20:10.6606224Z [2408/2627] Linking target testsuite/a11y/textview
2024-09-09T09:20:10.6606951Z FAILED: testsuite/a11y/textview
2024-09-09T09:20:10.6621644Z cc -o testsuite/a11y/textview testsuite/a11y/textview.p/textview.c.o -L/jhbuild/install/lib -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group gtk/libgtk.a gtk/css/libgtk_css.a gdk/libgdk.a gdk/wayland/cursor/libwayland+cursor.a gsk/libgsk.a g
2024-09-09T09:20:10.6634062Z /usr/bin/ld: final link failed: No space left on device
2024-09-09T09:20:10.6634705Z collect2: error: ld returned 1 exit status
2024-09-09T09:20:10.7096069Z [2409/2627] Compiling C object testsuite/a11y/names.p/names.c.o
2024-09-09T09:20:10.7096963Z FAILED: testsuite/a11y/names.p/names.c.o
2024-09-09T09:20:10.7116409Z sccache cc -Itestsuite/a11y/names.p -Itestsuite/a11y -I../../../../../jhbuild/checkout/gtk4/testsuite/a11y -I. -I../../../../../jhbuild/checkout/gtk4 -Igtk -I../../../../../jhbuild/checkout/gtk4/gtk -Igdk/x11 -I../../../../../jhbuild/checkout/gtk
2024-09-09T09:20:10.7134413Z ../../../../../jhbuild/checkout/gtk4/testsuite/a11y/names.c:223:1: fatal error: error writing to /tmp/ccfwezBH.s: No space left on device
2024-09-09T09:20:10.7135626Z 223 | }
2024-09-09T09:20:10.7135959Z | ^
2024-09-09T09:20:10.7136329Z compilation terminated.
2024-09-09T09:20:10.7167625Z [2410/2627] Linking target testsuite/a11y/label
2024-09-09T09:20:10.7168640Z FAILED: testsuite/a11y/label
2024-09-09T09:20:10.7178581Z cc -o testsuite/a11y/label testsuite/a11y/label.p/label.c.o -L/jhbuild/install/lib -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group gtk/libgtk.a gtk/css/libgtk_css.a gdk/libgdk.a gdk/wayland/cursor/libwayland+cursor.a gsk/libgsk.a gsk/libgsk
2024-09-09T09:20:10.7187526Z /usr/bin/ld: final link failed: No space left on device |
Also enable gstreamer modules 'rs' and 'webrtc'.
e0bdea4
to
cba7b84
Compare
Follow-up to: [jhbuild: update gstreamer to 1.24.6](#39)
This PR updates JHBuild's gstramer to the same version as Flatpak: 1.24.6. Also, now GStreamer modules 'rs' (Rust) and 'webrtc' are enabled.
When the 'rs' module is enabled, compilation fails with the following error:
To install a more up-to-date version of 'rustc' I ran the following steps:
These step should be run at some point in the container. I don't know where would be the best place to put them.
This change doesn't bring the container SDK to exactly what Flatpak SDK does regarding GStreamer, but after this change the crashes after running layout-tests are solved.
Lastly, this commit: jhbuild: Do not build custom gstreamer removed gstreamer from the list of modules to be built via JHBuild since Ubuntu 24.04 provided a more up-to-date version. The commit also unsets several environment variables. I wonder if those variables should be restored?