Bug 255980
| Summary: | REGRESSION(263216@main): [JHbuild] Cannot build with minimal moduleset on Ubuntu 22.04 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | New Bugs | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Diego Pino
When building with the minimal moduleset on Ubuntu 22.04, I got the following build error:
```
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency gstreamer-video-1.0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gstreamer-video-1.0
../../Source/gst-libav-1.18.4.tar.gz/meson.build:88:0: ERROR: Neither a subproject directory nor a gst-plugins-base.wrap file was found.
A full log can be found at /home/pwuser/webkit/WebKitBuild/WPE/DependenciesWPE/Build/gst-libav-1.18.4.tar.gz/meson-logs/meson-log.txt
meson setup --prefix /home/pwuser/webkit/WebKitBuild/WPE/DependenciesWPE/Root --libdir lib --buildtype=debugoptimized /home/pwuser/webkit/WebKitBuild/WPE/DependenciesWPE/Source/gst-libav-1.18.4.tar.gz
Failed to build WPE port dependencies with jhbuild
Died at ./Tools/Scripts/update-webkitwpe-libs line 26.
```
Ubuntu 22.04 satisfies all the required dependencies provided by the GStreamer moduleset through system libraries. In theory, the pkg-config tag should prevent installing the modules provided by GStreamer if a more up-to-date version of that package is available through system dependencies. However, some modules lack a .pkg file so it's not possible to do this in all cases.
An alternative solution could be to restore the former jhbuild-minimal moduleset and add a new one which also includes the gstreamer modules. Those systems that cannot satisfy gstreamer dependencies through system libraries can use this new minimal-plus-gstreamer moduleset.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/webkit/webkit/pull/13194
EWS
Committed 263411@main (bf6ce950bacc): <https://commits.webkit.org/263411@main>
Reviewed commits have been landed. Closing PR #13194 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/108554214>