<?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>1521</bug_id>
          
          <creation_ts>2011-09-23 00:30:17 +0000</creation_ts>
          <short_desc>Switching package format in hob is unstable</short_desc>
          <delta_ts>2011-09-27 08:23:54 +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>Hob</product>
          <component>hob</component>
          <version>unspecified</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16432</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-23 00:30:17 +0000</bug_when>
    <thetext>tree/branch: poky/1.1_M4
commit: 6462c158fc482e495c1171ffc7747e2ad650a292

With 1.1 M4 branch, I could not build deb/ipk image successfully in hob. BTW, what I am trying is build from scratch. RPM build could work in hob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16440</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-09-23 08:13:32 +0000</bug_when>
    <thetext>Any hint as to whether this is strictly a Hob issue? Have from scratch builds with ipk and deb been successfully run from the command line UI?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16451</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-09-23 12:00:22 +0000</bug_when>
    <thetext>I manage to reproduce this, I think. If I switch the package format from the UI and click &apos;Bake&apos; I see:

joshual@scimitar:~/Projects/Yocto/poky/build [master]
$ hob
Traceback (most recent call last):
  File &quot;/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/hob.py&quot;, line 473, in bake_clicked_cb
    self.handler.build_targets(image, self.configurator)
  File &quot;/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/crumbs/hobeventhandler.py&quot;, line 267, in build_targets
    if self.image_dir in bbpath.split(&quot;:&quot;):
AttributeError: &apos;bool&apos; object has no attribute &apos;split&apos;
Traceback (most recent call last):
  File &quot;/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/hob.py&quot;, line 473, in bake_clicked_cb
    self.handler.build_targets(image, self.configurator)
  File &quot;/home/joshual/Projects/Yocto/poky/bitbake/lib/bb/ui/crumbs/hobeventhandler.py&quot;, line 267, in build_targets
    if self.image_dir in bbpath.split(&quot;:&quot;):
AttributeError: &apos;bool&apos; object has no attribute &apos;split&apos;

For some reason the getVariable command sometimes returns some Boolean value when requesting the BBFILES and BBPATH variables.

I&apos;m testing a patch to get the values of these variables at handler instantiation and store them as member values instead of requesting them of the server for each build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16515</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-09-27 08:23:54 +0000</bug_when>
    <thetext>Fixed in master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f159dfb6288d11b51e49a55fddeea1e30a4266b7

and Edison:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=edison&amp;id=bed552f8d0d1bd29d93f58228831e25c278236f2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>