Bug 6102 - Build packages fails when you use the "Start with an empty image recipe" option
Summary: Build packages fails when you use the "Start with an empty image recipe" option
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M5
Assignee: Marius Avram
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-04-02 14:00 UTC by Belen Barros Pena
Modified: 2014-05-15 10:00 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
error when building packages (85.91 KB, image/png)
2014-04-02 14:00 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2014-04-02 14:00:41 UTC
Created attachment 1893 [details]
error when building packages

Steps to reproduce:

* In the "Select an image recipe" dropdown, select the very last option ("Start with an empty image recipe")

* In the recipes screen, select a recipe (e.g. busybox)

* Click "build packages"

* In the packages table, select a package (e.g. busybox)

* Click "build image"

Hob throws an error (attached). When you click the "Close" button in the error dialog, you get the following trace:

Traceback (most recent call last):
  File "/home/yocto/poky/bitbake/lib/bb/ui/hob.py", line 57, in event_handle_idle_func
    hobHandler.handle_event(event)
  File "/home/yocto/poky/bitbake/lib/bb/ui/crumbs/hobeventhandler.py", line 255, in handle_event
    self.run_next_command()
  File "/home/yocto/poky/bitbake/lib/bb/ui/crumbs/hobeventhandler.py", line 176, in run_next_command
    target += version
TypeError: cannot concatenate 'str' and 'NoneType' objects

The problem does not happen when you build an image without customising it.
Comment 1 Marius Avram 2014-04-08 12:06:34 UTC
Solution merged on master:poky commit: 07231022e20e3e15f2c851617626b52e8de0843c
Comment 2 Belen Barros Pena 2014-05-15 10:00:44 UTC
verified in master:d6900a5fe7670cb4514969d60e0ca65372121c87