Skip to contentSkip to conversation

wvstreams: generate wvstreams-valgrind package

PATCH In review Mario Domenech Goulart 2 participants 2 messages Oct 7, 2013 – Oct 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wvstreams: generate wvstreams-valgrind package

Explicitly set --with-valgrind in EXTRA_OECONF (since it doesn't add up dependencies) and generate the wvstreams-valgrind package.

Fixes

wvstreams-4.6.1: wvstreams: Files/directories were installed but not shipped
/usr/lib/valgrind
/usr/lib/valgrind/wvstreams.supp

---
 meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb +6 -1
index ce2b337..a1b38bd 100644
@@ -22,8 +22,9 @@ PARALLEL_MAKE = ""
 
 LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
 
-EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
+EXTRA_OECONF = " --without-tcl --without-qt --without-pam --with-valgrind"
 
+PACKAGES_prepend = "${PN}-valgrind "
 PACKAGES_prepend = "libuniconf libuniconf-dbg "
 PACKAGES_prepend = "uniconfd uniconfd-dbg "
 PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
@@ -40,3 +41,7 @@ FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*"
 
 FILES_libwvstreams-extras     = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
 FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*"
+
+FILES_${PN}-valgrind = "${libdir}/valgrind"
+
+RDEPENDS_${PN}-valgrind += "valgrind"
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 4 lines · Mario Domenech Goulart

Explicitly set --with-valgrind in EXTRA_OECONF (since it doesn't add up dependencies) and generate the wvstreams-valgrind package.

Fixes

Do we really need explicit valgrind dependency for all machines?

ERROR: Nothing RPROVIDES 'valgrind' (but /home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb RDEPENDS on or otherwise requires it)
ERROR: valgrind was skipped: incompatible with host arm-oe-linux-gnueabi
(not in COMPATIBLE_HOST)

This is from qemuarm build where host has -gnueabi suffix and isn't included in valgrind's COMPATIBLE_HOST:
COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux' COMPATIBLE_HOST_armv7a = 'arm.*-linux'

Quoted 39 lines

wvstreams-4.6.1: wvstreams: Files/directories were installed but not shipped
/usr/lib/valgrind
/usr/lib/valgrind/wvstreams.supp

---
 meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb +6 -1
index ce2b337..a1b38bd 100644
@@ -22,8 +22,9 @@ PARALLEL_MAKE = ""
 
 LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
 
-EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
+EXTRA_OECONF = " --without-tcl --without-qt --without-pam --with-valgrind"
 
+PACKAGES_prepend = "${PN}-valgrind "
 PACKAGES_prepend = "libuniconf libuniconf-dbg "
 PACKAGES_prepend = "uniconfd uniconfd-dbg "
 PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
@@ -40,3 +41,7 @@ FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*"
 
 FILES_libwvstreams-extras     = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
 FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*"
+
+FILES_${PN}-valgrind = "${libdir}/valgrind"
+
+RDEPENDS_${PN}-valgrind += "valgrind"
Signature · 6 lines
1.7.10.4

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]