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
Can't build clap@4.5.4 under MODULE.bazel #2594
Comments
I'm seeing this issue on a different ref, so this may be my own issue 🤔 |
I believe I'm hitting the same issue in So far I've found that this appears to be caused by proc-macros using the wrong glibc version, or at least they use a different glibc detection mechanism than C++ targets. (Tried When running the PR I linked with
The build works fine on systems with glibc2.39, but it doesn't work on systems with glibc2.35 (like GitHub's Ubuntu 22.04 runners). It looks like the host glibc leaks into proc-macros somehow and breaks the build in mysterious ways 😅 @Zemnmez My guess is that the remote exec setup you're using has a similar glibc version mismatch. What does |
Hi there, thanks for all your hard work on this. I've been trying to move to using MODULE.bazel for everything I can and I've made a best-effort at moving
rules_rust
. You can find a minimal reproducing commit here: zemn-me/monorepo@5fb22bfWhen I try to build my one tag which has a
clap
dependency, I get:As you can see from below, I'd assumed this came from not having proc macro deps set correctly and tried to fix via
crate.annotation
andproc_macro_deps
, but no dice.The text was updated successfully, but these errors were encountered: