<?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>5967</bug_id>
          
          <creation_ts>2014-03-14 08:34:26 +0000</creation_ts>
          <short_desc>file_path value for section field is incorrect for some recipes in Recipe table</short_desc>
          <delta_ts>2015-08-07 13:43:25 +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>Toaster</product>
          <component>toaster</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</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="Ionut Chisanovici">ionutx.chisanovici</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>cristiana.voicu</cc>
          
          <qa_contact name="Ionut Chisanovici">ionutx.chisanovici</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41218</commentid>
    <comment_count>0</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-03-14 08:34:26 +0000</bug_when>
    <thetext>Hi,

BUILD: 1.6_M4_RC1: 463cd34f8c17c67c4f3adf3468424730b22f3974
ENVIRONMENT: Ubuntu 13.10
STEPS TO REPRODUCE: 1. start toaster
2. run bitbake core-image-minimal
3. check if the value of the section field matches the content of the SECTION variable (if set) in the file indicated by the file_path field (from Recipe table)

EXPECTED OUTCOME: 
  
 the value of the  section field matches the content of the SECTION variable (if set)  in file_path

ACTUAL OUTCOME:

IOError: [Errno 2] No such file or directory: &apos;virtual:native:/home/ionut/work/toaster/poky/meta/recipes-extended/shadow/shadow_4.1.4.3.bb&apos;

From database:

{
    &quot;pk&quot;: 2,
    &quot;model&quot;: &quot;orm.recipe&quot;,
    &quot;fields&quot;: {
        &quot;description&quot;: &quot;Tools to change and administer password and group data.&quot;,
        &quot;license&quot;: &quot;BSD | Artistic-1.0&quot;,
        &quot;bugtracker&quot;: &quot;https://alioth.debian.org/tracker/?group_id=30580&quot;,
        &quot;section&quot;: &quot;base utils&quot;,
        &quot;layer_version&quot;: 3,
        &quot;summary&quot;: &quot;Tools to change and administer password and group data&quot;,
        &quot;version&quot;: &quot;4.1.4.3-r14&quot;,
        &quot;homepage&quot;: &quot;http://pkg-shadow.alioth.debian.org&quot;,
        &quot;file_path&quot;: &quot;virtual:native:/home/ionut/work/toaster/poky/meta/recipes-extended/shadow/shadow_4.1.4.3.bb&quot;,
        &quot;name&quot;: &quot;shadow-native&quot;
    }
}

Cheers,
Ionut C</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41231</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-03-14 11:29:35 +0000</bug_when>
    <thetext>Hi Ionut,

The problem here seems to be that the test is looking in the wrong place. The test should remove the &quot;virtual:native&quot; bit if in the path, then search for the file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41435</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-03-19 15:52:55 +0000</bug_when>
    <thetext>As mentioned before, it looks like this is not a bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42674</commentid>
    <comment_count>3</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-04-15 12:55:12 +0000</bug_when>
    <thetext>Not a bug, test updated, verified.

IonutC</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>