Bug 3537

Summary: Backport adding ${PN}-staticdev to PACKAGES in distutils-common-base.bbclass
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Kartikmohta <kartikmohta>
Component: configurationAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: sgw
Version: 1.3   
Target Milestone: 1.3.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Kartikmohta 2012-12-05 06:12:14 UTC
While compiling python-numpy I got the following error:

ERROR: QA Issue: non -staticdev package contains static .a library: python-numpy path '/work/armv7ahf-vfp-neon-poky-linux-gnueabi/python-numpy-1.4.1-r4/packages-split/python-numpy/usr/lib/python2.7/site-packages/numpy/core/lib/libnpymath.a'
ERROR: QA run found fatal errors. Please consider fixing them.

This is due to the distutils-common-base.bbclass missing the staticdev package in the PACKAGES field. This has been fixed in the master branch (http://cgit.openembedded.org/openembedded-core/commit?id=0c4c3ebfedd06b2b8f36747bc0c0d986f05420cf), can it be ported back to the 1.3 (danny) branch?

My build configuration is as follows:
BB_VERSION        = "1.16.0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "omap3-multi"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "danny:24af2693697ac38070f9702a9e6c4527989379ba"
meta-oe           
meta-networking   
meta-systemd      = "danny:f8ad0760abf8055bac27036853c56f56b40a36c7"
Comment 1 Ross Burton 2012-12-06 13:02:51 UTC
Done in danny-next, will close when danny is pushed.
Comment 2 Ross Burton 2013-04-30 11:28:32 UTC
Merge into danny.