Wind River Support Network

HomeDefectsLIN6-3559
Fixed

LIN6-3559 : WRL5: WR specific variable in local.c

Created: May 27, 2013    Updated: Mar 10, 2016
Resolved Date: Dec 10, 2013
Previous ID: LIN5-1021, LIN6-2897
Found In Version: 6.0
Fix Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

All variables in bitbake_build/conf/local.conf that specify paths should respect the ${TOPDIR} variable. The WR specific variable WRL_TOP_BUILD_DIR do not respect this and the build fails if the variable is used, example:

Steps to Reproduce

WRL_TOP_BUILD_DIR = "${TOPDIR}/.."

The build fails as such:

<snip>
$ bitbake wrlinux-image-glibc-small
Pseudo is not present but is required, building this first before the main build
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
ERROR: Unable to open configure logfile: ${TOPDIR}/../config.log: No such file or directory
ERROR: Unable to create new property file: ${TOPDIR}/../config.properties: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory       | ETA:  00:00:12
ERROR: Unab rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory
ERROR: Unable to rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory       | ETA:  00:00:11
ERROR: Unab rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory
ERROR: Unable to rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory
ERROR: Unable to rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory
ERROR: Unable to rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory       | ETA:  00:00:04
ERROR: Unable to rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory
ERROR: Unable to rename updated property files: None: No such file or directory
Parsing recipes: 100% |######################################################################################### ##| Time: 00:00:26
Parsing of 1079 .bb files complete (0 cached, 1079 parsed). 2486 targets, 99 skipped, 6 masked, 0 errors.
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory
ERROR: Unable to rename updated property files: None: No such file or directory
WARNING: Unable to open property file for update: ${TOPDIR}/../config.properties: No such file or directory
ERROR: Unable to rename updated property files: None: No such file or directory
NOTE: Populating toolchain links in /bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/toolchain.
NOTE: Toolchain binaries pattern: /bitbake_build/../layers/wr-toolchain/4.6a-99/bin/i686-wrs-linux-gnu*

OE Build Configuration:
BB_VERSION      &<) "1.17.1"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "intel-xeon-core"
DISTRO          & />DISTRO_VERSION    = "5.0.1.0"
TUNE_FEATURES   & = "m64"
TARGET_FPU        = ""
wrlinux           = "LB34_5.0.1_RCPL0002:17694414f62fe0cfd622e17c71660069db7c47c2"
wrlcompat         = "LB34_5.0.1_RCPL0002:2056e04ad7b3244b6aac963eb98757a0a1787a93"
wr-toolchain      = "LB34_5.0.1_RCPL0002:e0c8f4e4473876b87b1c4e4f7b08b80347750e85"
meta          &<) "LB34_5.0.1_RCPL0002:8d1f672fd4d4e6950b17c900541c7f639543443a"
oe-core-dl      
meta-downloads &nb "master:381815744a438b9b9c316c356967b55ee691540a"
wr-kernel         = "LB34_5.0.1_RCPL0002:6d141fdabe47a97058ad2cee153851c8421eee50"
intel-xeon-core   = "LB34_5.0.1_RCPL0002:4eff62a9b39cfd577a7308c88d47da65beb1a735"
wr-base           = "LB34_5.0.1_RCPL0002:820e49164179a3271d220321cc97bb11622faf31"
wr-features       = "LB34_5.0.1_RCPL0002:6d6e87eab12ec601446f1f237bbc4abebb05005e"
wr-tools-profile  = "LB34_5.0.1_RCPL0002:17eb3783c18d9ccd085af111d6e1bd4f0d5fb237"
wr-tools-debug    = "LB34_5.0.1_RCPL0002:3b3a69da539a44aac4c8de04845cb187ae74102b"
meta-networking   = "LB34_5.0.1_RCPL0002:b84a9eabc2cb81898b10e421149eb59b48788237"
meta-webserver    = "LB34_5.0.1_RCPL0002:6909cbf3d18a095fec986066c405cfab75edf1c4"
wr-prebuilts      = "master:381815744a438b9b9c316c356967b55ee691540a"
wr-intel-support  = "LB34_5.0.1_RCPL0002:765beca83f062fc7d71202881d9d19a5fd0bb8e8"
local          &< "master:a6ad54e42172dea849a71e887983d410be94ec4c"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 63 didn't need to be rerun and all succeeded.
No currently running tasks (2 of 9)

Summary: There were 10 WARNING messages shown.
Summary: There were 12 ERROR messages shown, returning a non-zero exit code.
</snip>

The build creates the dir bitbake_build\${TOPDIR} instead.

Other Downloads


Live chat
Online