### Shell environment set up for builds. ### You can now run 'bitbake <target>' Common targets are: core-image-minimal core-image-sato meta-toolchain meta-ide-support You can also run generated qemu images with a command like 'runqemu qemux86' NOTE: Started PRServer with DBfile: /home/ab/yocto-worker01/nightly-wic/build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 37847, PID: 6058 Parsing recipes...WARNING: /home/ab/yocto-worker01/nightly-wic/build/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb: The meta-qt4 layer should be added, this layer provides Qt 4.x libraries. Its intended use is for passing LSB tests as Qt4 is a requirement for LSB. WARNING: /home/ab/yocto-worker01/nightly-wic/build/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb: The meta-qt4 layer should be added, this layer provides Qt 4.x libraries. Its intended use is for passing LSB tests as Qt4 is a requirement for LSB. done. ERROR: Nothing PROVIDES 'wic-tools'. Close matches: i2c-tools kexec-tools Parsing of 864 .bb files complete (0 cached, 864 parsed). 1320 targets, 47 skipped, 0 masked, 0 errors. Summary: There were 2 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. It appears that in 2.2 (morty) - https://layers.openembedded.org/layerindex/recipe/59615/ is not found in build/meta/recipes-core/meta/wic-tools.bb Some experiment is done to include wic-tools (pyro) into 2.2 (morty) ~/yocto-worker01/nightly-wic/build/build$ bitbake wic-tools NOTE: Started PRServer with DBfile: /home/ab/yocto-worker01/nightly-wic/build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 40517, PID: 8426 Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00 Loaded 1320 entries from dependency cache. Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:00 Parsing of 865 .bb files complete (864 cached, 1 parsed). 1321 targets, 48 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky-lsb" DISTRO_VERSION = "2.2.4" TUNE_FEATURES = "m64 core2" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "morty:df76669bdd70aa0d903c4211dde731221c7e756d" Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:01 Checking sstate mirror object availability: 100% |###########################################################################################################################################| Time: 0:00:01 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: wic-tools-1.0-r0 do_build_sysroot: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:do_build_sysroot(d) 0003: File: '/home/ab/yocto-worker01/nightly-wic/build/meta/recipes-core/meta/wic-tools.bb', lineno: 24, function: do_build_sysroot 0020:# be removed before wic has a chance to use it, hence the exclusion below. 0021:RM_WORK_EXCLUDE += "${PN}" 0022: 0023:python do_build_sysroot () { *** 0024: bb.build.exec_func("extend_recipe_sysroot", d) 0025:} 0026:addtask do_build_sysroot after do_prepare_recipe_sysroot before do_build File: '/home/ab/yocto-worker01/nightly-wic/build/bitbake/lib/bb/build.py', lineno: 198, function: exec_func 0194: except: 0195: oldcwd = None 0196: 0197: flags = d.getVarFlags(func) *** 0198: cleandirs = flags.get('cleandirs') 0199: if cleandirs: 0200: for cdir in d.expand(cleandirs).split(): 0201: bb.utils.remove(cdir, True) 0202: bb.utils.mkdirhier(cdir) Exception: AttributeError: 'NoneType' object has no attribute 'get' ERROR: wic-tools-1.0-r0 do_build_sysroot: Function failed: do_build_sysroot ERROR: Logfile of failure stored in: /home/ab/yocto-worker01/nightly-wic/build/build/tmp/work/core2-64-poky-linux/wic-tools/1.0-r0/temp/log.do_build_sysroot.29826 ERROR: Task (/home/ab/yocto-worker01/nightly-wic/build/meta/recipes-core/meta/wic-tools.bb:do_build_sysroot) failed with exit code '1' NOTE: Tasks Summary: Attempted 621 tasks of which 456 didn't need to be rerun and 1 failed. NOTE: The errors for this build are stored in /home/ab/yocto-worker01/nightly-wic/build/build/tmp/log/error-report/error_report_20180702093606.txt You can send the errors to a reports server by running: send-error-report /home/ab/yocto-worker01/nightly-wic/build/build/tmp/log/error-report/error_report_20180702093606.txt [-s server] NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending. Summary: 1 task failed: /home/ab/yocto-worker01/nightly-wic/build/meta/recipes-core/meta/wic-tools.bb:do_build_sysroot Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Morty didn't include wic-tools, I think previously we used to have to build the components manually, e.g.: bitbake parted-native syslinux-native gptfdisk-native dosfstools-native mtools-native bmap-tools-native grub-efi-native cdrtools-native syslinux grub-efi For example the automated tests changes can be seen here: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a79b32c75af78c602d1822dc2d60f24b74fc549c You can't copy in the recipe from pyro since pyro uses recipe specific sysroots and functions very differently to morty so the recipe will be incompatible. I'd suggest just building the dependencies manually as above.
As Richard explained above this is expected (if not desirable) behaviour. Closing.