Bug 13087

Summary: insane.bbclass: INSANE_SKIP does not work for pkgconfig check
Product: [Build System, Metadata & Runtime] OE-Core Reporter: yocto
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher
Version: 2.5.3   
Target Milestone: 2.7 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: Backport to 2.6.1, 2.5.3
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description yocto 2018-12-17 10:03:29 UTC
INSANE_SKIP_${PN} = "pkgconfig"
... does not work at all.

But to skip other checks with the INSANE_SKIP feature works well, for example:

INSANE_SKIP_{PN} = "ldflags"
... works as expected.

The documentation seems to express that the feature INSANE_SKIP_ can be applied to any check of the list given in the docs.

My workaround was to do:
ERROR_QA_remove = "pkgconfig"
But I think this workaround is more global than necessary, as skipping the check should only affect the single recipe.