Created attachment 3902 [details] Error print-out from bitbake Preconditions/Environment ------------------------- Configured a Pyro -based environment (poky, etc.) that included a layer with a package that installs all of its libraries, includes, etc. into a non-standard location (a sub-directory of /usr). Triggering Action/Cause ----------------------- Build a recipe with libraries installed in a non-standard location. For example, /usr/some_package/lib. Expectation ----------- The QA check should check if the name is a link before trying to open it since it's possible for it to be a link, simply in a non-standard libdir. Actual Result ------------- QA will fail on the package_qa task because it will try to check the link in the packages-split/some_package-dev/usr/some_package/lib. The exception it throws is because it tries to open the invalid link, and the file system exception isn't caught. https://pastebin.com/rgf6tRaR Reproducibility --------------- Always. Using INSANE_SKIP_${PN}-dev = "libdir" does bypass the issue for Pyro, however this was unnecessary in Morty and Krogth (likely other earlier versions as well).
Sent to oe-core: https://patchwork.openembedded.org/patch/148944/
Yi, Can you resubmit with a test perhaps.