Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing dependency lib.pm for scan-build's c++-analyzer #826

Open
dkl opened this issue Jul 20, 2023 · 0 comments
Open

missing dependency lib.pm for scan-build's c++-analyzer #826

dkl opened this issue Jul 20, 2023 · 0 comments

Comments

@dkl
Copy link

dkl commented Jul 20, 2023

Hi,

The internal c++-analyzer script from scan-build uses lib.pm, so perl-module-lib should probably be added as RDEPENDS of clang-tools. Because it was missing, there were Can't locate lib.pm in @INC errors when running scan-build on C++ sources. This showed up here with kirkstone with scan-build from nativesdk-clang in a Yocto SDK, but I've checked and it still happens with nativesdk-clang-tools in a Yocto SDK built from current poky + meta-clang master.

If you want I can send a patch for this (and also for kirkstone), although I'm surprised it did not show up earlier in #777. Perhaps because it appears to be C++-specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant