Help with how to debug dependency error
I am building a system based on a boot2qt warrior Yocto build for the Raspberry Pi4.
Our system is building just fine until I try to add support for OSTree. When I do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.
I have searched for gbm in the meta-updater & meta-updater-raspberrypi directories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.
I have tried to print out the variables and a dependency graph to help me track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.
Can anyone point me to a way to find out what is triggering the change in the gbm & gles2 packages?
Thanks in advance,
Greg Wilson-Lindberg
Quoted 10 lines · Greg Wilson-Lindberg
I am building a system based on a boot2qt warrior Yocto build for the Raspberry Pi4.
Our system is building just fine until I try to add support for OSTree. When I do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.
I have searched for gbm in the meta-updater & meta-updater-raspberrypi directories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.
I have tried to print out the variables and a dependency graph to help me track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.
Can anyone point me to a way to find out what is triggering the change in the gbm & gles2 packages?
this is meta-rpi issue, perhaps you can use mesa there instead of userland graphics driver
MACHINE_FEATURES_append_rpi = " vc4graphics"
Quoted 8 lines
Thanks in advance,
Greg Wilson-Lindberg
Hi Khem,
Thanks for the (possible) solution. What I was really looking for is some way of finding out what changed with the addition of the OSTree directories that then caused the need for the additional libraries. Are there some tools that I don't know about that will help me find what is causing the gbm & gles2 to now be included when they are not necessary without the OSTree dirs.
Regards,
Greg
Quoted 48 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, February 26, 2020 12:30 PM
To: Greg Wilson-Lindberg <[email protected]>; Yocto list discussion <[email protected]>
Subject: Re: [yocto] Help with how to debug dependency errorQuoted 1 line · Greg Wilson-Lindberg
I am building a system based on a boot2qt warrior Yocto build for the
Raspberry Pi4.
Quoted 2 lines
Our system is building just fine until I try to add support for OSTree. When I
do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.
Quoted 2 lines
I have searched for gbm in the meta-updater & meta-updater-raspberrypi
directories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.
Quoted 2 lines
I have tried to print out the variables and a dependency graph to help me
track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.
Quoted 2 lines
Can anyone point me to a way to find out what is triggering the change in
the gbm & gles2 packages?
Quoted 1 line
this is meta-rpi issue, perhaps you can use mesa there instead of userland graphics driver
MACHINE_FEATURES_append_rpi= " vc4graphics"Quoted 8 lines
Thanks in advance,
Greg Wilson-Lindberg
Quoted 7 lines · Greg Wilson-Lindberg
Hi Khem,
Thanks for the (possible) solution. What I was really looking for is some way of finding out what changed with the addition of the OSTree directories that then caused the need for the additional libraries. Are there some tools that I don't know about that will help me find what is causing the gbm & gles2 to now be included when they are not necessary without the OSTree dirs.
bitbake -g would give you the dependency graph which you can use to find out.
Quoted 54 lines
Regards,
GregQuoted 50 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, February 26, 2020 12:30 PM
To: Greg Wilson-Lindberg <[email protected]>; Yocto list discussion <[email protected]>
Subject: Re: [yocto] Help with how to debug dependency errorQuoted 1 line · Greg Wilson-Lindberg
I am building a system based on a boot2qt warrior Yocto build for the
Raspberry Pi4.
Quoted 2 lines
Our system is building just fine until I try to add support for OSTree. When I
do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.
Quoted 2 lines
I have searched for gbm in the meta-updater & meta-updater-raspberrypi
directories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.
Quoted 2 lines
I have tried to print out the variables and a dependency graph to help me
track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.
Quoted 2 lines
Can anyone point me to a way to find out what is triggering the change in
the gbm & gles2 packages?
Quoted 1 line
this is meta-rpi issue, perhaps you can use mesa there instead of userland graphics driver
MACHINE_FEATURES_append_rpi= " vc4graphics"Quoted 10 lines
Thanks in advance,
Greg Wilson-Lindberg
Quoted 17 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, February 26, 2020 1:36 PM
To: Greg Wilson-Lindberg <[email protected]>; Yocto list discussion <[email protected]>
Subject: Re: [yocto] Help with how to debug dependency errorQuoted 7 lines · Greg Wilson-Lindberg
Hi Khem,
Thanks for the (possible) solution. What I was really looking for is some way of finding out what changed with the addition of the OSTree directories that then caused the need for the additional libraries. Are there some tools that I don't know about that will help me find what is causing the gbm & gles2 to now be included when they are not
Quoted 4 lines
necessary without the OSTree dirs.
bitbake -g would give you the dependency graph which you can use to find out.
As I said in the original post, bitbake errors out before it generates the dependency graph.
This is why I was asking if there are other tools that could help.
Quoted 59 lines
Quoted 59 lines
Regards,
GregQuoted 55 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, February 26, 2020 12:30 PM
To: Greg Wilson-Lindberg <[email protected]>; Yocto list discussion <[email protected]>
Subject: Re: [yocto] Help with how to debug dependency errorQuoted 2 lines · Greg Wilson-Lindberg
I am building a system based on a boot2qt warrior Yocto build for the
Raspberry Pi4.
Quoted 3 lines
Our system is building just fine until I try to add support for OSTree. When I
do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.
Quoted 3 lines
I have searched for gbm in the meta-updater &
meta-updater-raspberrypidirectories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.
Quoted 3 lines
I have tried to print out the variables and a dependency graph to help me
track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.
Quoted 3 lines
Can anyone point me to a way to find out what is triggering the change in
the gbm & gles2 packages?
Quoted 1 line
this is meta-rpi issue, perhaps you can use mesa there instead of userland graphics driver
MACHINE_FEATURES_append_rpi= " vc4graphics"Quoted 10 lines
Thanks in advance,
Greg Wilson-Lindberg
Quoted 17 lines · Greg Wilson-Lindberg
Quoted 17 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, February 26, 2020 1:36 PM
To: Greg Wilson-Lindberg <[email protected]>; Yocto list discussion <[email protected]>
Subject: Re: [yocto] Help with how to debug dependency errorQuoted 7 lines · Greg Wilson-Lindberg
Hi Khem,
Thanks for the (possible) solution. What I was really looking for is some way of finding out what changed with the addition of the OSTree directories that then caused the need for the additional libraries. Are there some tools that I don't know about that will help me find what is causing the gbm & gles2 to now be included when they are not
Quoted 8 lines
Quoted 4 lines
necessary without the OSTree dirs.
bitbake -g would give you the dependency graph which you can use to find out.
As I said in the original post, bitbake errors out before it generates the dependency graph.
This is why I was asking if there are other tools that could help.
ah I missed that right. I guess, parsing errors are your best bet then
Quoted 60 lines
Quoted 60 lines
Quoted 60 lines
Regards,
GregQuoted 55 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, February 26, 2020 12:30 PM
To: Greg Wilson-Lindberg <[email protected]>; Yocto list discussion <[email protected]>
Subject: Re: [yocto] Help with how to debug dependency errorQuoted 2 lines · Greg Wilson-Lindberg
I am building a system based on a boot2qt warrior Yocto build for the
Raspberry Pi4.
Quoted 3 lines
Our system is building just fine until I try to add support for OSTree. When I
do that I get 3 errors for existing recipes, "nothing provides virtual/gbm", "nothing provides virtual/egl", and "nothing provides virtual/gles2". All of these are specified in PACKAGECONFIG[] lines in qtbase_git.bb as required when gbm and gles2 are turned on.
Quoted 3 lines
I have searched for gbm in the meta-updater &
meta-updater-raspberrypidirectories that get included to add support for OSTree and found no reference. It looks like the OSTree inclusion is requesting something that is in turn requesting gbm and gles2 but I haven't been able to figure out what that is.
Quoted 3 lines
I have tried to print out the variables and a dependency graph to help me
track down what is going wrong, but these don't work because the errors abort before I can get the information I need out.
Quoted 3 lines
Can anyone point me to a way to find out what is triggering the change in
the gbm & gles2 packages?
Quoted 1 line
this is meta-rpi issue, perhaps you can use mesa there instead of userland graphics driver
MACHINE_FEATURES_append_rpi= " vc4graphics"Quoted 10 lines
Thanks in advance,
Greg Wilson-Lindberg