Re: [yocto] Error do_compile libepoxy

2018-01-22 Thread Trevor Woerner
On Mon 2018-01-22 @ 10:12:27 AM, Andrea Galbusera wrote: > I'll try to follow up with a patch to meta-raspberrypi and > possibly upstream to userland. In the end, I don't think libepoxy is > the right place to explicitly put the change. What's your opinion > here? If I write C code, and in one of

Re: [yocto] Error do_compile libepoxy

2018-01-22 Thread Alexander Kanavin
On 01/19/2018 06:36 PM, Andrea Galbusera wrote: This is where I think the configuration is not quite right. Instead of virtual/libx11, it should say virtual/libgl. And if that dependency cannot be satisfied, then the x11 option should be altogether disabled in the distro/local config (in poky me

Re: [yocto] Error do_compile libepoxy

2018-01-22 Thread Andrea Galbusera
Hi Anuj, On Sun, Jan 21, 2018 at 4:23 PM, Anuj Mittal wrote: > On 01/21/2018 01:07 AM, Andrea Galbusera wrote: >> On Sat, Jan 20, 2018 at 10:29 AM, Anuj Mittal wrote: >>> On 01/19/2018 08:32 PM, Alexander Kanavin wrote: > I'll try to recap a little bit but, please, forgive my ignorance

Re: [yocto] Error do_compile libepoxy

2018-01-21 Thread Anuj Mittal
On 01/21/2018 01:07 AM, Andrea Galbusera wrote: > On Sat, Jan 20, 2018 at 10:29 AM, Anuj Mittal wrote: >> On 01/19/2018 08:32 PM, Alexander Kanavin wrote: >>> I'll try to recap a little bit but, please, forgive my ignorance in graphics stacks and libraries. Disclaimer: mostly workin

Re: [yocto] Error do_compile libepoxy

2018-01-20 Thread Andrea Galbusera
On Sat, Jan 20, 2018 at 10:29 AM, Anuj Mittal wrote: > On 01/19/2018 08:32 PM, Alexander Kanavin wrote: >> >>> I'll try to recap a little bit but, please, forgive my ignorance in >>> graphics stacks and libraries. >>> Disclaimer: mostly working on headless systems... my bad! >>> This is what I thi

Re: [yocto] Error do_compile libepoxy

2018-01-20 Thread Anuj Mittal
On 01/19/2018 08:32 PM, Alexander Kanavin wrote: > >> I'll try to recap a little bit but, please, forgive my ignorance in >> graphics stacks and libraries. >> Disclaimer: mostly working on headless systems... my bad! >> This is what I think I understand here (remember I test building poky >> + met

Re: [yocto] Error do_compile libepoxy

2018-01-19 Thread Andrea Galbusera
On Fri, Jan 19, 2018 at 1:32 PM, Alexander Kanavin wrote: > >> I'll try to recap a little bit but, please, forgive my ignorance in >> graphics stacks and libraries. >> Disclaimer: mostly working on headless systems... my bad! >> This is what I think I understand here (remember I test building poky

Re: [yocto] Error do_compile libepoxy

2018-01-19 Thread Alexander Kanavin
I'll try to recap a little bit but, please, forgive my ignorance in graphics stacks and libraries. Disclaimer: mostly working on headless systems... my bad! This is what I think I understand here (remember I test building poky + meta-raspberrypi): * libepoxy recipe in poky uses PACKAGECONFIG to

Re: [yocto] Error do_compile libepoxy

2018-01-19 Thread Andrea Galbusera
On Fri, Jan 19, 2018 at 8:45 AM, Alexander Kanavin wrote: > On 01/19/2018 05:29 AM, Andre McCurdy wrote: >>> >>> Note that this same test does build fine in poky, so disabling the tests >>> is >>> not a good fix. You should figure out what is about the non-poky EGL >>> headers >>> that is causing

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Alexander Kanavin
On 01/19/2018 05:29 AM, Andre McCurdy wrote: Note that this same test does build fine in poky, so disabling the tests is not a good fix. You should figure out what is about the non-poky EGL headers that is causing the failure, and whether you need to configure the provider of those headers differ

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Andre McCurdy
On Thu, Jan 18, 2018 at 5:49 AM, Alexander Kanavin wrote: > On 01/18/2018 03:41 PM, Andrea Galbusera wrote: >> >> Yes, this is coherent with what Alexander's commit message says. We >> started building stuff in test/ while switching to meson... >> If we can't easily fix the upstream ourself and/or

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Michael Gloff
Thanks Trevor - going in the right direction. There are no "GL" includes or libs in the recipe sysroot becuase userland does not provide it. Adding mesa-gl to DEPENDS allows it to complete. Not sure if this is the correct solution though. Michael Gloff On Thu, Jan 18, 2018 at 2:48 PM, Trevor Woer

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Trevor Woerner
On Thu, Jan 18, 2018 at 10:05 AM, Michael Gloff wrote: > I can confirm adding #include to test/egl_common.c gets past > the original error, but then fails with: > > thank you for checking :-) > > > Log data follows: > | DEBUG: Executing shell function do_compile > | [1/2] Compiling c object 't

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Michael Gloff
I can confirm adding #include to test/egl_common.c gets past the original error, but then fails with: Log data follows: | DEBUG: Executing shell function do_compile | [1/2] Compiling c object 'test/glx_beginend@exe/glx_beginend.c.o' | [2/2] Linking target test/glx_beginend | FAILED: test/glx_beg

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Trevor Woerner
On Thu, Jan 18, 2018 at 4:05 AM, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > 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. >> Al

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Alexander Kanavin
On 01/18/2018 03:41 PM, Andrea Galbusera wrote: Yes, this is coherent with what Alexander's commit message says. We started building stuff in test/ while switching to meson... If we can't easily fix the upstream ourself and/or reproduce outside of OE to ask for help from upstream devels, IMO we s

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Andrea Galbusera
On Thu, Jan 18, 2018 at 2:13 PM, Max Krummenacher wrote: > Hi > > 2018-01-18 10:05 GMT+01:00 Alexander Kanavin > : >> >> 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

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Max Krummenacher
Hi 2018-01-18 10:05 GMT+01:00 Alexander Kanavin < alexander.kana...@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-in

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Alexander Kanavin
On 01/18/2018 12:00 PM, Martin Jansa wrote: FWIW: here nativesdk-libepoxy fails in do_configure already since meson conversion FileNotFoundError: [Errno 2] No such file or directory: 'TOPDIR/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/nativesdk-libepoxy/1.4.3-r0/build/meson-private/sanitycheck

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Martin Jansa
FWIW: here nativesdk-libepoxy fails in do_configure already since meson conversion FileNotFoundError: [Errno 2] No such file or directory: 'TOPDIR/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/nativesdk-libepoxy/1.4.3-r0/build/meson-private/sanitycheckc.exe' http://errors.yoctoproject.org/Errors/De

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Alexander Kanavin
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

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Burton, Ross
On 18 January 2018 at 08:58, 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. > So you've implicated the Me

Re: [yocto] Error do_compile libepoxy

2018-01-18 Thread Andrea Galbusera
On Wed, Jan 17, 2018 at 1:58 PM, Andrea Galbusera wrote: > Hi! > > On Wed, Jan 17, 2018 at 1:46 PM, Mathias Rudnik > wrote: >> Hello, >> >> I am trying to build libepoxy but the do_compile tasks breaks. >> I found following error messages in the logs: >> >> arm-poky-linux-gnueabi-gcc -march=armv6

Re: [yocto] Error do_compile libepoxy

2018-01-17 Thread Andrea Galbusera
Hi! On Wed, Jan 17, 2018 at 1:46 PM, Mathias Rudnik wrote: > Hello, > > I am trying to build libepoxy but the do_compile tasks breaks. > I found following error messages in the logs: > > arm-poky-linux-gnueabi-gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard > -mtune=arm1176jzf-s -mfpu=vfp > --sysroot

Re: [yocto] Error do_compile libepoxy

2018-01-17 Thread Burton, Ross
I suggest you ask the upstream maintainers of libepoxy. Ross On 17 January 2018 at 12:46, Mathias Rudnik wrote: > Hello, > > I am trying to build libepoxy but the do_compile tasks breaks. > I found following error messages in the logs: > > arm-poky-linux-gnueabi-gcc -march=armv6 -mfpu=vfp -mflo

[yocto] Error do_compile libepoxy

2018-01-17 Thread Mathias Rudnik
Hello, I am trying to build libepoxy but the do_compile tasks breaks. I found following error messages in the logs: arm-poky-linux-gnueabi-gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s -mfpu=vfp --sysroot=/hdd_gold1/mathias/git/poky/rpi-build/tmp/work/arm1176jzfshf-vfp-poky-li

[yocto] Error do_compile libepoxy

2018-01-15 Thread Mathias Rudnik
Hello, I am trying to build libepoxy but the do_compile tasks breaks. I found following error messages in the logs: arm-poky-linux-gnueabi-gcc -march=armv6 -mfpu=vfp -mfloat-abi=hard -mtune=arm1176jzf-s -mfpu=vfp --sysroot=/hdd_gold1/mathias/git/poky/rpi-build/tmp/work/arm1176jzfshf-vfp-poky-li