Hello,

classes/distutils-common-base.bbclass redefines instead of appends to
the list of files to include in the debug packages.  I have verified the
problem and the proper fix taking the rpm recipe as an example.

The attached patch possibly changes the contents of dependant packages.
 There are a number of them, so I don't think it's practical to bump PR
for all of them.  Distro maintainers should bump distro PR or something.
 I'm not aware of an elegant solution in OE to deal with this.

$ rgrep distutils recipes/ -l|wc -l
233

Regards

Rolf
>From 025e057f58edd7f1ba9854b38cf15b4967d64910 Mon Sep 17 00:00:00 2001
From: Rolf Leggewie <[email protected]>
Date: Sat, 23 Jan 2010 21:24:39 +0100
Subject: [PATCH] distutils-common-base: fix definition of FILES_${PN}-dbg

* use += instead of =
  this appends new file paths to include instead of replacing the
  current definition
---
 classes/distutils-common-base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/distutils-common-base.bbclass b/classes/distutils-common-base.bbclass
index 01bf9ea..87578b7 100644
--- a/classes/distutils-common-base.bbclass
+++ b/classes/distutils-common-base.bbclass
@@ -23,7 +23,7 @@ FILES_${PN}-dev += "\
   ${libdir}/pkgconfig \
   ${libdir}/${PYTHON_DIR}/site-packages/*.la \
 "
-FILES_${PN}-dbg = "\
+FILES_${PN}-dbg += "\
   ${libdir}/${PYTHON_DIR}/site-packages/.debug \
   ${libdir}/${PYTHON_DIR}/site-packages/*/.debug \
   ${libdir}/${PYTHON_DIR}/site-packages/*/*/.debug \
-- 
1.5.4.3

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to