<?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>7537</bug_id>
          
          <creation_ts>2015-03-30 12:31:58 +0000</creation_ts>
          <short_desc>Toaster fails to build with custom layer added</short_desc>
          <delta_ts>2015-03-31 08:05:58 +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.8</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="Mihail Stanciu">stanciux.mihail</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>jessica.zhang</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>49911</commentid>
    <comment_count>0</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-03-30 12:31:58 +0000</bug_when>
    <thetext>Tested on 1.8_M4_RC1: 8b3d3e7c957ad06c390886487f69aeb8e145da6a

Steps to reproduce:
1. Create new project.
2. Import meta-selftest layer as follows:
Layer name: meta-selftest
Git repository URL: git://git.yoctoproject.org/poky
Revision: HEAD
Click on the button: &quot;Import and add to project&quot;
3. Build core-image-minimal

Expected result:
Image builds successfully.

Observed result:
Build fails with the following error:
localhostbecontroller: Bitbake server did not start in 5 seconds, aborting (Error: &apos;&apos; &apos;ERROR: Traceback (most recent call last):
  File &quot;/home/dave/poky/bitbake/lib/bb/cookerdata.py&quot;, line 175, in wrapped
    return func(fn, *args)
  File &quot;/home/dave/poky/bitbake/lib/bb/cookerdata.py&quot;, line 185, in parse_config_file
    return bb.parse.handle(fn, data, include)
  File &quot;/home/dave/poky/bitbake/lib/bb/parse/__init__.py&quot;, line 107, in handle
    return h[&apos;handle&apos;](fn, data, include)
  File &quot;/home/dave/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py&quot;, line 118, in handle
    abs_fn = resolve_file(fn, data)
  File &quot;/home/dave/poky/bitbake/lib/bb/parse/__init__.py&quot;, line 130, in resolve_file
    raise IOError(&quot;file %s not found&quot; % fn)
IOError: file /home/dave/poky/conf/layer.conf not found

ERROR: Unable to parse /home/dave/poky/conf/layer.conf: file /home/dave/poky/conf/layer.conf not found
&apos;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49923</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-03-30 15:29:28 +0000</bug_when>
    <thetext>I am not sure about what scenario we have here - but I suspect the imported layer was not correct, and thus the test case was invalid.

Specifically, the test sequence for importing layer meta-selftest does not specify the directory path set to &quot;meta-selftest&quot; in accordance with the tree listed here http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/?h=fido so the test data is invalid, and the outcome is the expected one - error while starting the system.

Closing as &quot;not a bug&quot; due to invalid test sequence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49948</commentid>
    <comment_count>2</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-03-31 08:05:58 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I am not sure about what scenario we have here - but I suspect the imported
&gt; layer was not correct, and thus the test case was invalid.
&gt; 
&gt; Specifically, the test sequence for importing layer meta-selftest does not
&gt; specify the directory path set to &quot;meta-selftest&quot; in accordance with the
&gt; tree listed here http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/?h=fido
&gt; so the test data is invalid, and the outcome is the expected one - error
&gt; while starting the system.
&gt; 
&gt; Closing as &quot;not a bug&quot; due to invalid test sequence.

Thank you for clarifying the test case.
I have made the mentioned addition and the build did indeed complete.
Marking as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>