Wind River Support Network

HomeDefectsLIN8-7601
Fixed

LIN8-7601 : Warnings when adding "nativesdk-libcap" to SDK

Created: Sep 12, 2017    Updated: Dec 3, 2018
Resolved Date: Sep 18, 2017
Found In Version: 8.0.0.20
Fix Version: 8.0.0.22
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Build & Config

Description

When trying to use "capabilities" functions within the SDK it will display these warnings with "make export-sdk"

WARNING: QA Issue: nativesdk-libpam: Files/directories were installed but not shipped in any package:
  /var
  /var/run
  /var/run/console
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nativesdk-libpam: 3 installed and not shipped files. [installed-vs-shipped]
WARNING: coreutils: alternative target (/opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/base64.1 or /opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/base64.1.coreutils) does not exist, skipping...
WARNING: coreutils: alternative target (/opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/mktemp.1 or /opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/mktemp.1.coreutils) does not exist, skipping...
WARNING: coreutils: alternative target (/opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/df.1 or /opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/df.1.coreutils) does not exist, skipping...
WARNING: coreutils: alternative target (/opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/lbracket.1 or /opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/lbracket.1.coreutils) does not exist, skipping...
WARNING: coreutils: alternative target (/opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/groups.1 or /opt/windriver/wrlinux-small/8.0-mxeiii/sysroots/x86_64-wrlinuxsdk-linux/usr/share/man/man1/groups.1.coreutils) does not exist, skipping...

(...full log attached...)

Steps to Reproduce

1) Create a Linux 8 project with these parameters: 

--enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-small --enable-reconfig --enable-rm-oldimgs=yes --enable-internet-download=yes --with-rcpl-version=0020

2) Add this variable to local.conf

TOOLCHAIN_HOST_TASK_append = "nativesdk-libcap nativesdk-libcap-bin" 

3) Export the sdk (make export-sdk)

---- The warnings should appear here ----

4) Source the SDK

5) Functions like "setcap" should be available from the SDK (you can try using which command)

Other Downloads


Live chat
Online