Does core-image-minimal runs on Colibri IMX6

I’m trying to build a core-image-minimal for the colibri-imx6.

I’m using the following layers:

BBLAYERS ?= "
/media/harddisk1/dsg/meta
/media/harddisk1/dsg/meta-poky
/media/harddisk1/dsg/meta-yocto-bsp
/media/harddisk1/dsg/meta-toradex-bsp-common
/media/harddisk1/dsg/meta-toradex-nxp
/media/harddisk1/dsg/meta-freescale
/media/harddisk1/dsg/meta-freescale-3rdparty
"
This is the output from the build:

datawatt@O-LINUX-1:/media/harddisk1/dsg/build$ bitbake -k core-image-minimal
Loading cache: 100% |#########################################################################################################################################################################################################| Time: 0:00:00
Loaded 1477 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”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “colibri-imx6”
DISTRO = “poky”
DISTRO_VERSION = “2.2.2”
TUNE_FEATURES = “arm armv7a vfp thumb neon callconvention-hard cortexa9”
TARGET_FPU = “hard”
meta
meta-poky
meta-yocto-bsp = “morty:dc51e92b001bf6615f6836a8774bf3afb9ad449a”
meta-toradex-bsp-common = “morty:b128af95613557af8deaea30212e89e6316eab88”
meta-toradex-nxp = “morty:89a17628efef01fd5af202e88d79188df08f636f”
meta-freescale = “morty:fa774ad7fb797957601a8c9fee45af453fea34b7”
meta-freescale-3rdparty = “morty:1879485e63ce369292c89b5902ff6df13509090b”

Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Duplicate inclusion for /media/harddisk1/dsg/meta-toradex-bsp-common/conf/tdx_version.conf in /media/harddisk1/dsg/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2016.11.bbappend
ERROR: u-boot-toradex-2016.11-2.7.3-gitrf0e4149 do_package_write_rpm: Function failed: BUILDSPEC (log file is located at /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/temp/log.do_package_write_rpm.14884)
ERROR: Logfile of failure stored in: /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/temp/log.do_package_write_rpm.14884
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing python function do_package_write_rpm
| DEBUG: Executing python function read_subpackage_metadata
| DEBUG: Python function read_subpackage_metadata finished
| DEBUG: Executing python function do_package_rpm
| DEBUG: Executing python function write_specfile
| NOTE: Creating EMPTY RPM Package for u-boot-toradex-dbg
| NOTE: Not creating empty RPM package for u-boot-toradex-staticdev
| NOTE: Creating EMPTY RPM Package for u-boot-toradex-dev
| NOTE: Not creating empty RPM package for u-boot-toradex-doc
| NOTE: Not creating empty RPM package for u-boot-toradex-locale
| NOTE: Creating RPM package for u-boot-toradex
| NOTE: Creating RPM package for u-boot-toradex
| DEBUG: Python function write_specfile finished
| DEBUG: PKGWRITEDIR: /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/deploy-rpms/colibri_imx6
| DEBUG: Executing shell function BUILDSPEC
| error: line 4: invalid tag value(“[1]+$”) Release: Release: 2.7.3-gitrf0e4149
| error: Package has no %description: u-boot-toradex-2016.11.colibri_imx6
| Building target platforms: colibri_imx6-poky-linux-gnueabi
| WARNING: /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/temp/run.BUILDSPEC.14884:1 exit 1 from ‘rpmbuild --nodeps --short-circuit --target colibri_imx6-poky-linux-gnueabi --buildroot /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/package --define ‘_topdir /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149’ --define ‘_rpmdir /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/deploy-rpms/colibri_imx6’ --define ‘_builddir /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/git’ --define ‘_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm’ --define ‘_use_internal_dependency_generator 0’ --define ‘__find_requires %{nil}’ --define ‘__find_provides %{nil}’ --define ‘_unpackaged_files_terminate_build 0’ --define ‘debug_package %{nil}’ --define ‘_rpmfc_magic_path /media/harddisk1/dsg/build/tmp/sysroots/x86_64-linux/usr/share/misc/magic.mgc’ --define ‘_tmppath /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149’ -bb /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/u-boot-toradex.spec’
| DEBUG: Python function do_package_rpm finished
| DEBUG: Python function do_package_write_rpm finished
| ERROR: Function failed: BUILDSPEC (log file is located at /media/harddisk1/dsg/build/tmp/work/colibri_imx6-poky-linux-gnueabi/u-boot-toradex/2016.11-2.7.3-gitrf0e4149/temp/log.do_package_write_rpm.14884)
ERROR: Task (/media/harddisk1/dsg/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2016.11.bb:do_package_write_rpm) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 2067 tasks of which 2066 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/media/harddisk1/dsg/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2016.11.bb:do_package_write_rpm
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
datawatt@O-LINUX-1:/media/harddisk1/dsg/build$

What can I do to resolve the reported problem?


  1. A-Za-z0-9+._ ↩︎

Above answer solves this problem

Exactly. Thanks for letting us know.