-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
libtinfo.so.5: cannot open shared object file while running clang-format from this bzlmod #403
Comments
So, what is going on here is that newer Ubuntu provide libtinfo6, but the default clang packaging requires libtinfo5. It is installable. We patched these rules to extract the Debian package of libtinfo5 and copy the shared library in next to clang to make it happy. |
Oh I see, thank you for that reply. Indeed if I
This makes it sound like |
We patched I keep hoping that compilers will depend on libtinfo6 instead. Since this has been an issue for years, I'll have to keep hoping. |
Ah, sorry, I think understand now. When you responded to the issue I had assumed you were a member of this project. I believe you're saying that in your own project you have patched this project to do what you said. Thank you for sharing your experience. I guess I'm not sure if I should close this thread or not. From my perspective I understand the problem and I'm moving on. |
I'd propose keeping it open. I keep pushing our folks to open source our changes (maintaining forks sucks and adds no value), and this is one of the ones to think about and talk through. |
You might want to try llvm version 19 - I think they've removed the dependency on libtinfo in that release version |
I apologize if I'm trying to use this project in the wrong way. To be honest I'm just looking for the simplest way to get clang-format and clang-tidy integrated into a bazel-based build currently using a gcc toolchain. It looks like I could do that by integrating this project but I'm running into issues running clang-format from this repo.
A Minimal Working Example is demonstrated in this MODULE.bazel (taken from the release page):
In an otherwise empty project, with this file, running the following:
My version of bazel is 7.3.2 (aquired through bazelisk):
My operating system is:
Please let me know if any other information would help with addressing this issue. Again, I apologize if this isn't "intended usage" of this project.
The text was updated successfully, but these errors were encountered: