-
Notifications
You must be signed in to change notification settings - Fork 33
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
Build failing with error: linking with cc
failed: exit status: 1
#142
Comments
Does this comment on the AUR page you linked: https://aur.archlinux.org/packages/synapse-compress-state#comment-862631 have any merit or meaning to you? Given the problem seems jemallocator related, maybe you can disable the I don't know how this would be done in the Arch package system, I'm afraid. |
Hi @reivilibre and thanks for your suggestions. Unfortunately that comment is not really helpful, as most of the changes asked for by that comment have actually been implemented since (current build script here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=synapse-compress-state). I'll give the build a try with those jemalloc flags and let you know how it goes. |
that is - --no-default-features --feature clap
+ --no-default-features --features clap right? |
Nope no luck I'm afraid 😞
|
However... the error is very different. Edit: nope, using openssl-1.1 as a dependency doesn't change the error, still Edit 2: this is possibly covered by https://github.com/matrix-org/rust-synapse-compress-state?tab=readme-ov-file#building-difficulties, experimenting now |
I can now get it to build the main binary, but for synapse_auto_compressor I get the above openssl error still. This led me to look at the differences between the two Cargo.toml files, and I noticed this commit : 4b9f2e2#diff-271be67e9908629898c11f865617e3ac79e1d31136185b66021885330e2f23ffL20 introduced the Note that all this does require |
Any news on this issue? |
Hi all,
I am experiencing a similar error to this one: #134 when attempting to build using the Arch User Repository package: https://aur.archlinux.org/packages/synapse-compress-state:
Any help in trying to figure this out will be much appreciated.
The text was updated successfully, but these errors were encountered: