Toaster Error - Rocko

Muhammad Shakeel Khan <[email protected]>
Newsgroups org.yoctoproject.lists.toaster
Message-ID <CADJT9si3cb2TNr2KcH8EtBbuPNsGk0MDmnb4h0UqWHSQFX3QxA@mail.gmail.com>
Hi,

We are running the Toaster production instance based on Rocko (2.4.3) and
seeing a lot of warnings when the build is completed. Our setup is:

1) Start Toaster production instance in isolation (toaster user) with
nobuild option, just to monitor command line builds
2) A different user then fetches 'poky' separately and then sets up the
build environment
3) Start toaster: $ source toaster start noweb
4) Run build: $ bitbake core-image-minimal
5) Stop toaster: $ source toaster stop

This result in following warnings/notes when the build is completed
(complete log attached)

WARNING: Could not add dependency to the package libc6 because
ld-linux.so.2 is an unknown package
NOTE: We did not find one recipe for theconfiguration data package libc6
Recipe matching query does not exist.
WARNING: Could not add dependency to the package libc6 because
ld-linux.so.2 is an unknown package

What might be going wrong here? The Toaster web UI shows 100% progress.

Also in one other custom image build we see the following error at the end
of the build:

ERROR: get() returned more than one Target_File -- it returned 2!
Traceback (most recent call last):
  File
"/home/mshakeel/build-areas/build-area-rocko/sources/poky/bitbake/lib/bb/ui/toasterui.py",
line 416, in main
    buildinfohelper.store_target_package_data(event)
  File
"/home/mshakeel/build-areas/build-area-rocko/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py",
line 1383, in store_target_package_data

self.orm_wrapper.save_target_file_information(self.internal_state['build'],
target, filedata)
  File
"/home/mshakeel/build-areas/build-area-rocko/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py",
line 536, 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/mshakeel/build-areas/build-area-rocko/sources/poky/bitbake/lib/bb/ui/buildinfohelper.py",
line 123, in _cached_get
    vars(self)[dictname][key] = clazz.objects.get(**kwargs)
  File
"/home/mshakeel/.local/lib/python3.6/site-packages/django/db/models/manager.py",
line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File
"/home/mshakeel/.local/lib/python3.6/site-packages/django/db/models/query.py",
line 384, in get
    (self.model._meta.object_name, num)
orm.models.MultipleObjectsReturned: get() returned more than one
Target_File -- it returned 2!

NOTE: No commit since BUILDHISTORY_COMMIT != '1'
NOTE: Build exited with errorcode 0
NOTE: ToasterUI build done, brbe: None
WARNING: Return value is 1

Any thoughts about this error? We are using mysql
(django.db.backends.mysql) for Toaster database.

Best Regards,
Shakeel
cooker.log (text/x-log, 12.9 KB)
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "i586-poky-linux"
MACHINE              = "qemux86"
DISTRO               = "poky"
DISTRO_VERSION       = "2.4.2"
TUNE_FEATURES        = "m32 i586"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "rocko:fdeecc901196bbccd7c5b1ea4268a2cf56764a62"

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/x86_64-linux/texinfo-dummy-native/1.0-r0/temp/log.do_fetch.20933
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/x86_64-linux/quilt-native/0.65-r0/temp/log.do_fetch.20932
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_fetch.20935
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_fetch.20938
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/x86_64-linux/texinfo-dummy-native/1.0-r0/temp/log.do_fetch.20933
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/x86_64-linux/gettext-minimal-native/0.19.8.1-r0/temp/log.do_fetch.20939
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/temp/log.do_fetch.20934
.
.
.
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/i586-poky-linux/shared-mime-info/1.8-r0/temp/log.do_package_write_rpm.24024
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/i586-poky-linux/glib-2.0/1_2.52.3-r0/temp/log.do_package_qa.24029
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/i586-poky-linux/glib-2.0/1_2.52.3-r0/temp/log.do_package_write_rpm.24025
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.24825
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.24825
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_qa.31001
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_qa.31001
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_write_qemuboot_conf.31002
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_write_qemuboot_conf.31002
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image.31009
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image.31009
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ext4.31089
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_tar.31090
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_tar.31090
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_ext4.31089
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_complete.31135
NOTE: Logfile for task /home/mshakeel/data/build-areas/build-area-rocko/build_test/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_complete.31135
NOTE: Tasks Summary: Attempted 2470 tasks of which 6 didn't need to be rerun and all succeeded.
WARNING: Could not add dependency to the package libc6 because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package libc6 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libc6 because libnsl.so.1 is an unknown package
WARNING: Could not add dependency to the package libc6 because libpthread.so.0 is an unknown package
WARNING: Could not add dependency to the package libc6 because libresolv.so.2 is an unknown package
WARNING: Could not add dependency to the package eudev because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package eudev because libblkid.so.1 is an unknown package
WARNING: Could not add dependency to the package eudev because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package eudev because libkmod.so.2 is an unknown package
WARNING: Could not add dependency to the package busybox because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package busybox because libm.so.6 is an unknown package
WARNING: Could not add dependency to the package libblkid1 because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package libblkid1 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libblkid1 because libuuid.so.1 is an unknown package
WARNING: Could not add dependency to the package sysvinit because initd-functions is an unknown package
WARNING: Could not add dependency to the package sysvinit because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package sysvinit because libutil.so.1 is an unknown package
WARNING: Could not add dependency to the package v86d because kernel-module-uvesafb is an unknown package
WARNING: Could not add dependency to the package v86d because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libz1 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libkmod2 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libkmod2 because libz.so.1 is an unknown package
WARNING: Could not add dependency to the package initscripts because initd-functions is an unknown package
WARNING: Could not add dependency to the package sysvinit-pidof because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libuuid1 because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package libuuid1 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package packagegroup-core-boot because udev is an unknown package
NOTE: We did not find one recipe for theconfiguration data package libc6 Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package eudev Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package busybox Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package libblkid1 Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package sysvinit Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package v86d Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package libz1 Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package libkmod2 Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package kernel-module-uvesafb-4.12.20-yocto-standard Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package initscripts Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package kernel-4.12.20-yocto-standard Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package netbase Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package sysvinit-pidof Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package libuuid1 Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package update-rc.d Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package update-alternatives-opkg Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package sysvinit-inittab Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package init-ifupdown Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package busybox-udhcpc Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package base-files Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package run-postinsts Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package initscripts-functions Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package busybox-syslog Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package busybox-hwclock Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package modutils-initscripts Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package packagegroup-core-boot Recipe matching query does not exist.
NOTE: We did not find one recipe for theconfiguration data package base-passwd Recipe matching query does not exist.
WARNING: Could not add dependency to the package libc6 because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package libc6 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libc6 because libnsl.so.1 is an unknown package
WARNING: Could not add dependency to the package libc6 because libpthread.so.0 is an unknown package
WARNING: Could not add dependency to the package libc6 because libresolv.so.2 is an unknown package
WARNING: Could not add dependency to the package eudev because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package eudev because libblkid.so.1 is an unknown package
WARNING: Could not add dependency to the package eudev because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package eudev because libkmod.so.2 is an unknown package
WARNING: Could not add dependency to the package busybox because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package busybox because libm.so.6 is an unknown package
WARNING: Could not add dependency to the package libblkid1 because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package libblkid1 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libblkid1 because libuuid.so.1 is an unknown package
WARNING: Could not add dependency to the package sysvinit because initd-functions is an unknown package
WARNING: Could not add dependency to the package sysvinit because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package sysvinit because libutil.so.1 is an unknown package
WARNING: Could not add dependency to the package v86d because kernel-module-uvesafb is an unknown package
WARNING: Could not add dependency to the package v86d because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libz1 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libkmod2 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libkmod2 because libz.so.1 is an unknown package
WARNING: Could not add dependency to the package initscripts because initd-functions is an unknown package
WARNING: Could not add dependency to the package sysvinit-pidof because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package libuuid1 because ld-linux.so.2 is an unknown package
WARNING: Could not add dependency to the package libuuid1 because libc.so.6 is an unknown package
WARNING: Could not add dependency to the package packagegroup-core-boot because udev is an unknown package
NOTE: No commit since BUILDHISTORY_COMMIT != '1'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.