<?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>6795</bug_id>
          
          <creation_ts>2014-10-03 15:48:37 +0000</creation_ts>
          <short_desc>Pkgdata is generated for empty packages</short_desc>
          <delta_ts>2014-10-07 15:34:48 +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>core</component>
          <version>1.7</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>Undecided</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Otavio Salvador">otavio</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>otavio</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46089</commentid>
    <comment_count>0</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2014-10-03 15:48:37 +0000</bug_when>
    <thetext>&gt; [12:42] &lt; otavio&gt; rburton: I am debugging the mesa failure in fsl-arm
&gt; [12:42] &lt; otavio&gt; and it looks to be a bug in pkgdata. It is generating the files for &apos;empty&apos; packages. In the mesa case, openvg is already disabled in mesa and it outputs the pkgdata anyway

The mesa failure I were debugging is: 

https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm/builds/59/steps/BuildImages/logs/stdio

and it seems to be a failure in core as the package is empty in mesa.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46091</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-10-03 16:22:09 +0000</bug_when>
    <thetext>So, to put the info into the bug, the error is:

ERROR: The recipe mesa is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-arm/build/build/tmp/sysroots/imx53qsb/pkgdata/runtime-reverse/libopenvg-dev
   Matched in manifest-imx53qsb-amd-gpu-x11-bin-mx51.packagedata
Please verify which recipe should provide the above files.

and those files are created in packages.bbclass, the part which says &quot;Symlinks needed for reverse lookups&quot;. I have a suspicion we need to move this generation of some of these links into that end if statement (if g or allow_empty)...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46175</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-10-07 15:34:48 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=533a852eddb9a5e77a15001756f03b929a1d0a0b

May require an additional bug filed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>