<?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>2784</bug_id>
          
          <creation_ts>2012-07-18 09:26:10 +0000</creation_ts>
          <short_desc>license.bbclass failing on autobuilder</short_desc>
          <delta_ts>2012-07-19 14:37:45 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>2638</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(autobuilder)</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</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>23202</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-07-18 09:26:10 +0000</bug_when>
    <thetext>| ls: cannot access /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/pkgdata/*/runtime/dbus-1: No such file or directory
| ls: cannot access /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/pkgdata/*/runtime/kernel-3.4.4-yocto-standard: No such file or directory
| ls: cannot access /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/pkgdata/*/runtime/libacl1: No such file or directory
...

(more at http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/586/steps/shell_25/logs/stdio)

Paul says:

It seems to me the problem is that the pkgdata is in non-debian renamed format
whereas license.bbclass by virtue of using the final list of installed packages
is expecting to use the post-rename names (e.g. pkgdata/*/runtime contains
zlib-dev whereas the installed package is called libz-dev). Given that this
renaming happens much earlier in the process, I&apos;m not sure how my change could
have triggered this or why it would only be a problem sometimes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23230</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-07-18 21:41:28 +0000</bug_when>
    <thetext>I think these are always there, the other failures just highlighted them.

To fix this, we might need to add another pkgdata directory alongside runtime which has the renamed package versions symlinked to the runtime directory. The license code can then reference this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23263</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-07-19 14:37:45 +0000</bug_when>
    <thetext>Andrei may have had a patch.

*** This bug has been marked as a duplicate of bug 2638 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>