Do you actually need gtk+3 in your image?

There is a poky configuration that builds core-image-weston without x11,
and core-image-weston does pull in gtk+3, and all that happens without
errors:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder-helper/tree/config.json?h=zeus#n638
so I'd suggest you reproduce that, get it to build, then investigate where
your build diverges.

Alex

On Mon, 9 Nov 2020 at 14:10, Adrian <adrian.fiergol...@fastree3d.com> wrote:

> Hi,
>
> I am building an image based on core-image-weston.
>
> I would like to use only wayland backend, thus I defined in my machine's
> configuration:
>
> DISTRO_FEATURES_append = " wayland"
> DISTRO_FEATURES_remove = " x11"
>
> I have a problem with build of gtk+3:
>
> | checking for pango pangocairo gdk-pixbuf-2.0 >= 2.30.0 cairo >= 1.14.0
> cairo-gobject >= 1.14.0 gio-unix-2.0 >= 2.53.4  wayland-client >= 1.9.91
> wayland-protocols >= 1.12 xkbcommon >= 0.2.0 wayland-cursor >= 1.9.91
> wayland-egl   cairo epoxy >= 1.4  fribidi >= 0.19.7... no
> | configure: error: Package requirements (pango pangocairo gdk-pixbuf-2.0
> >= 2.30.0 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gio-unix-2.0 >= 2.53.4
> wayland-client >= 1.9.91 wayland-protocols >= 1.12 xkbcommon >= 0.2.0
> wayland-cursor >= 1.9.91 wayland-egl   cairo epoxy >= 1.4  fribidi >=
> 0.19.7) were not met:
> |
> | Package 'x11', required by 'gl', not found
>
> The configuration flags in config.log seems to be ok:
>
>   $ ../gtk+-3.24.8/configure --build=x86_64-linux
> --host=aarch64-poky-linux --target=aarch64-poky-linux --prefix=/usr
> --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
> --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc
> --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib
> --includedir=/usr/include --oldincludedir=/usr/include
> --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules
> --disable-dependency-tracking
> --with-libtool-sysroot=/home/afiergol/fastree/falcon/poky/build/tmp/work/aarch64-poky-linux/gtk+3/3.24.8-r0/recipe-sysroot
> --enable-introspection --disable-gtk-doc --disable-glibtest
> --disable-xinerama --enable-modules --disable-colord --disable-gtk-doc
> --disable-static --disable-cups --disable-glx --enable-opengl
> --enable-wayland-backend --disable-x11-backend --enable-nls
>
> Has anybody else experience similar issue? Do you know a fix? I work with
> the latest zeus (d88d62c20d7d8da85f02edb170dae0280624ad7e) version.
>
> Regards,
>
> Adrian
>
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51320): https://lists.yoctoproject.org/g/yocto/message/51320
Mute This Topic: https://lists.yoctoproject.org/mt/78134683/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to