* [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri
@ 2015-07-08 9:58 Jens Rehsack
2015-07-08 11:42 ` Otavio Salvador
0 siblings, 1 reply; 7+ messages in thread
From: Jens Rehsack @ 2015-07-08 9:58 UTC (permalink / raw)
To: meta-freescale
Hi,
I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
My distro is built without X11 etc., just frame buffer.
See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
Best regards
--
Jens Rehsack - rehsack@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri
2015-07-08 9:58 [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri Jens Rehsack
@ 2015-07-08 11:42 ` Otavio Salvador
2015-07-08 12:48 ` Jens Rehsack
0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2015-07-08 11:42 UTC (permalink / raw)
To: Jens Rehsack; +Cc: meta-freescale
On Wed, Jul 8, 2015 at 6:58 AM, Jens Rehsack <rehsack@gmail.com> wrote:
> I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
> My distro is built without X11 etc., just frame buffer.
>
> See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
I am trying to understand your build failure. What error you had?
--
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] 7+ messages in thread
* Re: [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri
2015-07-08 11:42 ` Otavio Salvador
@ 2015-07-08 12:48 ` Jens Rehsack
2015-07-08 13:36 ` Otavio Salvador
0 siblings, 1 reply; 7+ messages in thread
From: Jens Rehsack @ 2015-07-08 12:48 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
> Am 08.07.2015 um 13:42 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>
> On Wed, Jul 8, 2015 at 6:58 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>> I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
>> My distro is built without X11 etc., just frame buffer.
>>
>> See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
>
> I am trying to understand your build failure. What error you had?
Eg.:
... -O2 -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname -Wl,libGLU.so.1 -Wl,-retain-symbols-file -Wl,.libs/libGLU.exp -o .libs/libGLU.so.1.3.1
| /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lGL
| collect2: error: ld returned 1 exit status
| make: *** [libGLU.la] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/run.do_compile.21094:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/log.do_compile.21094)
ERROR: Task 2148 (/home/sno/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/libglu_9.0.0.bb, do_compile) failed with exit code '1'
libglu is an opengl related dependency of libsdl, which is required for xbmc
I enabled opengl in distro-features before, because imx-gpu-viv complains being unbuildable because of mesa requires opengl:
ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but /home/sno/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb RDEPENDS on or otherwise requires it)
Cheers
--
Jens Rehsack - rehsack@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri
2015-07-08 12:48 ` Jens Rehsack
@ 2015-07-08 13:36 ` Otavio Salvador
2015-07-08 13:52 ` Jens Rehsack
0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2015-07-08 13:36 UTC (permalink / raw)
To: Jens Rehsack; +Cc: meta-freescale
On Wed, Jul 8, 2015 at 9:48 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>
>> Am 08.07.2015 um 13:42 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>>
>> On Wed, Jul 8, 2015 at 6:58 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>>> I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
>>> My distro is built without X11 etc., just frame buffer.
>>>
>>> See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
>>
>> I am trying to understand your build failure. What error you had?
>
> Eg.:
>
> ... -O2 -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname -Wl,libGLU.so.1 -Wl,-retain-symbols-file -Wl,.libs/libGLU.exp -o .libs/libGLU.so.1.3.1
> | /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lGL
> | collect2: error: ld returned 1 exit status
> | make: *** [libGLU.la] Error 1
> | ERROR: oe_runmake failed
> | WARNING: /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/run.do_compile.21094:1 exit 1 from
> | exit 1
> | ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/log.do_compile.21094)
> ERROR: Task 2148 (/home/sno/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/libglu_9.0.0.bb, do_compile) failed with exit code '1'
>
> libglu is an opengl related dependency of libsdl, which is required for xbmc
>
> I enabled opengl in distro-features before, because imx-gpu-viv complains being unbuildable because of mesa requires opengl:
>
> ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but /home/sno/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb RDEPENDS on or otherwise requires it)
Is there a way I can reproduce it here? What distro or changes you are
doing in local.conf?
--
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] 7+ messages in thread
* Re: [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri
2015-07-08 13:36 ` Otavio Salvador
@ 2015-07-08 13:52 ` Jens Rehsack
2015-07-10 9:12 ` Jens Rehsack
0 siblings, 1 reply; 7+ messages in thread
From: Jens Rehsack @ 2015-07-08 13:52 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
> Am 08.07.2015 um 15:36 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>
> On Wed, Jul 8, 2015 at 9:48 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>>
>>> Am 08.07.2015 um 13:42 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>>>
>>> On Wed, Jul 8, 2015 at 6:58 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>>>> I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
>>>> My distro is built without X11 etc., just frame buffer.
>>>>
>>>> See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
>>>
>>> I am trying to understand your build failure. What error you had?
>>
>> Eg.:
>>
>> ... -O2 -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname -Wl,libGLU.so.1 -Wl,-retain-symbols-file -Wl,.libs/libGLU.exp -o .libs/libGLU.so.1.3.1
>> | /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lGL
>> | collect2: error: ld returned 1 exit status
>> | make: *** [libGLU.la] Error 1
>> | ERROR: oe_runmake failed
>> | WARNING: /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/run.do_compile.21094:1 exit 1 from
>> | exit 1
>> | ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/log.do_compile.21094)
>> ERROR: Task 2148 (/home/sno/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/libglu_9.0.0.bb, do_compile) failed with exit code '1'
>>
>> libglu is an opengl related dependency of libsdl, which is required for xbmc
>>
>> I enabled opengl in distro-features before, because imx-gpu-viv complains being unbuildable because of mesa requires opengl:
>>
>> ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but /home/sno/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb RDEPENDS on or otherwise requires it)
>
> Is there a way I can reproduce it here? What distro or changes you are
> doing in local.conf?
https://github.com/rehsack/meta-jens/blob/fido/conf/distro/rdm.conf
bblayers: https://github.com/rehsack/yocto-curie-workdir/blob/fido/conf/bblayers.conf
local.conf: https://github.com/rehsack/yocto-curie-workdir/blob/fido/conf/local.conf
I have no clue whether you can reproduce it or not. When you have a sstate-cache, you must avoid using it when rebuilding....
But when you review the patch, I hope it's self-explaining what failed and why ...
Cheers
--
Jens Rehsack - rehsack@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri
2015-07-08 13:52 ` Jens Rehsack
@ 2015-07-10 9:12 ` Jens Rehsack
2015-08-22 11:06 ` Otavio Salvador
0 siblings, 1 reply; 7+ messages in thread
From: Jens Rehsack @ 2015-07-10 9:12 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale
> Am 08.07.2015 um 15:52 schrieb Jens Rehsack <rehsack@gmail.com>:
>
>>
>> Am 08.07.2015 um 15:36 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>>
>> On Wed, Jul 8, 2015 at 9:48 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>>>
>>>> Am 08.07.2015 um 13:42 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>>>>
>>>> On Wed, Jul 8, 2015 at 6:58 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>>>>> I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
>>>>> My distro is built without X11 etc., just frame buffer.
>>>>>
>>>>> See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
>>>>
>>>> I am trying to understand your build failure. What error you had?
>>>
>>> Eg.:
>>>
>>> ... -O2 -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname -Wl,libGLU.so.1 -Wl,-retain-symbols-file -Wl,.libs/libGLU.exp -o .libs/libGLU.so.1.3.1
>>> | /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lGL
>>> | collect2: error: ld returned 1 exit status
>>> | make: *** [libGLU.la] Error 1
>>> | ERROR: oe_runmake failed
>>> | WARNING: /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/run.do_compile.21094:1 exit 1 from
>>> | exit 1
>>> | ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/log.do_compile.21094)
>>> ERROR: Task 2148 (/home/sno/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/libglu_9.0.0.bb, do_compile) failed with exit code '1'
>>>
>>> libglu is an opengl related dependency of libsdl, which is required for xbmc
>>>
>>> I enabled opengl in distro-features before, because imx-gpu-viv complains being unbuildable because of mesa requires opengl:
>>>
>>> ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but /home/sno/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb RDEPENDS on or otherwise requires it)
>>
>> Is there a way I can reproduce it here? What distro or changes you are
>> doing in local.conf?
>
> https://github.com/rehsack/meta-jens/blob/fido/conf/distro/rdm.conf
>
> bblayers: https://github.com/rehsack/yocto-curie-workdir/blob/fido/conf/bblayers.conf
> local.conf: https://github.com/rehsack/yocto-curie-workdir/blob/fido/conf/local.conf
>
> I have no clue whether you can reproduce it or not. When you have a sstate-cache, you must avoid using it when rebuilding....
> But when you review the patch, I hope it's self-explaining what failed and why ...
Are you still trying to reproduce the issue?
Cheers
--
Jens Rehsack - rehsack@gmail.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri
2015-07-10 9:12 ` Jens Rehsack
@ 2015-08-22 11:06 ` Otavio Salvador
0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2015-08-22 11:06 UTC (permalink / raw)
To: Jens Rehsack; +Cc: meta-freescale, Otavio Salvador
On Fri, Jul 10, 2015 at 6:12 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>
>> Am 08.07.2015 um 15:52 schrieb Jens Rehsack <rehsack@gmail.com>:
>>
>>>
>>> Am 08.07.2015 um 15:36 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>>>
>>> On Wed, Jul 8, 2015 at 9:48 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>>>>
>>>>> Am 08.07.2015 um 13:42 schrieb Otavio Salvador <otavio@ossystems.com.br>:
>>>>>
>>>>> On Wed, Jul 8, 2015 at 6:58 AM, Jens Rehsack <rehsack@gmail.com> wrote:
>>>>>> I encountered some image build errors and identified virtual/libgl recipes-graphics/imx-gpu-viv as "root cause".
>>>>>> My distro is built without X11 etc., just frame buffer.
>>>>>>
>>>>>> See https://github.com/rehsack/meta-fsl-arm/commit/3316f937f527e4ca43501505f758bc7509e404d3 for the patch and cherry-pick as you like.
>>>>>
>>>>> I am trying to understand your build failure. What error you had?
>>>>
>>>> Eg.:
>>>>
>>>> ... -O2 -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-soname -Wl,libGLU.so.1 -Wl,-retain-symbols-file -Wl,.libs/libGLU.exp -o .libs/libGLU.so.1.3.1
>>>> | /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lGL
>>>> | collect2: error: ld returned 1 exit status
>>>> | make: *** [libGLU.la] Error 1
>>>> | ERROR: oe_runmake failed
>>>> | WARNING: /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/run.do_compile.21094:1 exit 1 from
>>>> | exit 1
>>>> | ERROR: Function failed: do_compile (log file is located at /home/sno/fsl-community-bsp/was-heisst-hier-voegelchen/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libglu/2_9.0.0-0/temp/log.do_compile.21094)
>>>> ERROR: Task 2148 (/home/sno/fsl-community-bsp/sources/poky/meta/recipes-graphics/mesa/libglu_9.0.0.bb, do_compile) failed with exit code '1'
>>>>
>>>> libglu is an opengl related dependency of libsdl, which is required for xbmc
>>>>
>>>> I enabled opengl in distro-features before, because imx-gpu-viv complains being unbuildable because of mesa requires opengl:
>>>>
>>>> ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but /home/sno/fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb RDEPENDS on or otherwise requires it)
>>>
>>> Is there a way I can reproduce it here? What distro or changes you are
>>> doing in local.conf?
>>
>> https://github.com/rehsack/meta-jens/blob/fido/conf/distro/rdm.conf
>>
>> bblayers: https://github.com/rehsack/yocto-curie-workdir/blob/fido/conf/bblayers.conf
>> local.conf: https://github.com/rehsack/yocto-curie-workdir/blob/fido/conf/local.conf
>>
>> I have no clue whether you can reproduce it or not. When you have a sstate-cache, you must avoid using it when rebuilding....
>> But when you review the patch, I hope it's self-explaining what failed and why ...
>
> Are you still trying to reproduce the issue?
Yes; I have been working in revamping the recipe and I do need a small
test case to reproduce this. Can you try to narrow down a test case
for me to debug this?
--
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] 7+ messages in thread
end of thread, other threads:[~2015-08-22 11:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-08 9:58 [PATCH] recipes-graphics/imx-gpu-viv - Restrict virtual/libgl and libvivante-dri Jens Rehsack
2015-07-08 11:42 ` Otavio Salvador
2015-07-08 12:48 ` Jens Rehsack
2015-07-08 13:36 ` Otavio Salvador
2015-07-08 13:52 ` Jens Rehsack
2015-07-10 9:12 ` Jens Rehsack
2015-08-22 11:06 ` Otavio Salvador
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.