<?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>4791</bug_id>
          
          <creation_ts>2013-06-30 04:10:28 +0000</creation_ts>
          <short_desc>lttng-modules fails do_package_qa</short_desc>
          <delta_ts>2013-07-03 13:46:39 +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-fsl-arm</component>
          <version>unspecified</version>
          <rep_platform>All</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>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Weber">rjohnweber</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</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>34245</commentid>
    <comment_count>0</comment_count>
    <who name="John Weber">rjohnweber</who>
    <bug_when>2013-06-30 04:10:28 +0000</bug_when>
    <thetext>lttng-modules causes qa failure in do_package_qa:

ERROR: QA Issue: lttng-modules: Files/directories were installed but not shipped
  /lib
  /lib/modules
  /lib/modules/3.0.35-wandboard+yocto+g7efa8c6
  /lib/modules/3.0.35-wandboard+yocto+g7efa8c6/kernel
  /lib/modules/3.0.35-wandboard+yocto+g7efa8c6/kernel/lttng-modules
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/wandboard_dual-poky-linux-gnueabi/lttng-modules/2.1.1-r0/temp/log.do_package.18131
ERROR: Task 2964 (/home/john/fsl-community-bsp/sources/poky/meta/recipes-kernel/lttng/lttng-modules_2.1.1.bb, do_package) failed with exit code &apos;1&apos;

I believe this is a result of the desired kernel not having &quot;CONFIG_TRACEPOINTS&quot; in its .config (build configuration).  When this is not configured, none of the modules are built as the Makefile in lttng-modules performs an ifneq() test for empty for this variable in the beginning.  There is thus nothing to install and ship.

This should not cause an image build failure in this case.  Perhaps a warning that the desired modules were not built and thus not installed/shipped, with a hint to check the kernel configuration.  I was testing an image which includes tools-profile.

This used to be a QA warning before this commit to poky:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta-yocto/conf/distro/poky.conf?id=c1df5188bb2851bcc5a3f483b0a0b4c4f884e3c7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34311</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-07-03 13:46:39 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fba5c25ba82649b106560183291f3ed60a4bffa7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>