Wind River Support Network

HomeDefectsLIN6-10992
Fixed

LIN6-10992 : CLONE - nativesdk-libxml2 building warnings with host python-dev

Created: Mar 10, 2016    Updated: Dec 3, 2018
Resolved Date: Mar 10, 2016
Previous ID: LIN5-21256
Found In Version: 6.0.0.27
Fix Version: 6.0.0.29
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

WARNING: QA Issue: nativesdk-libxml2: Files/directories were installed but not shipped
  /buildarea
  /buildarea/raid0
  /buildarea/raid0
  /buildarea/raid0/qemux86-64_6.0
  /buildarea/raid0/qemux86-64_6.0/bitbake_build
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages/drv_libxml2.py
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages/libxml2.py
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages/libxml2mod.so
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages/libxml2mod.la
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages/libxml2mod.a
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages/.debug
  /buildarea/raid0/qemux86-64_6.0/bitbake_build/tmp/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python2.7/site-packages/.debug/libxml2mod.so

Steps to Reproduce

Set your $WORK to your workspace, set ${WRL_INSTALL} to your product installation directory and then run the following script:
-----------------
#!/bin/bash
mkdir ${WORK}/prj
cd ${WORK}/prj

${WRL_INSTALL}/wrlinux-5/wrlinux/configure \
--enable-parallel-pkgbuilds=10 \
--enable-jobs=10 \
--enable-board=intel-atom \
--enable-build=production \
--enable-ccache=yes \
--with-ccache-dir=${WORK}/GCC_CACHE \
--with-sstate-dir=${WORK}/SSTATE \
--enable-kernel=preempt-rt \
--enable-rootfs=glibc-core \
--enable-buildhist=yes \
--enable-reconfig \
--with-rcpl-version=0026
cd build
make libxml2-nativesdk.compile
-----------------
If you run this build script on a host without libpython2.7-dev installed, then no failure would be seen (as expected).
However if you install the host package in question
$ sudo apt-get install python2.7-dev
and then try to re-run the script, then it would fail at the configure stage:

Summary: 1 task failed:
virtual:nativesdk:Lx5/prj/layers/oe-core/meta/recipes-core/libxml/libxml2_2.7.8.bb, do_configure 

Other Downloads


Live chat
Online