Bug 11014 - package_qa_check_dbg tries to call a dict as a function
Summary: package_qa_check_dbg tries to call a dict as a function
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-02-04 01:11 UTC by Mark Charlebois
Modified: 2017-02-16 15:29 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
stack trace (1.89 KB, application/octet-stream)
2017-02-04 01:11 UTC, Mark Charlebois
no flags Details
Patch to fix the issue (679 bytes, patch)
2017-02-04 01:18 UTC, Mark Charlebois
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Charlebois 2017-02-04 01:11:59 UTC
Created attachment 3624 [details]
stack trace

package_qa_check_dbg(..., messages) is passed messages which is a dict and the attempts to call it lie a function:

See the attached stacktrace

all of the other package_qa_XXX(..., messages) functions do:

package_qa_add_message(messages, ...)
Comment 1 Mark Charlebois 2017-02-04 01:12:37 UTC
This also affects all versions after 2.2 possibly versions before as well.
Comment 2 Mark Charlebois 2017-02-04 01:18:48 UTC
Created attachment 3625 [details]
Patch to fix the issue
Comment 3 Stephano Cetola 2017-02-16 15:29:38 UTC
Fixed in commit 7f3e6d7ce94659447e1b1cdcb2440305581c8cbb