Yocto Pyro Fails to build

cancel
Showing results for 
Search instead for 
Did you mean: 

Yocto Pyro Fails to build

1,158 Views
richardcopeman
Contributor II

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

Labels (2)
0 Kudos
4 Replies

552 Views
810019756
Contributor I

hi Richard Copeman 

 I have met the same problem, and have you solved the problem?

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/maxuebin/TOP_DIR/SW_Packages/Yocto_TSN/sources/core/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/maxuebin/TOP_DIR/SW_Packages/Yocto_TSN/sources/core/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/maxuebin/TOP_DIR/SW_Packages/Yocto_TSN/build/tmp/deploy/licenses/fsbl/recipeinfo'

ERROR: core-image-minimal-1.0-r0 do_image_complete: Function failed: write_deploy_manifest
ERROR: Logfile of failure stored in: /home/maxuebin/TOP_DIR/SW_Packages/Yocto_TSN/build/tmp/work/zcu102_zynqmp-xilinx-linux/core-image-minimal/1.0-r0/temp/log.do_image_complete.70179
ERROR: Task (/home/maxuebin/TOP_DIR/SW_Packages/Yocto_TSN/sources/core/meta/recipes-core/images/core-image-minimal.bb:do_image_complete) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2905 tasks of which 2904 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/maxuebin/TOP_DIR/SW_Packages/Yocto_TSN/sources/core/meta/recipes-core/images/core-image-minimal.bb:do_image_complete
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 Kudos

552 Views
brian_stark
Contributor I

I have a similar issue with Ubuntu 18.04, I am trying to build for a t1040d4rdb:  If this Linux distribution is not supported where is the list of supported distributions?

viking@viking-X10DRH:~/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb$ bitbake fsl-image-full
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.
Parsing recipes: 100% |########################################| Time: 00:00:20
Parsing of 2698 .bb files complete (0 cached, 2698 parsed). 3387 targets, 249 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-18.04"
TARGET_SYS = "powerpc-fsl-linux"
MACHINE = "t1040d4rdb"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "2.0"
TUNE_FEATURES = "m32 fpu-hard e5500"
TARGET_FPU = "hard"
meta
meta-yocto
meta-yocto-bsp = "HEAD:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b"
meta-oe
meta-multimedia
meta-gnome
meta-networking
meta-perl
meta-python
meta-ruby
meta-filesystems
meta-webserver
meta-xfce = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
meta-freescale = "HEAD:7facbdb726e2dda0515e084c2066a4b8dd99c6d2"
meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810"
meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985"
meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5"
meta-java = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d"
meta-openstack
meta-openstack-aio-deploy
meta-openstack-compute-deploy
meta-openstack-compute-test-config
meta-openstack-controller-deploy
meta-openstack-controller-test-config
meta-openstack-qemu
meta-openstack-swift-deploy
meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb"
meta-security = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777"
meta-nxp-npi-1703 = "jethro-sdk-v2.0-ga-17.03:d8f8d3a5d3ee18f881466938b847cef9b08c4a35"

NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 2334 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.

ERROR: Logfile of failure stored in: /home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/temp/log.do_unpack.8179
Log data follows:
| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| DEBUG: Running export SSH_AGENT_PID="1758"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts/native-intercept:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/viking"; git -c core.fsyncobjectfiles=0 clone -s -n /home/viking/QorIQ-SDK-V2.0-20160527-yocto/downloads/git2/git.sv.gnu.org.config.git/ /home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/git/
| DEBUG: Running export SSH_AGENT_PID="1758"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts/native-intercept:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/viking"; git -c core.fsyncobjectfiles=0 remote set-url origin git://git.sv.gnu.org/config.git
| DEBUG: Running export SSH_AGENT_PID="1758"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts/native-intercept:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/viking"; git -c core.fsyncobjectfiles=0 checkout -B master b576fa87c140b824466ef1638e945e87dc5c0343
| DEBUG: Running export SSH_AGENT_PID="1758"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts/native-intercept:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/sbin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/build_t1040d4rdb/tmp/sysroots/x86_64-linux/bin:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/viking/NXP/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/viking"; git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
|
ERROR: Task 576 (virtual:native:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 11 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
virtual:native:/home/viking/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb, do_unpack
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

0 Kudos

552 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Brian Stark,


The recommended Ubuntu Version for NXP Releases is Ubuntu 16.04, you can see this on the Release Notes for the BSP you are using.


In this case I would recommend reviewing the documentation for the BSP from Timesys although chances are 16.04 should be fine.


Regards,

0 Kudos

552 Views
gusarambula
NXP TechSupport
NXP TechSupport

timesyssupport‌, would you please help us review this case?

Regards,

0 Kudos