<?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>10209</bug_id>
          
          <creation_ts>2016-09-02 03:01:37 +0000</creation_ts>
          <short_desc>list-packageconfig-flags.py doesn&apos;t work</short_desc>
          <delta_ts>2016-09-14 02:13:49 +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>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</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>65757</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2016-09-02 03:01:37 +0000</bug_when>
    <thetext>Git rev: master/087c580b286816265f487e02746bfa6e26081554

When running list-packageconfig-flags.py, I got the following error:
##########################
$ ../scripts/contrib/list-packageconfig-flags.py 
Parsing recipes..done.
Gathering recipe data...
Traceback (most recent call last):
  File &quot;../scripts/contrib/list-packageconfig-flags.py&quot;, line 179, in &lt;module&gt;
    main()
  File &quot;../scripts/contrib/list-packageconfig-flags.py&quot;, line 166, in main
    data_dict = get_recipesdata(bbhandler, options.preferred)
  File &quot;../scripts/contrib/list-packageconfig-flags.py&quot;, line 61, in get_recipesdata
    pkg_pn = bbhandler.cooker.recipecache.pkg_pn
AttributeError: &apos;BBCooker&apos; object has no attribute &apos;recipecache&apos;
###########################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66122</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2016-09-14 02:13:16 +0000</bug_when>
    <thetext>Paul E has fixed the issue

commit 4a5aa7ea4d07c2c90a1654b174873abb018acc67
Author: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Date:   Wed Aug 31 13:48:06 2016 +1200

    scripts/contrib: update scripts for changes to internal API
    
    The multiconfig changes altered some of the functions being called here,
    so update the calls. Make use of the new Tinfoil.parse_recipe_file()
    function to make parsing easier.
    
    (From OE-Core rev: 95b6ceffd947271f315d8a7660797ab371adfbb9)
    
    Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66123</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2016-09-14 02:13:49 +0000</bug_when>
    <thetext>See above comments</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>