Re: [OE-core] [PATCH] insane.bbclass: skip opening invalid symlinks in package_qa_check_libdir

2018-03-05 Thread ChenQi
We need to make sure the .so symlinks which are in wrong location are also reported. For example libfoo.so.1 is in under /lib and is correct, but for some reason libfoo.so which is a symlink to libfoo.so.1 is under /lib32, and this should be reported. I guess the correct fix should be: If it's

[OE-core] [PATCH] insane.bbclass: skip opening invalid symlinks in package_qa_check_libdir

2018-03-05 Thread Yi Zhao
If the library is installed in a non-standard location and don't set INSANE_SKIP, e.g. libfoo.so is installed in /usr/local/lib. The package_qa_check_libdir will cause a traceback because it will try to open the .so link in package-dev to check if it's an ELF: The stack trace of python calls that