[yocto] Error do_compile libepoxy

Max Krummenacher max.oss.09 at gmail.com
Thu Jan 18 05:13:53 PST 2018


Hi

2018-01-18 10:05 GMT+01:00 Alexander Kanavin <
alexander.kanavin at linux.intel.com>:

> On 01/18/2018 10:58 AM, Andrea Galbusera wrote:
>
>>
>> Looks like my first guess was not that bad. Reverting below commit,
>> which switched to meson build system brought my build back to green.
>> Also CC-ing the patch author who might suggest further investigations.
>>
>>      libepoxy: convert to meson build
>>
>>
> There's probably a missing header include - carefully compare do_compile
> logs in both cases and see how they differ for the failing file. Also
> inspect the file for any conditional define macros and see if they're
> enabled or not in both cases.
>
>
I've seen this also with a build for Nviidia Tegras which have non
'standard' (i.e. not from the mesa build) EGL/OpenGLES header files. (And
there is no OpenGL/GLX.)

Above error and a linking attempt against the not existing GLX are both in
the test binaries produced from the libepoxy-1.4.3/test directory. All
artefacts from in there are not packaged by our recipe. Before the switch
to meson those binaries were not built, so I guess that the issues have
been there all along but they did not trigger.

My interim fix is to remove the test directory from the top-level
meson.build file but I'm unsure if that is a way forward.
I did not yet build nativesdk-libepoxy with this.

--- libepoxy-1.4.3/meson.build~ 2017-06-06 11:55:31.000000000 +0200
+++ libepoxy-1.4.3/meson.build  2018-01-18 14:10:49.517098475 +0100
@@ -258,7 +258,6 @@

 subdir('include/epoxy')
 subdir('src')
-subdir('test')

 if get_option('enable-docs')
   doxygen = find_program('doxygen', required: false)
[

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180118/53a5ed2f/attachment.html>


More information about the yocto mailing list