summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2016-03-10 14:47:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-12 22:11:47 +0000
commitfcc7ff072a6be2da36b6e7883d30c3c7ee02db0c (patch)
tree874a560c82b2952a4e0397fde3f3b81b83a48b1e /meta
parent9155b2487dd3a37322ad6575e096ee93138b9ce6 (diff)
downloadpoky-fcc7ff072a6be2da36b6e7883d30c3c7ee02db0c.tar.gz
package_deb: Fix python runtime error
The dictionary cannot be used for iteration if its size may change during the loop. ERROR: Error executing a python function in /home/ricardo/curro/qt5022/build-qt5022/repo/yocto/meta/recipes-devtools/perl/perl_5.22.0.bb: Exception: RuntimeError: dictionary changed size during iteration Acked-by: Aníbal Limón <anibal.limon@linux.intel.com> (From OE-Core rev: 04aa40be126e00e2eb97311510e4d3ea90bfe7eb) Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_deb.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index b3cf07a25b..6ecea0e182 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -234,12 +234,12 @@ python do_package_deb () {
234 234
235 rdepends = bb.utils.explode_dep_versions2(localdata.getVar("RDEPENDS", True) or "") 235 rdepends = bb.utils.explode_dep_versions2(localdata.getVar("RDEPENDS", True) or "")
236 debian_cmp_remap(rdepends) 236 debian_cmp_remap(rdepends)
237 for dep in rdepends: 237 for dep in rdepends.keys():
238 if '*' in dep: 238 if '*' in dep:
239 del rdepends[dep] 239 del rdepends[dep]
240 rrecommends = bb.utils.explode_dep_versions2(localdata.getVar("RRECOMMENDS", True) or "") 240 rrecommends = bb.utils.explode_dep_versions2(localdata.getVar("RRECOMMENDS", True) or "")
241 debian_cmp_remap(rrecommends) 241 debian_cmp_remap(rrecommends)
242 for dep in rrecommends: 242 for dep in rrecommends.keys():
243 if '*' in dep: 243 if '*' in dep:
244 del rrecommends[dep] 244 del rrecommends[dep]
245 rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "") 245 rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "")