| Summary: | Toaster leads to the failure of "bitbake core-image-minimal". | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Yuan Sun <Yuan.Sun2> |
| Component: | toaster | Assignee: | Alexandru Damian <alexandru.damian> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Undecided | CC: | alexandru.damian, belen.barros.pena, cristiana.voicu, david.reyna, liezhi.yang, Yuan.Sun2 |
| Version: | 1.6 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
I try running "source toaster stop" to terminate toaster and starting up the build(bitbake core-image-minimal). The build is fine. After investigation, I believe this patch solves the problem. http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t67&id=26ebe23010068f8875aa1e81c65bbf57174b5022 Tuan, Cristiana, can you please test it ? I can't easily repro the error on my machine. I retest in the latest git tree(463cd34f8c17c67c4f3adf3468424730b22f3974).It works well. Maybe the commit solves the problem.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9104a32196405a4bf5312eccdc0d4a207f8bf9f1
Thanks.
Yuan
Verified. |
Toaster leads to the failure of "bitbake core-image-minimal". If run "bitbake core-image-minimal" after "source toaster start", it is failed to build. However, if run "bitbake core-image-minimal" individually and don't start up toaster, the build is fine. Tested in 1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a. Steps to reproduce: git clone git://git.yoctoproject.org/poky source poky/oe-init-build-env You would enter to build/ directory. source toaster start bitbake core-image-minimal environment: host: Ubuntu 12.04 LTS 32bit test@p1:/build/Build/ysun0/9/poky$ uname -a Linux p1 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux log: test@p1:/build/Build/ysun0/9$ source poky/oe-init-build-env You had no conf/local.conf file. This configuration file has therefore been created for you with some default values. You may wish to edit it to use a different MACHINE (target hardware) or enable parallel build options to take advantage of multiple cores for example. See the file for more information as common configuration options are commented. The Yocto Project has extensive documentation about OE including a reference manual which can be found at: http://yoctoproject.org/documentation For more information about OpenEmbedded see their website: http://www.openembedded.org/ You had no conf/bblayers.conf file. The configuration file has been created for you with some default values. To add additional metadata layers into your configuration please add entries to this file. The Yocto Project has extensive documentation about OE including a reference manual which can be found at: http://yoctoproject.org/documentation For more information about OpenEmbedded see their website: http://www.openembedded.org/ ### Shell environment set up for builds. ### You can now run 'bitbake <target>' Common targets are: core-image-minimal core-image-sato meta-toolchain adt-installer meta-ide-support You can also run generated qemu images with a command like 'runqemu qemux86' test@p1:/build/Build/ysun0/9/build$ source toaster start The system will start. Syncing... Creating tables ... Creating table south_migrationhistory Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Synced: > django.contrib.staticfiles > django.contrib.humanize > south Not synced (use migrations): - orm (use ./manage.py migrate to migrate these) Running migrations for orm: - Migrating forwards to 0006_auto__add_field_target_image_size__add_field_target_license_manifest_p. > orm:0001_initial > orm:0002_auto__add_field_build_timespent > orm:0003_timespent - Migration 'orm:0003_timespent' is marked for no-dry-run. > orm:0004_auto__add_field_package_installed_name > orm:0005_auto__add_target_image_file__add_target_file__add_field_variablehistor > orm:0006_auto__add_field_target_image_size__add_field_target_license_manifest_p - Loading initial data for orm. Installed 0 object(s) from 0 fixture(s) server address: 127.0.0.1, server port: 8200 Successful start. test@p1:/build/Build/ysun0/9/build$ test@p1:/build/Build/ysun0/9/build$ bitbake core-image-minimal Parsing recipes: 100% |###########################################################################| ETA: 00:00:00 Parsing of 856 .bb files complete (0 cached, 856 parsed). 1217 targets, 35 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.21.1" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20140312" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:1960f6b2ecbb793b40ebc9aed25c8f9cb7884c9a" NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Unknown process (7433) exited unexpectedly (0), shutting down... ERROR: Unknown process (7439) exited unexpectedly (0), shutting down... NOTE: Sending SIGTERM to remaining 2 tasks NOTE: Sending SIGTERM to remaining 2 tasks NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and all succeeded. No currently running tasks (2 of 1806) Summary: There were 2 ERROR messages shown, returning a non-zero exit code. test@p1:/build/Build/ysun0/9/build$