Fixed
Created: Aug 12, 2014
Updated: Dec 3, 2018
Resolved Date: Aug 22, 2014
Found In Version: 6.0
Fix Version: 6.0.0.11
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
Host OS: Linux 64
Architecture: All
When building the OVP product's SDK, which is based on WR Linux 6.0 the "Google Protocol Buffers" package development libraries aren't being added. This was determined to be due to failure of the smart package manager due to an unrelated dependency.
OVP SDK includes the "linux-firmware" package, which can't resolve all it's dependencies. This is causing smart to not continue when processing the rest of the list when trying to add them with the "--attempt-only" flag is specified. The flag is added to the smart package manager via a patch. This failure is causing other packages to not be included in the SDK, without any messages being returned to the screen this is resulting in a bad SDK image for the customer.
Add:
PACKAGE_EXCLUDE = "linux-firmware"
to "bitbake_build/conf/local.conf", and rebuild the SDK image.
1. configure OVP project using the following options:
[path-to-checkout]wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=preempt-rt --enable-rootfs=ovp-kvm --enable-addons=wr-ovp --enable-parallel-pkgbuilds=4 --enable-jobs=4 --with-package=protobuf-c --enable-internet-download=yes
2. build the project and export SDK
make fs
make export-sdk
3. install the SDK
export/*.sh
4. search for the header files)
find . -name "*protobuf*"
(you will see no header files in the SDK for Google Protocol Buffers)