<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3951</bug_id>
          
          <creation_ts>2013-02-27 22:17:28 +0000</creation_ts>
          <short_desc>perf doesn&apos;t build with core-image-minimal</short_desc>
          <delta_ts>2013-03-02 16:37:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Zanussi">tom.zanussi</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>30190</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-02-27 22:17:28 +0000</bug_when>
    <thetext>Building perf with a minimal image by adding the below to local.conf fails with a missing dependency on &apos;bash&apos;:

  Can&apos;t install perf-3.4-r8@qemux86: no package provides /bin/bash

Added to local.conf:

 IMAGE_INSTALL_append = &quot; perf&quot;

Perf should be usable with a minimal image either the dependency should be dragged in or the reason for it eliminated.

-----

[trz@empanada build]$ bitbake core-image-minimal

Pseudo is not present but is required, building this first before the main build
Parsing recipes: 100% |############################################################| Time: 00:01:09
Parsing of 812 .bb files complete (0 cached, 812 parsed). 1121 targets, 26 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = &quot;1.17.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Unknown&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20130227&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master0:d7b248e715d99766bf8602ff9f038f8b0afa5e78&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn&apos;t need to be rerun and all succeeded.
Loading cache: 100% |##############################################################| ETA:  00:00:00
Loaded 1122 entries from dependency cache.

Build Configuration:
BB_VERSION        = &quot;1.17.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Unknown&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20130227&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master0:d7b248e715d99766bf8602ff9f038f8b0afa5e78&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: /home/trz/yocto/bashmin-test/build/tmp/sysroots/qemux86/usr/src/kernel/COPYING could not be copied for some reason. It may not exist. WARN for now.
NOTE: validating kernel config, see log.do_kernel_configcheck for details
ERROR: Function failed: do_rootfs (see /home/trz/yocto/bashmin-test/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.27667 for further information)
ERROR: Logfile of failure stored in: /home/trz/yocto/bashmin-test/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.27667
Log data follows:
| DEBUG: Executing shell function do_rootfs
| Previous repo file missing: /home/trz/yocto/bashmin-test/build/tmp/deploy/rpm/all/repodata/primary.xml.gz
| Previous repo file missing: /home/trz/yocto/bashmin-test/build/tmp/deploy/rpm/i586/repodata/primary.xml.gz
| Previous repo file missing: /home/trz/yocto/bashmin-test/build/tmp/deploy/rpm/qemux86/repodata/primary.xml.gz
| Note: configuring RPM platform settings
| Note: configuring RPM system provides
| Note: configuring RPM DB settings
| Note: configuring Smart settings
| 
| 
| 
| 
| 
| 
| Note: adding Smart channel qemux86 (45)
| 
| 
| Note: adding Smart channel i586 (40)
| 
| 
| Note: adding Smart channel all (10)
| 
| 
| Note: configuring RPM cross-install scriptlet_wrapper
| 
| Updating cache...               ######################################## [100%]
| 
| Saving cache...
| 
| Note: adding Smart RPM DB channel
| 
| Note: to be installed:  perf@qemux86 packagegroup-core-boot@qemux86
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can&apos;t install perf-3.4-r8@qemux86: no package provides /bin/bash
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs (see /home/trz/yocto/bashmin-test/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.27667 for further information)
ERROR: Task 7 (/home/trz/yocto/bashmin-test/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 1875 tasks of which 329 didn&apos;t need to be rerun and 1 failed.
No currently running tasks (1875 of 1876)

Summary: 1 task failed:
  /home/trz/yocto/bashmin-test/meta/recipes-core/images/core-image-minimal.bb, do_rootfs
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30191</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-02-27 22:21:03 +0000</bug_when>
    <thetext>forgot to add that this was user-reported:

http://lists.linuxtogo.org/pipermail/openembedded-core/2013-February/036430.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30338</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-03-01 17:37:31 +0000</bug_when>
    <thetext>I also found a similar problem for systemtap.  Both patches submitted to oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30358</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-02 16:37:14 +0000</bug_when>
    <thetext>Resolved in master:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=06615186edf3356ddce68ea0d5d521fca213017e
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=84baa1a537d80e1252f0a08f03374eac40d1004f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>