[Bug 794708] New: Cannot cross compile gst-plugins-base because an introspection problem

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 26 21:21:10 UTC 2018


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

            Bug ID: 794708
           Summary: Cannot cross compile gst-plugins-base because an
                    introspection problem
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dv at pseudoterminal.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I am trying to cross compile gst-plugins-base 1.14.0 for an i.MX6 target using
Yocto. But it fails. Here is the error:

Couldn't find include 'GstVideo-1.0.gir' (search path:
'['/home/test/BuildSetups/yocto-setup/build/tmp/work/armv7ahf-neon-imx-linux-gnueabi/gstreamer1.0-plugins-base/1.14.0-r0/recipe-sysroot/usr/share/gir-1.0',
'/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0',
'/home/test/BuildSetups/yocto-setup/build/tmp/work/armv7ahf-neon-imx-linux-gnueabi/gstreamer1.0-plugins-base/1.14.0-r0/recipe-sysroot/usr/share/gir-1.0',
'/home/test/BuildSetups/yocto-setup/build/tmp/work/armv7ahf-neon-imx-linux-gnueabi/gstreamer1.0-plugins-base/1.14.0-r0/recipe-sysroot-native/usr/share/gir-1.0',
'/usr/share/gir-1.0',
'/home/test/BuildSetups/yocto-setup/build/tmp/work/armv7ahf-neon-imx-linux-gnueabi/gstreamer1.0-plugins-base/1.14.0-r0/recipe-sysroot-native/usr/share/gir-1.0']')
Makefile:1506: recipe for target 'GstGL-1.0.gir' failed

The error happens because the .gir file is in gst-libs/gst/video/ , and this is
not a search path.

What also stands out is that for some reason, '/usr/share/gir-1.0' is added.
This is a big mistake when cross compiling - NEVER refer to include and library
directories of the host. I do not know why this path is there.

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


More information about the gstreamer-bugs mailing list