fix bitbake ERRORS for machine not having virtual/egl
PATCH 1/1 fix bitbake ERRORS for machine not having virtual/egl
* several recipes depend on virtual/egl which currently has only one provider : powervr-drivers/libgles-omap. This provider sets COMPATIBLE_MACHINE to a few TI based machines.
When building for machines which don't provide virtual/egl, we get the following errors :
ERROR: '['path_to/openembedded/recipes/qt4/qt4-embedded-gles_4.6.3.bb']'
RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity
'qt4-embedded-gles' but it wasn't found in any PACKAGE or RPROVIDES variables of any buildable targets.
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime
entity 'virtual/egl' but it wasn't found in any PACKAGE or RPROVIDES variables
* This patch creates a egl.inc which contains the compatible machines for recipes depending on virtual/egl and thus will workaround this error.
--- recipes/egl/egl.inc | 1 + recipes/irrlicht/irrlicht-examples-gles.bb | 1 + recipes/ogre/ogre-egl_svn.bb | 1 + recipes/powervr-drivers/bc-cube_0.1.0.bb | 1 + recipes/powervr-drivers/bc-cube_0.2.0.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.0.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.2.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.3.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.5.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.0.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.3.bb | 1 + recipes/xbmc/xbmc_svn.bb | 1 + 13 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 recipes/egl/egl.inc
recipes/egl/egl.inc new file +1 -0
@@ -0,0 +1 @@ +COMPATIBLE_MACHINE = "(dm37x-evm|am37x-evm|am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)"
recipes/irrlicht/irrlicht-examples-gles.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "Irrlicht 3D rendering engine " LICENSE = "zlib" DEPENDS = "virtual/libx11 libxxf86vm virtual/egl" +require recipes/egl/egl.inc SRCREV = "2409" PV = "1.6+svnr${SRCPV}"
recipes/ogre/ogre-egl_svn.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine " LICENSE = "LGPL" DEPENDS = "gtk+ wgois cppunit zziplib boost freeimage freetype virtual/libx11 virtual/egl" +require recipes/egl/egl.inc PR = "r3"
recipes/powervr-drivers/bc-cube_0.1.0.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2" DEPENDS = "virtual/egl" +require recipes/egl/egl.inc SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/apps_processors/OMAP35x_AM35x_Video_Texture_Streaming/1_0/exports/bc-cat-${PV}.tar.gz \ file://bc-cat-0.1.0-BC_PIX_FMT_.patch;striplevel=0"
recipes/powervr-drivers/bc-cube_0.2.0.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2" DEPENDS = "virtual/egl" +require recipes/egl/egl.inc PR = "r2"
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
@@ -10,3 +10,4 @@ require qt-4.6.0.inc FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc
recipes/qt4/qt4-embedded-gles_4.6.2.bb +1 -0
@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff" FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc
recipes/qt4/qt4-embedded-gles_4.6.3.bb +1 -0
@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff" FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc
recipes/qt4/qt4-x11-free-gles_4.5.2.bb +1 -0
@@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bb PR = "${INC_PR}.3" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free" #SRC_URI += "file://sgx-hack.patch" SRC_URI += "file://hack-out-pg_config.patch"
recipes/qt4/qt4-x11-free-gles_4.6.0.bb +1 -0
@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"
recipes/qt4/qt4-x11-free-gles_4.6.2.bb +1 -0
@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"
recipes/qt4/qt4-x11-free-gles_4.6.3.bb +1 -0
@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"
recipes/xbmc/xbmc_svn.bb +1 -0
@@ -2,6 +2,7 @@ DESCRIPTION = "XBMC Media Center" LICENSE = "xbmc" DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxrandr bzip2 virtual/libsdl" +require recipes/egl/egl.inc SRCREV = "e2ab481ebe964321c358ab9d6402088c714adcbe"
Signature · 1 line
1.6.3.3
2010/9/9 Eric Bénard <[email protected]>:
Quoted 13 lines
* several recipes depend on virtual/egl which currently has only one provider : powervr-drivers/libgles-omap. This provider sets
COMPATIBLE_MACHINEto a few TI based machines.
When building for machines which don't provide virtual/egl, we get the following errors :
ERROR: '['path_to/openembedded/recipes/qt4/qt4-embedded-gles_4.6.3.bb']' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'qt4-embedded-gles' but it wasn't found in any PACKAGE or RPROVIDES variables of any buildable targets.
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'virtual/egl' but it wasn't found in any PACKAGE or RPROVIDES variables
Quoted 4 lines
* This patch creates a egl.inc which contains the compatible machines for recipes depending on virtual/egl and thus will workaround this error.
Signed-off-by Eric Bénard <[email protected]>
Thanks alot for creating this workaround.
These errors started to become a nuisance to me, so your workaround is very appreciated.
Quoted 162 lines
---
recipes/egl/egl.inc | 1 + recipes/irrlicht/irrlicht-examples-gles.bb | 1 + recipes/ogre/ogre-egl_svn.bb | 1 + recipes/powervr-drivers/bc-cube_0.1.0.bb | 1 + recipes/powervr-drivers/bc-cube_0.2.0.bb | 1 +recipes/qt4/qt4-embedded-gles_4.6.0.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.2.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.3.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.5.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.0.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.3.bb | 1 + recipes/xbmc/xbmc_svn.bb | 1 + 13 files changed, 13 insertions(+), 0 deletions(-)create mode 100644 recipes/egl/egl.inc
recipes/egl/egl.inc new file +1
-0@@ -0,0 +1 @@ +COMPATIBLE_MACHINE = "(dm37x-evm|am37x-evm|am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)"recipes/irrlicht/irrlicht-examples-gles.bb +0
-0@@ -1,6 +1,7 @@DESCRIPTION = "Irrlicht 3D rendering engine " LICENSE = "zlib"
DEPENDS = "virtual/libx11 libxxf86vm virtual/egl" +require recipes/egl/egl.incSRCREV = "2409"
PV = "1.6+svnr${SRCPV}"recipes/ogre/ogre-egl_svn.bb +0
-0@@ -1,6 +1,7 @@DESCRIPTION = "OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine " LICENSE = "LGPL"
DEPENDS = "gtk+ wgois cppunit zziplib boost freeimage freetype virtual/libx11 virtual/egl" +require recipes/egl/egl.incPR = "r3"
recipes/powervr-drivers/bc-cube_0.1.0.bb +0
-0@@ -1,6 +1,7 @@DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2"
DEPENDS = "virtual/egl"
+require recipes/egl/egl.incSRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/apps_processors/OMAP35x_AM35x_Video_Texture_Streaming/1_0/exports/bc-cat-${PV}.tar.gz \
file://bc-cat-0.1.0-BC_PIX_FMT_.patch;striplevel=0"recipes/powervr-drivers/bc-cube_0.2.0.bb +0
-0@@ -1,6 +1,7 @@DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2"
DEPENDS = "virtual/egl"
+require recipes/egl/egl.incPR = "r2"
recipes/qt4/qt4-embedded-gles_4.6.0.bb +0
-0@@ -10,3 +10,4 @@ require qt-4.6.0.incFILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded"
DEPENDS += "virtual/egl"
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1
-0+require recipes/egl/egl.increcipes/qt4/qt4-embedded-gles_4.6.2.bb +0
-0@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff"FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded"
DEPENDS += "virtual/egl"
recipes/qt4/qt4-embedded-gles_4.6.2.bb +1
-0+require recipes/egl/egl.increcipes/qt4/qt4-embedded-gles_4.6.3.bb +0
-0@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff"FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded"
DEPENDS += "virtual/egl"
recipes/qt4/qt4-embedded-gles_4.6.3.bb +1
-0+require recipes/egl/egl.increcipes/qt4/qt4-x11-free-gles_4.5.2.bb +0
-0@@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bbPR = "${INC_PR}.3"
DEPENDS += "virtual/egl"
+require recipes/egl/egl.inc
PROVIDES += "qt4-x11-free"
#SRC_URI += "file://sgx-hack.patch"
SRC_URI += "file://hack-out-pg_config.patch"recipes/qt4/qt4-x11-free-gles_4.6.0.bb +0
-0@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free"
DEPENDS += "virtual/egl"
+require recipes/egl/egl.inc
PROVIDES += "qt4-x11-free"recipes/qt4/qt4-x11-free-gles_4.6.2.bb +0
-0@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free"
DEPENDS += "virtual/egl"
+require recipes/egl/egl.inc
PROVIDES += "qt4-x11-free"recipes/qt4/qt4-x11-free-gles_4.6.3.bb +0
-0@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free"
DEPENDS += "virtual/egl"
+require recipes/egl/egl.inc
PROVIDES += "qt4-x11-free"recipes/xbmc/xbmc_svn.bb +0
-0@@ -2,6 +2,7 @@ DESCRIPTION = "XBMC Media Center"LICENSE = "xbmc"
DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxrandr bzip2 virtual/libsdl" +require recipes/egl/egl.inc
SRCREV = "
e2ab481ebe964321c358ab9d6402088c714adcbe"--
1.6.3.3_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 13 lines · Eric Bénard
* several recipes depend on virtual/egl which currently has only one provider : powervr-drivers/libgles-omap. This provider sets
COMPATIBLE_MACHINEto a few TI based machines.
When building for machines which don't provide virtual/egl, we get the following errors :
ERROR: '['path_to/openembedded/recipes/qt4/qt4-embedded-gles_4.6.3.bb']'
RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity
'qt4-embedded-gles' but it wasn't found in any PACKAGE or RPROVIDES variables of any buildable targets.
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime
entity 'virtual/egl' but it wasn't found in any PACKAGE or RPROVIDES variables
Quoted 2 lines
* This patch creates a egl.inc which contains the compatible machines for recipes depending on virtual/egl and thus will workaround this error.
The intent is good, but I have to NAK this for the time being.
Could you change that to use:
COMPATIBLE_MACHINE = "omap3"?
That would future proof it a lot better :)
regards,
Koen
Quoted 147 lines
Signed-off-by Eric Bénard <[email protected]>--- recipes/egl/egl.inc | 1 + recipes/irrlicht/irrlicht-examples-gles.bb | 1 + recipes/ogre/ogre-egl_svn.bb | 1 + recipes/powervr-drivers/bc-cube_0.1.0.bb | 1 + recipes/powervr-drivers/bc-cube_0.2.0.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.0.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.2.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.3.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.5.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.0.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.3.bb | 1 + recipes/xbmc/xbmc_svn.bb | 1 + 13 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 recipes/egl/egl.increcipes/egl/egl.inc new file +1
-0@@ -0,0 +1 @@ +COMPATIBLE_MACHINE = "(dm37x-evm|am37x-evm|am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)"recipes/irrlicht/irrlicht-examples-gles.bb +1
-0@@ -1,6 +1,7 @@ DESCRIPTION = "Irrlicht 3D rendering engine " LICENSE = "zlib" DEPENDS = "virtual/libx11 libxxf86vm virtual/egl" +require recipes/egl/egl.inc SRCREV = "2409" PV = "1.6+svnr${SRCPV}"recipes/ogre/ogre-egl_svn.bb +1
-0@@ -1,6 +1,7 @@ DESCRIPTION = "OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine " LICENSE = "LGPL" DEPENDS = "gtk+ wgois cppunit zziplib boost freeimage freetype virtual/libx11 virtual/egl" +require recipes/egl/egl.inc PR = "r3"recipes/powervr-drivers/bc-cube_0.1.0.bb +1
-0@@ -1,6 +1,7 @@ DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2" DEPENDS = "virtual/egl" +require recipes/egl/egl.inc SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/apps_processors/OMAP35x_AM35x_Video_Texture_Streaming/1_0/exports/bc-cat-${PV}.tar.gz \ file://bc-cat-0.1.0-BC_PIX_FMT_.patch;striplevel=0"recipes/powervr-drivers/bc-cube_0.2.0.bb +1
-0@@ -1,6 +1,7 @@ DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2" DEPENDS = "virtual/egl" +require recipes/egl/egl.inc PR = "r2"recipes/qt4/qt4-embedded-gles_4.6.0.bb +1
-0@@ -10,3 +10,4 @@ require qt-4.6.0.inc FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.increcipes/qt4/qt4-embedded-gles_4.6.2.bb +1
-0@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff" FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.increcipes/qt4/qt4-embedded-gles_4.6.3.bb +1
-0@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff" FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.increcipes/qt4/qt4-x11-free-gles_4.5.2.bb +1
-0@@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bb PR = "${INC_PR}.3" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free" #SRC_URI += "file://sgx-hack.patch" SRC_URI += "file://hack-out-pg_config.patch"recipes/qt4/qt4-x11-free-gles_4.6.0.bb +1
-0@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"recipes/qt4/qt4-x11-free-gles_4.6.2.bb +1
-0@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"recipes/qt4/qt4-x11-free-gles_4.6.3.bb +1
-0@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"recipes/xbmc/xbmc_svn.bb +0
-0
recipes/xbmc/xbmc_svn.bb DESCRIPTION = "XBMC Media Center" · line 8
Quoted 7 lines
recipes/xbmc/xbmc_svn.bb +1
-0@@ -2,6 +2,7 @@ DESCRIPTION = "XBMC Media Center" LICENSE = "xbmc" DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxrandr bzip2 virtual/libsdl" +require recipes/egl/egl.inc SRCREV = "e2ab481ebe964321c358ab9d6402088c714adcbe"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMiPjzMkyGM64RGpERAuZ/AKC7Et1WKxMgwE1YIPJaPh7/SUlfPACdFWRG SSWCIpmBl7NFBZIryUgLR1I=
=yas7
-----END PGP SIGNATURE-----
Hi Koen,
Le 09/09/2010 17:10, Koen Kooi a écrit :
Quoted 9 lines · Eric Bénard
Quoted 2 lines
* This patch creates a egl.inc which contains the compatible machines for recipes depending on virtual/egl and thus will workaround this error.
The intent is good, but I have to NAK this for the time being.
Could you change that to use:
COMPATIBLE_MACHINE= "omap3"?
in egl.inc ?
Should this also be changed in powervr-drivers/libgles-omap.inc ?
Then, how do you handle omap3 machines which don't have GLES engine (ex OMAP3503) ?
Thanks,
Eric
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 12 lines · Eric Bénard
Hi Koen,
Le 09/09/2010 17:10, Koen Kooi a écrit :
Quoted 8 lines · Eric Bénard
Quoted 3 lines
* This patch creates a egl.inc which contains the compatible machines for
recipes depending on virtual/egl and thus will workaround this error.The intent is good, but I have to NAK this for the time being.
Could you change that to use:
Quoted 7 lines
Quoted 2 lines
COMPATIBLE_MACHINE= "omap3"?in egl.inc ?
Should this also be changed in powervr-drivers/libgles-omap.inc ?Then, how do you handle omap3 machines which don't have GLES engine (ex OMAP3503) ?
That's handled by the initscript:
http://gitorious.org/angstrom/openembedded/blobs/org.openembedded.dev/recipes/powervr-drivers/libgles-omap3/rc.pvr#line33
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMiSdiMkyGM64RGpERAgZ9AKCc8SaPq3w9pL5ZC/vMFgo9mdv05ACgn7CM rBtN/3iHVSWLrI5nUy3Grm4=
=1czF
-----END PGP SIGNATURE-----
Quoted 18 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 14 lines · Eric Bénard
Hi Koen,
Le 09/09/2010 17:10, Koen Kooi a écrit :
Quoted 10 lines · Eric Bénard
Quoted 3 lines
* This patch creates a egl.inc which contains the compatible machines for
recipes depending on virtual/egl and thus will workaround this error.The intent is good, but I have to NAK this for the time being.
Could you change that to use:
COMPATIBLE_MACHINE= "omap3"?
Quoted 9 lines
Quoted 5 lines
in egl.inc ?
Should this also be changed in powervr-drivers/libgles-omap.inc ?Then, how do you handle omap3 machines which don't have GLES engine (ex OMAP3503) ?
That's handled by the initscript:
http://gitorious.org/angstrom/openembedded/blobs/org.openembedded.dev/recipes/powervr-drivers/libgles-omap3/rc.pvr#line33
OK but that won't prevent packages of applications which depends on virtual/egl to be installed and the user to try to run applications which will fail because GLES is not handled by the machine.
Actually OMAP3 boards supported in OE seems to all have the GLES support so that won't be a big problem and that will remove the error.
Eric
PATCH v2 1/1 fix bitbake ERRORS for machine not having virtual/egl
In reply to Koen Kooi* several recipes depend on virtual/egl which currently has only one provider : powervr-drivers/libgles-omap. This provider sets COMPATIBLE_MACHINE to a few TI based machines.
When building for machines which don't provide virtual/egl, we get the following errors :
ERROR: '['path_to/openembedded/recipes/qt4/qt4-embedded-gles_4.6.3.bb']'
RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity
'qt4-embedded-gles' but it wasn't found in any PACKAGE or RPROVIDES variables of any buildable targets.
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime
entity 'virtual/egl' but it wasn't found in any PACKAGE or RPROVIDES variables
* This patch creates a egl.inc which contains the compatible machines for recipes depending on virtual/egl and thus will workaround this error.
--- recipes/egl/egl.inc | 2 ++ recipes/irrlicht/irrlicht-examples-gles.bb | 1 + recipes/ogre/ogre-egl_svn.bb | 1 + recipes/powervr-drivers/bc-cube_0.1.0.bb | 1 + recipes/powervr-drivers/bc-cube_0.2.0.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.0.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.2.bb | 1 + recipes/qt4/qt4-embedded-gles_4.6.3.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.5.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.0.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.3.bb | 1 + recipes/xbmc/xbmc_svn.bb | 1 + 13 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 recipes/egl/egl.inc
recipes/egl/egl.inc new file +2 -0
@@ -0,0 +1,2 @@ +COMPATIBLE_MACHINE = "omap3" +
recipes/irrlicht/irrlicht-examples-gles.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "Irrlicht 3D rendering engine " LICENSE = "zlib" DEPENDS = "virtual/libx11 libxxf86vm virtual/egl" +require recipes/egl/egl.inc SRCREV = "2409" PV = "1.6+svnr${SRCPV}"
recipes/ogre/ogre-egl_svn.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented, flexible 3D engine " LICENSE = "LGPL" DEPENDS = "gtk+ wgois cppunit zziplib boost freeimage freetype virtual/libx11 virtual/egl" +require recipes/egl/egl.inc PR = "r3"
recipes/powervr-drivers/bc-cube_0.1.0.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2" DEPENDS = "virtual/egl" +require recipes/egl/egl.inc SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/apps_processors/OMAP35x_AM35x_Video_Texture_Streaming/1_0/exports/bc-cat-${PV}.tar.gz \ file://bc-cat-0.1.0-BC_PIX_FMT_.patch;striplevel=0"
recipes/powervr-drivers/bc-cube_0.2.0.bb +1 -0
@@ -1,6 +1,7 @@ DESCRIPTION = "TI Texture streaming using bufferclass API demo (spinning video cube)" LICENSE = "TI-BSD/GPLv2" DEPENDS = "virtual/egl" +require recipes/egl/egl.inc PR = "r2"
recipes/qt4/qt4-embedded-gles_4.6.0.bb +1 -0
@@ -10,3 +10,4 @@ require qt-4.6.0.inc FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc
recipes/qt4/qt4-embedded-gles_4.6.2.bb +1 -0
@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff" FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc
recipes/qt4/qt4-embedded-gles_4.6.3.bb +1 -0
@@ -11,3 +11,4 @@ SRC_URI += "file://cursor-hack.diff" FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc
recipes/qt4/qt4-x11-free-gles_4.5.2.bb +1 -0
@@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bb PR = "${INC_PR}.3" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free" #SRC_URI += "file://sgx-hack.patch" SRC_URI += "file://hack-out-pg_config.patch"
recipes/qt4/qt4-x11-free-gles_4.6.0.bb +1 -0
@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"
recipes/qt4/qt4-x11-free-gles_4.6.2.bb +1 -0
@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"
recipes/qt4/qt4-x11-free-gles_4.6.3.bb +1 -0
@@ -13,4 +13,5 @@ QT_CONFIG_FLAGS += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +require recipes/egl/egl.inc PROVIDES += "qt4-x11-free"
recipes/xbmc/xbmc_svn.bb +1 -0
@@ -2,6 +2,7 @@ DESCRIPTION = "XBMC Media Center" LICENSE = "xbmc" DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxrandr bzip2 virtual/libsdl" +require recipes/egl/egl.inc SRCREV = "e2ab481ebe964321c358ab9d6402088c714adcbe"
Signature · 1 line
1.6.3.3