Bug 8708

Summary: WARNING: QA Issue: found library in wrong location
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Juro Bystricky <juro.bystricky>
Component: coreAssignee: Ross Burton <ross.burton>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, richard.purdie
Version: 2.0   
Target Milestone: 2.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
patch to prevent false positive QA warnings when installing libraries into libexec. none

Description Juro Bystricky 2015-11-20 23:03:21 UTC
Created attachment 2859 [details]
patch to prevent false positive QA warnings when installing libraries into libexec.

Installing libraries into can issue multiple warnings such as:

WARNING: QA Issue: gcc-cross-canadian-i586: found library in wrong location: /opt/poky/2.0/sysroots/i686-pokysdk-linux/usr/libexec/i586-poky-elf/gcc/i586-poky-elf/4.9.3/liblto_plugin.so

[libdir]

These are false positive warning, which can be disabled via

INSANE_SKIP_${PN} = "libdir"

However, this would disable also any legitimate warnings.
Instead, insane.bbclass should be updated to detect such situation and
omit the QA warning.

I attached a simple patch that fixes this, but it may not be the best solution.
Comment 1 Ross Burton 2015-11-26 15:38:48 UTC
Can you send the patch to the list?
Comment 2 Ross Burton 2015-12-08 10:54:53 UTC
Submitted to the list.
Comment 3 Ross Burton 2016-01-12 20:43:13 UTC
Fixed in oe-core 9f5ad12a9532687a7a82e24b7c4506cabc13bba2.
Comment 4 Bogdan Alexandru Voiculescu 2016-01-21 08:50:42 UTC
Verified on master a2f23fa62858b89850aab339ddec16dcf6026b37