[Bug 773927] wayland plugin fails to build

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 18 00:31:13 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773927

Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reynaldo at osg.samsung.com

--- Comment #12 from Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> ---
Created attachment 340199
  --> https://bugzilla.gnome.org/attachment.cgi?id=340199&action=edit
Avoid prefix clash in combined pkg-config check

Above mentioned commit (dfd86de67a8c0) breaks building
ext/wayland for me. IIUC, the combined PKG_CHECK_MODULES(WAYLAND..
clashes with the one setting GST_VULKAN_HAVE_WINDOW_WAYLAND
(Same prefix, "WAYLAND") leading to the FLAGS/CLIBS for
libdrm not being set.

Relevant part of generated configure follows:

[..]
if test -n "$PKG_CONFIG"; then
    if test -n "$WAYLAND_CFLAGS"; then
        pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists
--print-errors \"wayland-client >= 1.4.0 libdrm >= 2.4.55 wayland-protocols >=
1.4\""; } >&5
  ($PKG_CONFIG --exists --print-errors "wayland-client >= 1.4.0 libdrm >=
2.4.55 wayland-protocols >= 1.4") 2>&5
  ac_status=$?
[..]

Not sure about the preferred solution. Possible fixes
might include: using another prefix for the combined
wayland-client + libdrm check, change the one in the
vulkan section (attached patch) or add a separate
PKG_CHECK_MODULES for libdrm.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list