building gstreamr from mono repo meson issues

Matthew Waters ystreet00 at gmail.com
Thu Oct 21 08:53:24 UTC 2021



On 21/10/21 17:37, Belisko Marek via gstreamer-devel wrote:
> Hello,
>
> according documentation on webpage :
> https://gitlab.freedesktop.org/gstreamer/gstreamer
> for building gstreamer it is necessary to run following commands:
>
> meson builddir
> ninja -C builddir
>
> I'm trying to add support for gstreamer to yocto and I hit some issue
> which are not quite clear to me.
>
> - gstreamer requires meson >= 0.59 (doesn't work with version on
> Ubuntu 16.04 or 18.04)
> - when added meson 0.59.1 I'm hitting following issue:
>
>  | DEBUG: Python function extend_recipe_sysroot finished
> | DEBUG: Executing shell function do_configure
> | NOTE: Executing meson -Dintrospection=true ...

You need to update your build scripts (yocto?) to not use
-Dintrospection=true and as mentioned below, use "enabled", "disabled",
or "auto", probably "enabled".

> | The Meson build system
> | Version: 0.59.1
> | Source dir: /home/builder/build/tmp/work/cortexa53-crypto-poky-linux/gstreamer/1.0+gitAUTOINC+b4ca58df76-r0/git
> | Build dir: /home/builder/build/tmp/work/cortexa53-crypto-poky-linux/gstreamer/1.0+gitAUTOINC+b4ca58df76-r0/build
> | Build type: cross build
> |
> | ../git/meson.build:1:0: ERROR: Value "true" (of type "string") for
> combo option "Generate gobject-introspection bindings" is not one of
> the choices. Possible choices are (as string): "enabled", "disabled",
> "auto".
> |
> | A full log can be found at
> /home/builder/build/tmp/work/cortexa53-crypto-poky-linux/gstreamer/1.0+gitAUTOINC+b4ca58df76-r0/build/meson-logs/meson-log.txt
> | ERROR: meson failed
>
> Is meson too new or am I doing something wrong?
>
> Is there some way to cross-compile gstreamer from mono  repo in some
> docker container or so for experimenting with bleeding edge master?
>
> Thanks and BR,
>
> marek
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211021/d6699f63/attachment.sig>


More information about the gstreamer-devel mailing list