Bug 8708 - WARNING: QA Issue: found library in wrong location
Summary: WARNING: QA Issue: found library in wrong location
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1
Assignee: Ross Burton
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-20 23:03 UTC by Juro Bystricky
Modified: 2016-01-21 08:50 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
patch to prevent false positive QA warnings when installing libraries into libexec. (1.09 KB, patch)
2015-11-20 23:03 UTC, Juro Bystricky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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