<html><head></head><body><div>On Wed, 2016-03-23 at 17:59 +0000, Burton, Ross wrote:</div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 23 March 2016 at 17:56, Phil Blundell <span dir="ltr"><<a href="mailto:pb@pbcl.net" target="_blank">pb@pbcl.net</a>></span> wrote:<br><blockquote type="cite"><span class="">> lib_re would match files like "/<a href="http://libsoletta.so.0.0.1-gdb.py" rel="noreferrer" target="_blank">libsoletta.so.0.0.1-gdb.py</a>" which are<br>
> not valid library filenames.<br>
<br>
</span>What are the consequences of it matching things that are not libraries?<br></blockquote></div><br>See #9215, the libdir sanity test fires when it shouldn't.</div><br>WARNING: QA Issue: soletta-dbg: found library in wrong location: /usr/share/gdb/auto-load/<a href="http://libsoletta.so.0.0.1-gdb.py">libsoletta.so.0.0.1-gdb.py</a> [libdir]<br><br><div>That's no library...</div></div>
</blockquote><div><br></div><div>Ah, right. I see.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>p.</div><div><br></div></body></html>