<?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>255980</bug_id>
          
          <creation_ts>2023-04-26 04:52:36 -0700</creation_ts>
          <short_desc>REGRESSION(263216@main): [JHbuild] Cannot build with minimal moduleset on Ubuntu 22.04</short_desc>
          <delta_ts>2023-04-26 06:04:19 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego Pino">dpino</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1951304</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-04-26 04:52:36 -0700</bug_when>
    <thetext>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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951305</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-04-26 04:58:19 -0700</bug_when>
    <thetext>Pull request: https://github.com/webkit/webkit/pull/13194</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951310</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-26 06:03:51 -0700</bug_when>
    <thetext>Committed 263411@main (bf6ce950bacc): &lt;https://commits.webkit.org/263411@main&gt;

Reviewed commits have been landed. Closing PR #13194 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951311</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-26 06:04:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/108554214&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>