<?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>9947</bug_id>
          
          <creation_ts>2016-07-14 23:27:43 +0000</creation_ts>
          <short_desc>Shell logging functions no longer working</short_desc>
          <delta_ts>2016-07-20 13:45:55 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.0</version>
          <rep_platform>All</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>8223</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <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>64015</commentid>
    <comment_count>0</comment_count>
      <attachid>3287</attachid>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-07-14 23:27:43 +0000</bug_when>
    <thetext>Created attachment 3287
Test recipe for bbwarn in a shell function

I just found by accident that the shell logging functions (e.g. bbwarn) are no longer displaying on the console or going to the task log. I&apos;ve bisected it down to the commits involved in the Python 3 switchover. A simple test recipe is attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64032</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-15 13:02:59 +0000</bug_when>
    <thetext>Discovered this overnight in my epic 12 hour bisection, patch on the bitbake list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64233</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-20 13:45:55 +0000</bug_when>
    <thetext>Fixed in Bitbake 42d727743fa599e0a3c5ad2c29a1e6ede1a918bb</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3287</attachid>
            <date>2016-07-14 23:27:43 +0000</date>
            <delta_ts>2016-07-14 23:27:43 +0000</delta_ts>
            <desc>Test recipe for bbwarn in a shell function</desc>
            <filename>bbwarn-test.bb</filename>
            <type>text/plain</type>
            <size>118</size>
            <attacher name="Paul Eggleton">bluelightning</attacher>
            
              <data encoding="base64">TElDRU5TRSA9ICJDTE9TRUQiCklOSElCSVRfREVGQVVMVF9ERVBTID0gIjEiCgphZGR0YXNrIGZv
bwoKZG9fZm9vKCkgewogICAgICAgIGJid2FybiAidGVzdCIKfQoKZG9fZm9vW25vc3RhbXBdID0g
IjEiCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>