Bug 2566

Summary: Hob should not have let me switch my distro to poky-tiny and expected things to work - but it did
Product: [Build System, Metadata & Runtime] Hob Reporter: Dave Stewart <david.c.stewart>
Component: hobAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, andreea.b.proca, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher
Version: 1.2   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on: 2565    
Bug Blocks:    
Attachments:
Description Flags
Poky-tiny error. none

Description Dave Stewart 2012-06-08 21:57:27 UTC
I did a build of x86 or x86-64 of sato (I think). Then I set my distro to poky-tiny and did a rebuild. 

Darren says the build should have blown up because you need to clean out libc (I think) before it will work.

Now interesting that the build did complete successfully, but the resulting attempt to "Run image" resulted in a failure, so maybe this is the expected result.

If switching distros from poky to poky-tiny, should there be a removal of the stuff like libc which could goof up the build? Perhaps with a warning dialog first?
Comment 1 Alexandru Damian 2012-09-25 09:07:18 UTC
QA, please test and see if it still repro.
Comment 2 Andreea Brandusa Proca 2012-09-27 12:27:48 UTC
Created attachment 852 [details]
Poky-tiny error.
Comment 3 Andreea Brandusa Proca 2012-09-27 12:28:02 UTC
(In reply to comment: "QA, please test and see if it still repro.")

I have build an sato image (distro = poky) and then I rebuild it setting the distribution to poky-tiny.

Immediately appears a small window. I attached it.
After choosing "Back" and "Build new image", I get this error and hob freezes:

andreea@andreea-Vostro-460:~/yocto/master/build$ hob
Traceback (most recent call last):
  File "/home/andreea/yocto/master/bitbake/lib/bb/ui/hob.py", line 57, in event_handle_idle_func
    hobHandler.handle_event(event)
  File "/home/andreea/yocto/master/bitbake/lib/bb/ui/crumbs/hobeventhandler.py", line 172, in handle_event
    self.build.handle_event(event)
  File "/home/andreea/yocto/master/bitbake/lib/bb/ui/crumbs/runningbuild.py", line 377, in handle_event
    self.emit("log", msg)
TypeError: 2 parameters needed for signal log; 1 given
Comment 4 Alexandru Damian 2012-09-27 12:39:17 UTC
Problem already fixed after being identified in another bug 3170

*** This bug has been marked as a duplicate of bug 3170 ***
Comment 5 Andreea Brandusa Proca 2012-10-18 12:44:44 UTC
Verified in commit: e6e2b9bd66100c078c029ca7e34829cf1dfb5490.