Bug 255980 - REGRESSION(263216@main): [JHbuild] Cannot build with minimal moduleset on Ubuntu 22.04
Summary: REGRESSION(263216@main): [JHbuild] Cannot build with minimal moduleset on Ubu...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Diego Pino
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-26 04:52 PDT by Diego Pino
Modified: 2023-04-26 06:04 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Pino 2023-04-26 04:52:36 PDT
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.
Comment 1 Diego Pino 2023-04-26 04:58:19 PDT
Pull request: https://github.com/webkit/webkit/pull/13194
Comment 2 EWS 2023-04-26 06:03:51 PDT
Committed 263411@main (bf6ce950bacc): <https://commits.webkit.org/263411@main>

Reviewed commits have been landed. Closing PR #13194 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-04-26 06:04:19 PDT
<rdar://problem/108554214>