From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] mime.bbclass: Fix bracket error.
Date: Mon, 12 Mar 2012 14:20:27 -0700 [thread overview]
Message-ID: <4F5E689B.9090701@linux.intel.com> (raw)
In-Reply-To: <1331027262-13318-1-git-send-email-s.stirtzel@googlemail.com>
On 03/06/2012 01:47 AM, Samuel Stirtzel wrote:
> This fixes the following error:
>
> ERROR: Error executing a python function in ...:
> AttributeError: 'str' object has no attribute 'append'
>
> ERROR: The stack trace of python calls that resulted in this exception/failure was:
> ERROR: File "populate_packages", line 193, in<module>
> ERROR:
> ERROR: File "populate_packages", line 189, in populate_packages
> ERROR:
> ERROR: The code that was being executed was:
> ERROR: 0189: rdepends.append("shared-mime-info-data")
> ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
> ERROR: 0191:
> ERROR: 0192:
> ERROR: *** 0193:populate_packages(d)
> ERROR: 0194:
> ERROR: (file: 'populate_packages', lineno: 193, function:<module>)
> ERROR: 0185: postrm += d.getVar('mime_postrm', True)
> ERROR: 0186: d.setVar('pkg_postrm_%s' % pkg, postrm)
> ERROR: 0187: bb.note("adding shared-mime-info-data dependency to %s" % pkg)
> ERROR: 0188: rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or ""
> ERROR: *** 0189: rdepends.append("shared-mime-info-data")
> ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
> ERROR: 0191:
> ERROR: 0192:
> ERROR: 0193:populate_packages(d)
>
> Signed-off-by: Samuel Stirtzel<s.stirtzel@googlemail.com>
> ---
> meta/classes/mime.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
> index dcdc27a..6302747 100644
> --- a/meta/classes/mime.bbclass
> +++ b/meta/classes/mime.bbclass
> @@ -54,7 +54,7 @@ python populate_packages_append () {
> postrm += d.getVar('mime_postrm', True)
> d.setVar('pkg_postrm_%s' % pkg, postrm)
> bb.note("adding shared-mime-info-data dependency to %s" % pkg)
> - rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or ""
> + rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False) or "" )
> rdepends.append("shared-mime-info-data")
> d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
> }
Merged into OE-Core
Thanks
Sau!
prev parent reply other threads:[~2012-03-12 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 9:47 [PATCH] mime.bbclass: Fix bracket error Samuel Stirtzel
2012-03-12 21:20 ` Saul Wold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F5E689B.9090701@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.