Wind River Support Network

HomeDefectsLIN9-5828
Fixed

LIN9-5828 : variable_appends needs to have space before the added content

Created: Nov 17, 2017    Updated: Dec 3, 2018
Resolved Date: Nov 29, 2017
Found In Version: 9.0.0.11
Fix Version: 9.0.0.13
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Build & Config

Description

Building a x86 platform, I get a build error like :

ERROR: gnu-efi-3.0.4-r0 do_fetch: Fetcher failure: Unable to find file file://0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patchfile://disable-ms-abi.patch anywhere. 

we can see the two additions to SRC_URI clatching, there is no space between the two file://... additions.
the last part comes from 

[phallsma@arn-build3 layers]$ cat ./wr-kernel/recipes-bsp/gnu-efi/gnu-efi_%.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI_append = "file://disable-ms-abi.patch"

BBCLASSEXTEND = "native"
[phallsma@arn-build3 layers]$ 

we should fix this either by change = to += OR add a space before file://disable...
(this is described in yocto mega manual)

We should probably have a QA step as of :

[phallsma@arn-build3 build]$ find layers -name "*.bbappend" -exec grep _append {} \; | grep \"\file | grep -v +=
SRC_URI_append = "file://disable-ms-abi.patch"
SRC_URI_append_intel-x86-common = "file://0001-Add-GUID-for-SMBIOS-3-entry-point-structure.patch"
[phallsma@arn-build3 build]$ 

which should generate a empty list.
The second one in list above is an error in a additional layer not from wrlinux product, but the first one we are guilty of.

Steps to Reproduce

Build a platform where the build order is so that something 

Other Downloads


Live chat
Online