<?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>12973</bug_id>
          
          <creation_ts>2018-10-30 17:31:35 +0000</creation_ts>
          <short_desc>yocto-check-layer traceback</short_desc>
          <delta_ts>2018-11-30 01:52:20 +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>Scripts and Tools</component>
          <version>2.2</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>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>2.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Changqing Li">changqing.li</assigned_to>
          <cc>randy.macleod</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>81974</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-10-30 17:31:35 +0000</bug_when>
    <thetext>Changing out the build directory before running yocto-check-layer gives a traceback:

~/poky$ source oe-init-build-env 

### Shell environment set up for builds. ###

You can now run &apos;bitbake &lt;target&gt;&apos;

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like &apos;runqemu qemux86&apos;
~/poky/build$ cd ..
~/poky$ ./scripts/yocto-check-layer meta-yocto-bsp/
INFO: Detected layers:
INFO: meta-yocto-bsp: LayerType.BSP, /home/richard/Repos/poky/meta-yocto-bsp
INFO: 
INFO: Setting up for meta-yocto-bsp(LayerType.BSP), /home/richard/Repos/poky/meta-yocto-bsp
INFO: Getting initial bitbake variables ...
INFO: Getting initial signatures ...
Traceback (most recent call last):
  File &quot;./scripts/yocto-check-layer&quot;, line 210, in &lt;module&gt;
    ret =  main()
  File &quot;./scripts/yocto-check-layer&quot;, line 173, in main
    td[&apos;sigs&apos;], td[&apos;tunetasks&apos;] = get_signatures(td[&apos;builddir&apos;])
  File &quot;/home/richard/Repos/poky/scripts/lib/checklayer/__init__.py&quot;, line 274, in get_signatures
    with open(sigs_file, &apos;r&apos;) as f:
FileNotFoundError: [Errno 2] No such file or directory: &apos;/home/richard/Repos/poky/build/locked-sigs.inc&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82233</commentid>
    <comment_count>1</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2018-11-15 05:21:47 +0000</bug_when>
    <thetext>@Richard

This</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82256</commentid>
    <comment_count>2</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2018-11-16 01:27:35 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; @Richard
&gt; 
&gt; This

Please ignore this comments. It is sent by mistake.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82368</commentid>
    <comment_count>3</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2018-11-30 01:52:20 +0000</bug_when>
    <thetext>have fixed by oe commit 2ec0bc0b038bc6413978c8f34ef5c0d22b4bc3e7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>