-
Notifications
You must be signed in to change notification settings - Fork 14
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
Linking error on rocksdb v0.22.0 #84
Comments
I seem to be hitting the same issue. I'm trying to build a binary for musl based distribution (Alpine Linux) and these are the steps to reproduce:
|
I completely forgot about this, and today I retried and this time I did EDIT: It seems that the instruction to install from git is wrong because rgit master is in development and currently build is broken on some flows? Perhaps it's better to build on a specific version instead? Today the most current published version is 0.10.0 from October 2022. Not sure. EDIT 2: Ignore all this, it's a different project with the same name (https://github.com/morigm/rgit). They have registered their project to cargo. |
Hi, apologies for the slow response. Please try again with this commit b13b804 - see JordanForks/helix@d4baf39 for more information |
|
I investigated a little bit and perhaps I found something? changes something in the Java grammar, but the linking problem affects the Html grammar. Sorry if this is not helpful. |
I can't seem to reproduce on my x86-64 server and is probably down to environment differences (gcc vs llvm, etc). I will keep trying though. Is it out of the question to use the Docker image built in CI or build using Nix? |
I am going to try it with llvm. Meanwhile here some information.
|
Ok, I've reproduced now. There's a couple of conflicts between parsers when statically linking them, all variations of ikatyang/tree-sitter-vue#27. I've blacklisted
|
I could compile both with clang and gcc. Thank you! |
No problem, thanks for the report. Let me know if you have any more problems. I'll close this issue for now, please reopen if you're still having issues with your musl build @lusk |
I'm able to successfully build the binary against musl now. Thank you both for the time spent on finding the fix! |
Today I wanted to install rgit on my Arch Linux home server.
Please understand: I am reporting here and not at rocksdb because I got the impression that rocksdb can fail linking if you use the wrong features. If you disagree, please tell me why and then I can create a better issue for rocksdb. Thank you!
The text was updated successfully, but these errors were encountered: