Wind River Support Network

HomeDefectsOVP-1764
Fixed

OVP-1764 : FILESEXTRAPATHS-variable, must always use _prepend (or _append) type of assignment.

Created: Apr 4, 2014    Updated: Mar 11, 2016
Resolved Date: Apr 24, 2014
Found In Version: 5.0.1.12
Fix Version: 5.0.1.14,6.0
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

There are WR bbappends that sets the variable FILESEXTRAPATHS-variable in a wrong way.

Wrong: FILESEXTRAPATHS := "${THISDIR}/${PN}:"

It works as long as no other does the same.

ALL WR settings should use:
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
or
FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"

In RCPL.12 there exists at least one faulty file in the OVP layers. "When rcpl12 was introduced, the ovp-layer had added a bbappend for ntp which also used the wrong way."

ALL instances of the wrong usage of variable setting should be replaced!
For the general LIN5 issues, see LIN5-18451.

As examples:
A simple find/grep in the layers-dir of a OVP build-dir will output
this (rcpl12):

  > find ../layers/wr* -name '*.bbappend' -exec grep -H
"FILESEXTRAPATHS :=" \{} \;

  ../layers/wr-ovp/ovp/base/recipes-dpdk/dpdk/dpdk_1.5.0-12.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/files:${THISDIR}/dpdk_1.5.0:"
  ../layers/wr-ovp/ovp/base/recipes-support/ntp/ntp_4.2.6p5.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/${PN}:"
  ../layers/wr-ovp/ovp/base/recipes-connectivity/iproute/iproute2_3.5.1.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/files:"
  ../layers/wr-ovp/ovp/base/recipes-quickassist/intel-qat/qat_1.3.0-68.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/${PN}:"
  ../layers/wr-ovp/ovp/base/recipes-extended/php/modphp_5.3.14.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/${PN}:"
  ../layers/wr-ovp/ovp/base/recipes-extended/irqbalance/irqbalance_1.0.6.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/${PN}:"
  ../layers/wr-ovp/ovp/base/recipes-extended/libvirt/libvirt_1.1.2.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/files:"
  ../layers/wr-ovp/ovp/base/recipes-kernel/linux/linux-windriver_3.4.bbappend:FILESEXTRAPATHS
:= "${EXTRA_KERNEL_FILES}:${THISDIR}/${PN}:"
  ../layers/wr-ovp/ovp/base/recipes-devtools/qemu/qemu_1.3.0.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/${PN}:"
  ../layers/wr-ovp/ovp/base/recipes-devtools/qemu/qemu_1.7.0.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/${PN}-${PV}"
  ../layers/wr-ovp/ovp/tools/recipes-kernel/linux/linux-windriver_3.4.bbappend:FILESEXTRAPATHS
:= "${THISDIR}/${PN}:" 

Steps to Reproduce

:
Have two or more BB appends files that sets the variable using the template:
FILESEXTRAPATHS := "${THISDIR}/${PN}:"

As one example, one WR layer, and one in a customer layer.

Now bitbake will start loosing files, and failing the build. 

Other Downloads


Live chat
Online