Skip to content

Instantly share code, notes, and snippets.

ERROR: cdrtools-native-3.01a31+really3.01-r0 do_compile: oe_runmake failed
ERROR: cdrtools-native-3.01a31+really3.01-r0 do_compile: Function failed: do_compile (log file is located at /home/ed/git/yocto/poky/build/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/log.do_compile.17739)
ERROR: Logfile of failure stored in: /home/ed/git/yocto/poky/build/tmp/work/x86_64-linux/cdrtools-native/3.01a31+really3.01-r0/temp/log.do_compile.17739
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 -e MAKEFLAGS=
| ERROR: oe_runmake failed
| RULES/rules.top:47: RULES/ldummy.lnk: No such file or directory
| W A R N I N G Messages like:
|
diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass
index ec6c14d..7f9c851 100644
--- a/meta/classes/image_types_wic.bbclass
+++ b/meta/classes/image_types_wic.bbclass
@@ -8,7 +8,7 @@ WICVARS ?= "\
WKS_FILE ??= "${IMAGE_BASENAME}.${MACHINE}.wks"
WKS_FILES ?= "${WKS_FILE} ${IMAGE_BASENAME}.wks"
WKS_SEARCH_PATH ?= "${THISDIR}:${@':'.join('%s/wic' % p for p in '${BBPATH}'.split(':'))}:${@':'.join('%s/scripts/lib/wic/canned-wks' % l for l in '${BBPATH}:${COREBASE}'.split(':'))}"
-WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), '${WKS_SEARCH_PATH}') or ''}"
+WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), d.getVar('WKS_SEARCH_PATH')) or ''}"
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index d2eb99d..bad60b4 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -251,7 +251,7 @@ IMAGE_TYPES = " \
# CONVERSION_CMD/DEPENDS.
COMPRESSIONTYPES ?= ""
-CONVERSIONTYPES = "gz bz2 lzma xz lz4 lzo zip sum md5sum sha1sum sha224sum sha256sum sha384sum sha512sum bmap ${COMPRESSIONTYPES}"
+CONVERSIONTYPES = "gz bz2 lzma xz lz4 lzo zip sum md5sum sha1sum sha224sum sha256sum sha384sum sha512sum bmap vmdk ${COMPRESSIONTYPES}"
diff --git a/meta/recipes-core/meta/wic-tools.bb b/meta/recipes-core/meta/wic-tools.bb
index 0a53b73..2713da6 100644
--- a/meta/recipes-core/meta/wic-tools.bb
+++ b/meta/recipes-core/meta/wic-tools.bb
@@ -17,7 +17,7 @@ python do_build_sysroot () {
outdir = os.path.join(d.getVar('STAGING_DIR'), 'imgdata')
bb.utils.mkdirhier(outdir)
with open(os.path.join(outdir, "wic-tools.env"), 'w') as envf:
- for var in ('RECIPE_SYSROOT_NATIVE', 'STAGING_DATADIR', 'STAGING_LIBDIR'):
+ for var in ('RECIPE_SYSROOT_NATIVE', 'STAGING_DATADIR'):
diff --git a/meta/recipes-core/meta/wic-tools.bb b/meta/recipes-core/meta/wic-tools.bb
index 325179f..404507c 100644
--- a/meta/recipes-core/meta/wic-tools.bb
+++ b/meta/recipes-core/meta/wic-tools.bb
@@ -13,3 +13,15 @@ python do_build_sysroot () {
bb.build.exec_func("extend_recipe_sysroot", d)
}
addtask do_build_sysroot after do_prepare_recipe_sysroot before do_build
+
+#
[ed@vmed build (test)]$ wic create directdisk -e core-image-minimal
Checking basic build environment...
Done.
Build artifacts not found, exiting.
(Please check that the build artifacts for the machine
selected in local.conf actually exist and that they
are the correct artifacts for the image (.wks file)).
The artifact that couldn't be found was native-sysroot:
[ed@vmed build (test)]$ bitbake core-image-minimal
Parsing recipes: 100% |###############################################################################################################################################| Time: 0:00:11
Parsing of 867 .bb files complete (0 cached, 867 parsed). 1324 targets, 52 skipped, 0 masked, 0 errors.
NOTE: There are 4 recipes to be removed from sysroot x86_64, removing...
NOTE: There are 7 recipes to be removed from sysroot core2-64, removing...
NOTE: There are 7 recipes to be removed from sysroot qemux86-64, removing...
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
[ed@3481c3528dd9 poky_sdk]$ BB_SETSCENE_ENFORCE=1 bitbake core-image-minimal -g
Loading cache: 100% |###########################################################################################################################| Time: 0:00:00
Loaded 1305 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: PN build list saved to 'pn-buildlist'
NOTE: PN dependencies saved to 'pn-depends.dot'
NOTE: Package dependencies saved to 'package-depends.dot'
NOTE: Task dependencies saved to 'task-depends.dot'
[ed@3481c3528dd9 poky_sdk]$ grep kmod task-depends.dot |grep do_package
"eudev.do_build" -> "kmod.do_package_write_rpm"
$ runqemu ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic ovmf
runqemu - INFO - CONFFILE: /home/ed/git/yocto/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.qemuboot.conf
Traceback (most recent call last):
File "/home/ed/git/yocto/poky/scripts/runqemu", line 1073, in <module>
ret = main()
File "/home/ed/git/yocto/poky/scripts/runqemu", line 1061, in main
config.check_and_set()
File "/home/ed/git/yocto/poky/scripts/runqemu", line 588, in check_and_set
self.check_ovmf()
File "/home/ed/git/yocto/poky/scripts/runqemu", line 496, in check_ovmf
$ bitbake core-image-minimal
Loading cache: 100% |#################################################################################################################################################| Time: 0:00:00
Loaded 1319 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal-4.8"
TARGET_SYS = "x86_64-poky-linux"