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

conf-libclang on Ubuntu/Debian does not install all needed dependencies #26324

Open
vprevosto opened this issue Aug 2, 2024 · 0 comments
Open

Comments

@vprevosto
Copy link
Contributor

On Debian-like distributions, conf-libclang attemps to install libclang-cpp-dev , libclang-dev and llvm-dev, possibly with a specific version number, depending on the exact os-distribution and os-version. However, this will not include cmake rules for libclang, which are distributed in the clang package. I could install conf-clang for that, but this package does not rely on a specific version number, so that there's a high probability to end up with two incompatible versions for clang and libclang-{cpp-}dev, rendering the setup unusable.

Thus, I'm not sure what the best course of action would be. The way Debian splits up llvm/clang related packages clearly does not help in this regard. But it might be easier to maintain the package if the goal is only to install the latest version of all packages, without trying to enforce a specific version (for full disclosure, the opam package I'm interested in, frama-clang, maintains compatibility with clang 12-18, so I guess it would be fine with most distributions)

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

No branches or pull requests

2 participants