[Webkit-unassigned] [Bug 261125] New: Extra space added to library name before passing into pkg-config

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 4 15:27:22 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261125

            Bug ID: 261125
           Summary: Extra space added to library name before passing into
                    pkg-config
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: adrianvovk at gmail.com
                CC: bugs-noreply at webkitgtk.org

When searching for gstreamer and related libraries, WebKitGTK's build system appends an extra space to the library name before passing it into pkg-config. So for instance: when looking for `gstreamer-1.0`, it will invoke `pkg-config --modversion "gstreamer-1.0 "`. Strangely, some gstreamer-related libraries (example: gstreamer-full-1.0 and gstreamer-mpegts-1.0) do not get an extra space appended to them.

In versions of pkgconf older than 2.0.3, the extra space would just get ignored and everything would continue as normal. Since pkgconf 2.0.3, this is NOT the case anymore, and instead pkgconf prints nothing (unclear if this is a bug on their part... I've opened an issue here: https://github.com/pkgconf/pkgconf/issues/317)

In effect, this means that since pkgconf 2.0.3, I cannot compile webkitgtk, because it fails to find the version numbers for most gstreamer-related libraries.

Version info:
WebkitGTK 2.40.5
Gstreamer 1.22.5
carbonOS

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230904/c6a0ee11/attachment.htm>


More information about the webkit-unassigned mailing list