Fix Yocto QA Issue : “was already stripped, this will prevent future debugging !”

If your are compiling a yocto rootfs and at the very end of compilation, you might face an QA error while creating the final rootfs, which could look like below,

 ERROR: QA Issue: File '/usr/lib/libqwt.so.6.0.1' from qwt was already stripped, this will prevent future debugging! [already-stripped]

To fix this error, Add INSANE_SKIP_${PN}_append = “already-stripped” to your local.conf file,
where ${PN} is the associated package name.

Hence a fix to above error will look like addition of following line to local.conf

INSANE_SKIP_qwt_append = "already-stripped"

or type below command to append conf/local.conf

$ echo "INSANE_SKIP_qwt_append = \"already-stripped\"" >> conf/local.conf

Leave a Comment