Skip to contentSkip to conversation

mesa 7.10: add missing dependency makedepend

PATCH Applied Yu Ke 2 participants 4 messages Feb 10, 2011

lore
Share & tools
lore

Yu Ke

author
#0 lore raw

cover mesa 7.10: add missing dependency makedepend

the last upgrade of mesa 7.10 introduce a depdency of makedepend, which however is not listed in the recipe, thus cause do_configure failure, both in mesa-dri_7.10 and mesa-xlib_7.10.

this patch set add the missing dependency to resolev this issue. this patch set has been tested by building mesa from scratch in qemux86, qemuarm and qemumips

one lesson I got is: always build from scratch for testing. last time the mesa 7.10 upgrade patch is tested in incremental build, thus the missing depdency is not showed up.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kyu3/mesa-fix
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/mesa-fix

Thanks,
Yu Ke <[email protected]>
---

Yu Ke (2):
mesa-xlib-7.10: add missing dependency makedepend mesa-dri-7.10: add missing dependency makedepend

 meta/recipes-graphics/mesa/mesa-dri_7.10.bb  |    4 ++--
 meta/recipes-graphics/mesa/mesa-xlib_7.10.bb |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
author
#1 lore raw

PATCH 1/2 mesa-xlib-7.10: add missing dependency makedepend

mesa 7.10 has dependency on makedepend-native, so add it to resolve the configure failure

---
 meta/recipes-graphics/mesa/mesa-xlib_7.10.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa-xlib_7.10.bb +2 -2
index 5cc719e..c8eb88f 100644
@@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1
 PROTO_DEPS = "xf86driproto glproto"
 LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native"
 
-DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS}"
+DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS} makedepend-native"
 
 PE = "1"
-PR = "r0"
+PR = "r1"
 
 EXTRA_OECONF += "--with-driver=xlib"
Signature · 1 line
1.7.0.4
author
#2 lore raw

PATCH 2/2 mesa-dri-7.10: add missing dependency makedepend

In reply to Yu Ke

mesa 7.10 has dependency on makedepend-native, so add it to resolve the configure failure

---
 meta/recipes-graphics/mesa/mesa-dri_7.10.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa-dri_7.10.bb +2 -2
index cca1cc9..1865dd4 100644
@@ -6,9 +6,9 @@ PROTO_DEPS = "xf86driproto glproto dri2proto"
 LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \
             libxml2-native"
 
-DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS}"
+DEPENDS = "${PROTO_DEPS}  ${LIB_DEPS} makedepend-native"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
            file://talloc-removal.patch \
Signature · 1 line
1.7.0.4
#3 lore raw
In reply to Yu Ke
Quoted 13 lines · Yu Ke

the last upgrade of mesa 7.10 introduce a depdency of makedepend, which however is not listed in the recipe, thus cause do_configure failure, both in mesa-dri_7.10 and mesa-xlib_7.10.

this patch set add the missing dependency to resolev this issue. this patch set has been tested by building mesa from scratch in qemux86, qemuarm and qemumips

one lesson I got is: always build from scratch for testing. last time the mesa 7.10 upgrade patch is tested in incremental build, thus the missing depdency is not showed up.

Quoted 6 lines

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: kyu3/mesa-fix
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/mesa-fix

Thanks,
Yu Ke <[email protected]>

Merged to master, thanks!

Richard