Bug 3307

Summary: Cannot disable "already stripped" warning
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.3   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
See Also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3190
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Ross Burton 2012-10-18 16:19:02 UTC
When building a package generally containing pre-stripped binaries, you'll get this warning:

WARNING: File '/usr/lib/libpvr2d.so' from cdv-pvr-driver was already stripped, this will prevent future debugging!

It should be possible to skip this warning as it's entirely expected when the package is a closed-source blob.
Comment 1 Robert Yang 2012-10-22 03:25:59 UTC
I think that add this to the recipe would fix the problem.

INHIBIT_PACKAGE_STRIP = "1"
Comment 2 Ross Burton 2012-10-26 13:03:58 UTC
Yes, that works.

Would it make sense to move that warning from the stripping code to an insane pass that runs before the stripping happens?
Comment 3 Robert Yang 2012-10-26 13:14:13 UTC
(In reply to comment #2)
> Yes, that works.
> 
> Would it make sense to move that warning from the stripping code to an
> insane pass that runs before the stripping happens?

Yes, there is already a bug for this:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=3190

So I will close this one.