Skip to content

Instantly share code, notes, and snippets.

INFO: Collecting data for layer openembedded-core on branch master
/home/layers/.virtualenvs/layerindex-web/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py:114: Warning: Data truncated for column 'provides' at row 1
return self.cursor.execute(query, args)
/home/layers/.virtualenvs/layerindex-web/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py:114: Warning: Data truncated for column 'license' at row 1
return self.cursor.execute(query, args)
INFO: Collecting data for layer meta-oe on branch master
WARNING: gpsd: invalid PACKAGECONFIG: bluez5
WARNING: qt-mobility-x11: invalid PACKAGECONFIG: bluez5
WARNING: qt-mobility-embedded: invalid PACKAGECONFIG: bluez5
Traceback (most recent call last):
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
index eeca9de..d63cff5 100644
--- a/meta/classes/toaster.bbclass
+++ b/meta/classes/toaster.bbclass
@@ -192,7 +192,7 @@ python toaster_collect_task_stats() {
bn = get_bn(e)
bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn)
taskdir = os.path.join(bsdir, e.data.expand("${PF}"))
- fout.write("%s:%s:%s:%s\n" % (e.taskfile, e.taskname, os.path.join(taskdir, e.task), e.data.expand("${PN}")))
+ fout.write("%s::%s::%s::%s\n" % (e.taskfile, e.taskname, os.path.join(taskdir, e.task), e.data.expand("${PN}")))
2015-09-18 15:55:01,834 ERROR Internal Server Error: /toastergui/xhr_typeahead/2/recipes
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
return handler(request, *args, **kwargs)
File "/home/ed/git/yocto/poky/bitbake/lib/toaster/toastergui/widgets.py", line 390, in get
results = self.apply_search(search_term, prj, request)[:ToasterTypeAhead.MAX_RESULTS]
ERROR: Target_File matching query does not exist.
Traceback (most recent call last):
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/toasterui.py", line 285, in main
buildinfohelper.store_target_package_data(event)
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 1090, in store_target_package_data
self.orm_wrapper.save_target_file_information(self.internal_state['build'], target, filedata)
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 364, in save_target_file_information
parent_obj = self._cached_get(Target_File, target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
File "/home/ed/git/yocto/poky/bitbake/lib/bb/ui/buildinfohelper.py", line 115, in _cached_get
vars(self)[dictname][key] = clazz.objects.get(**kwargs)
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index a9909b8..a19b4de 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -248,6 +248,11 @@ class LocalhostBEController(BuildEnvironmentController):
localdirname = os.path.join(self.be.sourcedir, self.getGitCloneDirectory(giturl, commit))
logger.debug("localhostbecontroller: giturl %s:%s checking out in current directory %s" % (giturl, commit, localdirname))
+ if re.match('^[a-fA-F0-9]+$', commit):
+ ref = commit
DEBUG: Shell function do_kernel_checkout finished
DEBUG: Executing shell function do_validate_branches
DEBUG: Shell function do_validate_branches finished
DEBUG: Executing shell function do_patch
mkdir: cannot create directory '.': File exists
find: './cfg/scratch': No such file or directory
ERROR. Could not locate meta series for qemux86
WARNING: /home/ed/git/yocto/poky/build/tmp/work/qemux86-poky-linux/linux-yocto/4.1.6+gitAUTOINC+429f9e2ff0_59b8c4f5e8-r0/archiver-work//temp/run.do_patch.10999:1 exit 1 from
patchme qemux86
DEBUG: Python function do_unpack_and_patch finished
$ ls -la yocto/_toaster_clones/
total 20
drwxr-xr-x 5 ed users 4096 Sep 23 17:44 .
drwxr-xr-x 29 ed users 4096 Sep 23 17:44 ..
drwxr-xr-x 8 ed users 4096 Sep 23 17:44 _git___github.com_OSSystems_meta-chicken_master.toaster_cloned
drwxr-xr-x 11 ed users 4096 Sep 23 17:44 _git___git.yoctoproject.org_poky_master.toaster_cloned
drwxr-xr-x 13 ed users 4096 Sep 23 17:44 _https___github.com_agherzan_meta-raspberrypi.git_17dad9328b100beda1cf870c9075e509b5cbfa90.toaster_cloned
$ bitbake core-image-minimal
WARNING: Host distribution "openSUSE-13.2" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 00:00:11
Parsing of 908 .bb files complete (0 cached, 908 parsed). 1339 targets, 39 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "openSUSE-13.2"
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index bc439e6..a95498a 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -173,12 +173,11 @@ fi
# in the local layers that currently prevent using an arbitrary
# toasterconf.json
if [ "$TOASTER_CONF" = "" ]; then
- BIN_DIR=$(dirname -- "$0")
- export TOASTER_CONF="$BIN_DIR/../../meta-yocto/conf/toasterconf.json"
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index a0d7d59..5404f82 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -642,12 +642,10 @@ class BBCooker:
"""
bb.event.fire(bb.event.TreeDataPreparationStarted(), self.data)
- # A task of None means use the default task
- if task is None: