Re: Error do_compile libepoxy
Andrea Galbusera
On Fri, Jan 19, 2018 at 1:32 PM, Alexander Kanavin
<alexander.kanavin@...> wrote: Yes! Jussi helped a lot in the past with issues raised by graphicI'll try to recap a little bit but, please, forgive my ignorance in recipes from meta-raspberrypi, most notably 'userland' (see below)... - the offending tests are wrapped in "if build_egl and build_x11_tests"Yes, if I understand correctly, meta-raspberrypi uses either 'mesa' or 'userland' [1] as providers for virtual/egl, mesa being chosen only for 64bit builds of raspberrypi3. PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}" BTW I gave the 64bit a spin right now to see if something changed with mesa instead of userland... and it turned out to build just fine (tests included). Nailing it down to something userland is supposed to provide but does not as expected? [1] https://github.com/raspberrypi/userland - "build_x11_tests = build_glx and x11_dep.found()" - build_glx is similarlyCan you point to any in particular so I can have a look at the pattern? Can you try:Yes, they do. As expected, meson does not find the X11 dependency and skips building tests... b) changing the dependency in that option to virtual/libgl and see what kindNope, below change has no effect. The error is the same as in the original post (missing symbols from X11/Xlib.h) diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb index 72167a2..ee9db24 100644 --- a/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb +++ b/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb @@ -20,7 +20,7 @@ REQUIRED_DISTRO_FEATURES = "opengl" DEPENDS = "util-macros" PACKAGECONFIG[egl] = "-Denable-egl=yes, -Denable-egl=no, virtual/egl" -PACKAGECONFIG[x11] = "-Denable-glx=yes, -Denable-glx=no, virtual/libx11" +PACKAGECONFIG[x11] = "-Denable-glx=yes, -Denable-glx=no, virtual/libgl" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" EXTRA_OEMESON_append_libc-musl = " -Dhas-dlvsym=false "
|
|