On Wed, 2016-03-23 at 17:59 +0000, Burton, Ross wrote: > > On 23 March 2016 at 17:56, Phil Blundell <[email protected]> wrote: > > > lib_re would match files like "/libsoletta.so.0.0.1-gdb.py" which > > are > > > not valid library filenames. > > > > What are the consequences of it matching things that are not > > libraries? > See #9215, the libdir sanity test fires when it shouldn't. > > WARNING: QA Issue: soletta-dbg: found library in wrong location: > /usr/share/gdb/auto-load/libsoletta.so.0.0.1-gdb.py [libdir] > > That's no library... Ah, right. I see. I wonder if we should just give insane.bbclass a whitelist of directories in which it should ignore apparently misplaced libraries. There aren't likely to be many cases like that one. Or alternatively, add an extra check so that when it thinks it's found a misplaced library, it checks the ELF header to make sure that it really is one and suppresses the diagnostic if not. If you only do this in cases where it was about to print a warning anyway then the impact on performance shouldn't be too bad. p.
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
