<?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>4792</bug_id>
          
          <creation_ts>2013-06-30 04:49:53 +0000</creation_ts>
          <short_desc>lmbench fails to build due to do_package_qa error</short_desc>
          <delta_ts>2013-07-01 12:42:55 +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>BSPs</product>
          <component>bsps-meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Weber">rjohnweber</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>bluelightning</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>34246</commentid>
    <comment_count>0</comment_count>
    <who name="John Weber">rjohnweber</who>
    <bug_when>2013-06-30 04:49:53 +0000</bug_when>
    <thetext>john@leo:~/fsl-community-bsp/build$ bitbake lmbench
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 1684 entries from dependency cache.

Build Configuration:
BB_VERSION        = &quot;1.19.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;
MACHINE           = &quot;wandboard-dual&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.4+snapshot-20130630&quot;
TUNE_FEATURES     = &quot;armv7a vfp neon&quot;
TARGET_FPU        = &quot;vfp-neon&quot;
meta              
meta-yocto        = &quot;(nobranch):80b263430453896189b704d0997943642eec6fef&quot;
meta-oe           = &quot;(nobranch):30e97c15d762f09fa37a31602d00f1f4b0d059bb&quot;
meta-fsl-arm      = &quot;(nobranch):3b4c20c4f683b721994ea2e4e364c38601cd3c6b&quot;
meta-fsl-arm-extra = &quot;(nobranch):ca648ca250c09f37b538bf042ab87c59a432aff3&quot;
meta-fsl-demos    = &quot;(nobranch):eb6bd0d3e799c9053f80104194a0f2a37fb690e2&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: QA Issue: lmbench: Files/directories were installed but not shipped
  /run
  /run/lmbench
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/john/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/lmbench/3.0-a9-r2/temp/log.do_package.14504
ERROR: Task 10 (/home/john/fsl-community-bsp/sources/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb, do_package) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 555 tasks of which 543 didn&apos;t need to be rerun and 1 failed.
No currently running tasks (555 of 559)

It appears the the QA is checking for empty directories after install.  Some packages are going to create empty directories in do_install to be placeholders in the rootfs.  In the lmbench case, it creates /run/lmbench.

Removing the line in meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb which creates the run/lmbench directory allows the build to succeed, but does not permit the pre-creation of the directory as desired in the rootfs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34257</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-07-01 12:42:55 +0000</bug_when>
    <thetext>What the error is telling you is that these directories will not actually appear in the rootfs because nothing is packaging them. If these directories should be created in the rootfs then they need to be added to FILES_${PN} within the recipe.

In any case, this is a recipe in meta-oe; this bug tracker does not cover those recipes, so I&apos;m marking this as invalid. I&apos;d suggest posting about this issue to the openembedded-devel@lists.openembedded.org mailing list, or since the issue is a trivial one, just sending a patch there to fix it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>