AnsweredAssumed Answered

Yocto Pyro Fails to build

Question asked by Richard Copeman on Jul 15, 2019
Latest reply on Sep 2, 2019 by gusarambula

Hi,

 

I have Ubuntu 18.04.2 LTS. I have installed Yocto Pyro. I can get it to build for my iMX SabreLite OK and now I need to build an SDCard image for my Vybrid TWR-VF65GS10 system. I do:

 

cd fsl

MACHINE=twr-vf65gs10 DISTRO=poky source setup-environment build

bitbake core-image-minimal

 

After many tens of minutes I get:

 

lauterbach@ARMDEV:~/fsl/build$ bitbake core-image-minimal
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
WARNING: /home/lauterbach/fsl/sources/meta-freescale/recipes-kernel/linux/linux-fslc_4.4.bb: Unable to get checksum for linux-fslc SRC_URI entry defconfig: file could not be found
Parsing recipes: 100% |##########################################| Time: 0:01:27
Parsing of 1709 .bb files complete (0 cached, 1709 parsed). 2330 targets, 279 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.34.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "twr-vf65gs10"
DISTRO = "poky"
DISTRO_VERSION = "2.3.4"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa5"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:773e56f0e55760bea9cb79390441145f7953d1a7"
meta-oe
meta-multimedia = "HEAD:9eaebc6e783f1394bb5444326cd05a976b3122e9"
meta-freescale = "HEAD:6a67da402526452c029bcc95548385d93f44ddd1"
meta-freescale-3rdparty = "HEAD:04a0a433647fe209a8fe3cf99ebad023b1d4b744"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"

Initialising tasks: 100% |#######################################| Time: 0:00:03
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: core-image-minimal-1.0-r0 do_image_complete: 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:write_deploy_manifest(d)
0003:
File: '/home/lauterbach/fsl/sources/poky/meta/classes/license.bbclass', lineno: 33, function: write_deploy_manifest
0029: 'w+').write(output)
0030:}
0031:
0032:python write_deploy_manifest() {
*** 0033: license_deployed_manifest(d)
0034:}
0035:
0036:python license_create_manifest() {
0037: import oe.packagedata
File: '/home/lauterbach/fsl/sources/poky/meta/classes/license.bbclass', lineno: 192, function: license_deployed_manifest
0188: man_dic[dep]["IMAGE_MANIFEST"] = True
0189: man_dic[dep]["PN"] = dep
0190: man_dic[dep]["FILES"] = \
0191: " ".join(get_deployed_files(dep_dic[dep]))
*** 0192: with open(os.path.join(lic_dir, dep, "recipeinfo"), "r") as f:
0193: for line in f.readlines():
0194: key,val = line.split(": ", 1)
0195: man_dic[dep][key] = val[:-1]
0196:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/lauterbach/fsl/build/tmp/deploy/licenses/u-boot-fslc/recipeinfo'

ERROR: core-image-minimal-1.0-r0 do_image_complete: Function failed: write_deploy_manifest
ERROR: Logfile of failure stored in: /home/lauterbach/fsl/build/tmp/work/twr_vf65gs10-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_complete.5451
ERROR: Task (/home/lauterbach/fsl/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_complete) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2149 tasks of which 2146 didn't need to be rerun and 1 failed.

 

To me it looks like a couple of issues:

 

1) A missing defconfig file (/home/lauterbach/fsl/sources/meta-freescale/recipes-kernel/linux/linux-fslc_4.4.bb: Unable to get checksum for linux-fslc SRC_URI entry defconfig: file could not be found)

2) Inability to build the boot loader (Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/lauterbach/fsl/build/tmp/deploy/licenses/u-boot-fslc/recipeinfo')

 

Can somebody point me at some info on how to fix these?

Am I missing any parts that should have been included when I cloned the pyro repo? The same repo builds for my iMX6 without any issues using the same steps (just swap nitrogen6x for twr-vf65gs10).

 

Thanks,

 

Richard

Outcomes