This is a cache of https://discuss.96boards.org/t/thor96-build-yocto-image-issues/9984. It is a snapshot of the page at 2020-06-02T00:03:16.902+0000.
<strong>thor96</strong> build Yocto Image issues - Products Support - 96Boards Forum

thor96 build Yocto Image issues

We are trying to build Yocto Image according steps in “Firmware User Manual iMX8M thor96 Reference Design, prodV2.3" but we run into some errors.

1. ERROR: OE-core’s config sanity checker detected a potential misconfiguration.
solved by adding blank sanity.conf file
log:
framos@dev-arm08:/opt/dev2/thor96-yocto-bsp$ EULA=1 MACHINE=imx8mqthor96 DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b bld-xwayland-thor96

Build directory is bld-xwayland-thor96

Welcome to Freescale Community BSP

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 can now run 'bitbake ’

Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

Your configuration files at bld-xwayland-thor96 have not been touched.
BSPDIR=
BUILD_DIR=.
meta-freescale directory found
framos@dev-arm08:/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96$ bitbake fsl-image-qt5
NOTE: Your conf/bblayers.conf has been automatically updated.
ERROR: OE-core’s config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
Please ensure your host's network is configured correctly,
or set BB_NO_NETWORK = "1" to disable network access if
all required sources are on local disk.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
framos@dev-arm08:/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96$ touch conf/sanity.conf

2. ERROR: Function failed: do_compile (log file is located at /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/temp/log.do_compile.19948)
log:
| * Building object_tracker.cpp
| Error: Could not find vk_validation_error_messages.h
| [38/80] /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DAPI_NAME=“Vulkan” -DFALLBACK_CONFIG_DIRS="/etc/xdg" -DFALLBACK_DATA_DIRS="/usr/local/share:/usr/share" -DSYSCONFDIR="/etc" -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_WAYLAND_KHX -DVkLayer_object_tracker_EXPORTS -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot/usr/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/loader -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/include/vulkan -Ilayers -I. --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0=/usr/src/debug/vulkan/1.0.65.2-r0 -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot= -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0 -std=c++11 -fno-rtti -fvisibility=hidden -Wpointer-arith -Wno-unused-function -Wno-sign-compare -fPIC -MD -MT layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker_utils.cpp.o -MF layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker_utils.cpp.o.d -o layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker_utils.cpp.o -c /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/object_tracker_utils.cpp
| [39/80] /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DAPI_NAME=“Vulkan” -DFALLBACK_CONFIG_DIRS="/etc/xdg" -DFALLBACK_DATA_DIRS="/usr/local/share:/usr/share" -DSYSCONFDIR="/etc" -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_WAYLAND_KHX -DVkLayer_object_tracker_EXPORTS -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot/usr/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/loader -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/include/vulkan -Ilayers -I. --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0=/usr/src/debug/vulkan/1.0.65.2-r0 -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot= -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0 -std=c++11 -fno-rtti -fvisibility=hidden -Wpointer-arith -Wno-unused-function -Wno-sign-compare -fPIC -MD -MT layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker.cpp.o -MF layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker.cpp.o.d -o layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker.cpp.o -c layers/object_tracker.cpp
| FAILED: layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker.cpp.o
| /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DAPI_NAME=“Vulkan” -DFALLBACK_CONFIG_DIRS="/etc/xdg" -DFALLBACK_DATA_DIRS="/usr/local/share:/usr/share" -DSYSCONFDIR="/etc" -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_WAYLAND_KHX -DVkLayer_object_tracker_EXPORTS -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot/usr/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/loader -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/include/vulkan -Ilayers -I. --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0=/usr/src/debug/vulkan/1.0.65.2-r0 -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot= -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0 -std=c++11 -fno-rtti -fvisibility=hidden -Wpointer-arith -Wno-unused-function -Wno-sign-compare -fPIC -MD -MT layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker.cpp.o -MF layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker.cpp.o.d -o layers/CMakeFiles/VkLayer_object_tracker.dir/object_tracker.cpp.o -c layers/object_tracker.cpp
| aarch64-poky-linux-g++: error: layers/object_tracker.cpp: No such file or directory
| aarch64-poky-linux-g++: fatal error: no input files
| compilation terminated.
| [40/80] /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DAPI_NAME=“Vulkan” -DFALLBACK_CONFIG_DIRS="/etc/xdg" -DFALLBACK_DATA_DIRS="/usr/local/share:/usr/share" -DSYSCONFDIR="/etc" -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_WAYLAND_KHX -DVkLayer_core_validation_EXPORTS -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot/usr/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/include -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/loader -I/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/…/include/vulkan -Ilayers -I. --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0=/usr/src/debug/vulkan/1.0.65.2-r0 -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot= -fdebug-prefix-map=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden --sysroot=/opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/recipe-sysroot -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fno-builtin-memcmp -Wimplicit-fallthrough=0 -std=c++11 -fno-rtti -fvisibility=hidden -Wpointer-arith -Wno-unused-function -Wno-sign-compare -fPIC -MD -MT layers/CMakeFiles/VkLayer_core_validation.dir/core_validation.cpp.o -MF layers/CMakeFiles/VkLayer_core_validation.dir/core_validation.cpp.o.d -o layers/CMakeFiles/VkLayer_core_validation.dir/core_validation.cpp.o -c /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/git/layers/core_validation.cpp
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /opt/dev2/thor96-yocto-bsp/bld-xwayland-thor96/tmp/work/aarch64-mx8m-poky-linux/vulkan/1.0.65.2-r0/temp/log.do_compile.19948)
ERROR: Task (/opt/dev2/thor96-yocto-bsp/sources/poky/meta/recipes-graphics/vulkan/vulkan_1.0.65.2.bb:do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 2605 tasks of which 0 didn’t need to be rerun and 1 failed.