<?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>10149</bug_id>
          
          <creation_ts>2016-08-15 23:31:00 +0000</creation_ts>
          <short_desc>Crash in image.bbclass</short_desc>
          <delta_ts>2016-08-29 00:32:10 +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>deployment</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 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>sgw</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>65211</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-08-15 23:31:00 +0000</bug_when>
    <thetext>Using the configuration:

IMAGE_INSTALL_append = &quot; packagegroup-core-buildessential&quot;
EXTRA_IMAGE_FEATURES_append = &quot; dev-pkgs&quot;

MACHINE=&apos;qemux86&apos;

bitbake core-image-base

bitbake -c clean gobject-introspection

bitbake core-image-base

This results in:

ERROR: core-image-base-1.0-r0 do_rootfs: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: &apos;exec_python_func() autogenerated&apos;, lineno: 2, function: &lt;module&gt;
     0001:
 *** 0002:do_rootfs(d)
     0003:
File: &apos;/home/mhatle/git/oss/oe-core/meta/classes/image.bbclass&apos;, lineno: 209, function: do_rootfs
     0205:    # the weightings as well as a map to the lines where next_stage() was
     0206:    # called. Of course this isn&apos;t critical, but it helps to keep the progress
     0207:    # reporting accurate.
     0208:    stage_weights = [1, 203, 354, 186, 65, 4228, 1, 353, 49, 330, 382, 23, 1]
 *** 0209:    progress_reporter = bb.progress.MultiStageProgressReporter(d, stage_weights)
     0210:    progress_reporter.next_stage()
     0211:
     0212:    # Handle package exclusions
     0213:    excl_pkgs = d.getVar(&quot;PACKAGE_EXCLUDE&quot;, True).split()
Exception: AttributeError: &apos;module&apos; object has no attribute &apos;progress&apos;

ERROR: core-image-base-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/mhatle/git/oss/oe-core/build/tmp-glibc/work/qemux86-oe-linux/core-image-base/1.0-r0/temp/log.do_rootfs.122391</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65500</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-08-25 01:06:34 +0000</bug_when>
    <thetext>Mark, which version of bitbake are you using here? Is it perhaps one before the progress reporting code was added?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65502</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-08-25 13:28:05 +0000</bug_when>
    <thetext>This was master on August 15th.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65574</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-08-28 23:42:42 +0000</bug_when>
    <thetext>So far I&apos;ve been unable to reproduce this. Do you definitely have a bitbake/lib/bb/progress.py ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65577</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-08-29 00:32:10 +0000</bug_when>
    <thetext>I did at the time.  I had verified that.  It was a very very strange error.

I have attempted to reproduce the problem with the latest master (bitbake and oe-core) with the same build as previous.  The problem did not reappear.

I&apos;d say it must have been fixed in an unrelated change.

Setting as resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>