WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
Bug 261125
Extra space added to library name before passing into pkg-config
https://bugs.webkit.org/show_bug.cgi?id=261125
Summary
Extra space added to library name before passing into pkg-config
Adrian Vovk
Reported
2023-09-04 15:27:22 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2023-09-16 04:29:36 PDT
Fixed by
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8789
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug