Bug 6412

Summary: perf: do_package failed: installed but not shipped when DEBUG_BUILD
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: Hongxu Jia <hongxu.jia>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, sgw
Version: 1.7   
Target Milestone: 1.7 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Robert Yang 2014-06-06 12:53:44 UTC
Add DEBUG_BUILD = 1 to local.conf:

$ bitbake perf

ERROR: QA Issue: perf: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/traceevent
  /usr/lib/traceevent/plugins
  /usr/lib/traceevent/plugins/plugin_kmem.so
  /usr/lib/traceevent/plugins/plugin_kvm.so
  /usr/lib/traceevent/plugins/plugin_cfg80211.so
  /usr/lib/traceevent/plugins/plugin_xen.so
  /usr/lib/traceevent/plugins/plugin_function.so
  /usr/lib/traceevent/plugins/plugin_hrtimer.so
  /usr/lib/traceevent/plugins/plugin_scsi.so
  /usr/lib/traceevent/plugins/plugin_mac80211.so
  /usr/lib/traceevent/plugins/plugin_jbd2.so
  /usr/lib/traceevent/plugins/plugin_sched_switch.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /buildarea/lyang1/testdebug/tmp/work/qemux86_64-poky-linux/perf/1.0-r8/temp/log.do_package.36952
ERROR: Task 16594 (/buildarea/lyang1/poky/meta/recipes-kernel/perf/perf.bb, do_package) failed with exit code '1'
Comment 1 Robert Yang 2014-06-06 12:56:08 UTC
We also need set these to reproduce this:

MACHINE ?= "qemux86-64"

DEBUG_BUILD = "1"

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
Comment 2 Hongxu Jia 2014-07-25 04:39:10 UTC
verified that they work now
Comment 3 Hongxu Jia 2014-07-25 04:40:26 UTC
verified that they work now