* libepoxy build error for i.MX6-based boards @ 2015-05-18 21:31 Otavio Salvador 2015-05-19 2:04 ` Lauren Post 2015-05-19 15:15 ` Neena Busireddy 0 siblings, 2 replies; 6+ messages in thread From: Otavio Salvador @ 2015-05-18 21:31 UTC (permalink / raw) To: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1875 bytes --] Hello, O.S. Systems autobuilder has found the following error: x11 fsl-image-machine-test@imx6qsabresd (4/7) | .../build-x11/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized" x11 fsl-image-machine-test@imx6qsabresd (4/7) | #error "Platform not recognized" x11 fsl-image-machine-test@imx6qsabresd (4/7) | ^ x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [glx_generated_dispatch.lo] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [gl_generated_dispatch.lo] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: *** [all] Error 2 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: *** [all-recursive] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make: *** [all] Error 2 x11 fsl-image-machine-test@imx6qsabresd (4/7) | ERROR: oe_runmake failed If someone can take a look, please do. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 [-- Attachment #2: Type: text/html, Size: 2421 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libepoxy build error for i.MX6-based boards 2015-05-18 21:31 libepoxy build error for i.MX6-based boards Otavio Salvador @ 2015-05-19 2:04 ` Lauren Post 2015-05-19 12:02 ` Otavio Salvador 2015-05-19 15:15 ` Neena Busireddy 1 sibling, 1 reply; 6+ messages in thread From: Lauren Post @ 2015-05-19 2:04 UTC (permalink / raw) To: Otavio Salvador, meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 2265 bytes --] I saw this today – I have a patch for it I am testing (same as clutter bbappends works to fix this) From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Otavio Salvador Sent: Monday, May 18, 2015 4:32 PM To: meta-freescale@yoctoproject.org Subject: [meta-freescale] libepoxy build error for i.MX6-based boards Hello, O.S. Systems autobuilder has found the following error: x11 fsl-image-machine-test@imx6qsabresd (4/7) | .../build-x11/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized" x11 fsl-image-machine-test@imx6qsabresd (4/7) | #error "Platform not recognized" x11 fsl-image-machine-test@imx6qsabresd (4/7) | ^ x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [glx_generated_dispatch.lo] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [gl_generated_dispatch.lo] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: *** [all] Error 2 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: *** [all-recursive] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make: *** [all] Error 2 x11 fsl-image-machine-test@imx6qsabresd (4/7) | ERROR: oe_runmake failed If someone can take a look, please do. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 [-- Attachment #2: Type: text/html, Size: 6602 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libepoxy build error for i.MX6-based boards 2015-05-19 2:04 ` Lauren Post @ 2015-05-19 12:02 ` Otavio Salvador 0 siblings, 0 replies; 6+ messages in thread From: Otavio Salvador @ 2015-05-19 12:02 UTC (permalink / raw) To: Lauren Post; +Cc: meta-freescale@yoctoproject.org On Mon, May 18, 2015 at 11:04 PM, Lauren Post <Lauren.Post@freescale.com> wrote: > I saw this today – I have a patch for it I am testing (same as clutter > bbappends works to fix this) So please send a patch for those so we can keep master builds going. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libepoxy build error for i.MX6-based boards 2015-05-18 21:31 libepoxy build error for i.MX6-based boards Otavio Salvador 2015-05-19 2:04 ` Lauren Post @ 2015-05-19 15:15 ` Neena Busireddy 2015-05-19 15:25 ` Nikolay Dimitrov 1 sibling, 1 reply; 6+ messages in thread From: Neena Busireddy @ 2015-05-19 15:15 UTC (permalink / raw) To: Otavio Salvador, meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 2163 bytes --] Hi Otavio, Hello, O.S. Systems autobuilder has found the following error: x11 fsl-image-machine-test@imx6qsabresd (4/7) | .../build-x11/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized" x11 fsl-image-machine-test@imx6qsabresd (4/7) | #error "Platform not recognized" x11 fsl-image-machine-test@imx6qsabresd (4/7) | ^ x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [glx_generated_dispatch.lo] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [gl_generated_dispatch.lo] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: *** [all] Error 2 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: *** [all-recursive] Error 1 x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build' x11 fsl-image-machine-test@imx6qsabresd (4/7) | make: *** [all] Error 2 x11 fsl-image-machine-test@imx6qsabresd (4/7) | ERROR: oe_runmake failed If someone can take a look, please do. This regression is caused by the commit 05ea29b4406613ea45bb0cb7aec57c22e55b9969 (xserver-xorg: add PACKAGECONFIG for wayland and add xserver-xorg-xwayland) pushed in poky. We are seeing this error as we don’t have x11 and wayland functional together. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 [-- Attachment #2: Type: text/html, Size: 6290 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libepoxy build error for i.MX6-based boards 2015-05-19 15:15 ` Neena Busireddy @ 2015-05-19 15:25 ` Nikolay Dimitrov 2015-05-19 15:46 ` Prabhu S 0 siblings, 1 reply; 6+ messages in thread From: Nikolay Dimitrov @ 2015-05-19 15:25 UTC (permalink / raw) To: Neena Busireddy, Otavio Salvador, meta-freescale@yoctoproject.org, Lauren.Post Hi Neena, On 05/19/2015 06:15 PM, Neena Busireddy wrote: > Hi Otavio, > > Hello, > > O.S. Systems autobuilder has found the following error: > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | .../build-x11/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized" > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | #error "Platform not recognized" > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | ^ > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [glx_generated_dispatch.lo] Error 1 > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion" > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [gl_generated_dispatch.lo] Error 1 > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: *** [all] Error 2 > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: *** [all-recursive] Error 1 > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build' > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | make: *** [all] Error 2 > > x11 fsl-image-machine-test@imx6qsabresd (4/7) | ERROR: oe_runmake failed > > If someone can take a look, please do. > > This regression is caused by the commit > 05ea29b4406613ea45bb0cb7aec57c22e55b9969 (xserver-xorg: add > PACKAGECONFIG for wayland and add xserver-xorg-xwayland) pushed in poky. > > We are seeing this error as we don’t have x11 and wayland functional > together. Well, they don't have to be functional at the same time. This fixes the issue, as pointed out by Lauren: meta-fsl-arm/recipes-graphics/libepoxy/libepoxy_%.bbappend: ----------------------------------------------------------- CFLAGS_append_mx6 = " -DLINUX" (Actually, Lauren pointed to a more complete fix than this work-around, but this is what fixed the master build for me, and I'm happy enough to not care about Wayland for the moment) Regards, Nikolay ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libepoxy build error for i.MX6-based boards 2015-05-19 15:25 ` Nikolay Dimitrov @ 2015-05-19 15:46 ` Prabhu S 0 siblings, 0 replies; 6+ messages in thread From: Prabhu S @ 2015-05-19 15:46 UTC (permalink / raw) To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador [-- Attachment #1: Type: text/plain, Size: 3688 bytes --] libepoxy.bb recipe is incomplete. http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-graphics/libepoxy/libepoxy_1.2.bb libepoxy will also supports OpenGL, if can be configured in the OECONF, since all platforms does not support OpenGL. there should be way for configuring this. pkgconfig wil provide -DLINUX flags and currently it is being provided by egl.pc. but the libepoxy is using opengl causing this problem. for i.MX6, recommended to enable EGL rather than OpenGL/GLX. So the proper fix is adding configure options in libepoxy.bb to disable/enable GLX. And another fix is to add -DLINUX in the OpenGL pkgconfig libepoxy_%.bbappend is a workaround for now. On Tue, May 19, 2015 at 10:25 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote: > Hi Neena, > > > On 05/19/2015 06:15 PM, Neena Busireddy wrote: > >> Hi Otavio, >> >> Hello, >> >> O.S. Systems autobuilder has found the following error: >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | >> .../build-x11/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:266:2: >> error: #error "Platform not recognized" >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | #error "Platform not >> recognized" >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | ^ >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: >> unrecognized command line option "-Wno-int-conversion" >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** >> [glx_generated_dispatch.lo] Error 1 >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: >> unrecognized command line option "-Wno-int-conversion" >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** >> [gl_generated_dispatch.lo] Error 1 >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: Leaving >> directory >> `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: *** [all] Error >> 2 >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: Leaving >> directory >> `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src' >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: *** >> [all-recursive] Error 1 >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: Leaving >> directory >> `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build' >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make: *** [all] Error 2 >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | ERROR: oe_runmake failed >> >> If someone can take a look, please do. >> >> This regression is caused by the commit >> 05ea29b4406613ea45bb0cb7aec57c22e55b9969 (xserver-xorg: add >> PACKAGECONFIG for wayland and add xserver-xorg-xwayland) pushed in poky. >> >> We are seeing this error as we don’t have x11 and wayland functional >> together. >> > > Well, they don't have to be functional at the same time. > > This fixes the issue, as pointed out by Lauren: > > > meta-fsl-arm/recipes-graphics/libepoxy/libepoxy_%.bbappend: > ----------------------------------------------------------- > CFLAGS_append_mx6 = " -DLINUX" > > > (Actually, Lauren pointed to a more complete fix than this work-around, > but this is what fixed the master build for me, and I'm happy enough to > not care about Wayland for the moment) > > Regards, > Nikolay > > -- > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > [-- Attachment #2: Type: text/html, Size: 4699 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-19 15:47 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-05-18 21:31 libepoxy build error for i.MX6-based boards Otavio Salvador 2015-05-19 2:04 ` Lauren Post 2015-05-19 12:02 ` Otavio Salvador 2015-05-19 15:15 ` Neena Busireddy 2015-05-19 15:25 ` Nikolay Dimitrov 2015-05-19 15:46 ` Prabhu S
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.