This package has been revamped and every error is fixed as a result.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/rust-git.git (read-only, click to copy) |
|---|---|
| Package Base: | rust-git |
| Description: | Systems programming language focused on safety, speed and concurrency (GIT VERSION) |
| Upstream URL: | https://www.rust-lang.org/ |
| Keywords: | cargo rust |
| Licenses: | Apache-2.0 OR MIT |
| Conflicts: | cargo, rust, rust-docs, rustfmt |
| Provides: | cargo, rust, rustfmt |
| Replaces: | cargo, cargo-tree, rust-docs, rustfmt |
| Submitter: | mrshpot |
| Maintainer: | kaolinite |
| Last Packager: | kaolinite |
| Votes: | 28 |
| Popularity: | 0.23 |
| First Submitted: | 2012-01-21 11:30 (UTC) |
| Last Updated: | 2026-03-25 10:48 (UTC) |
This package has been revamped and every error is fixed as a result.
When compiling, I end up with :
==> Starting prepare()...
patching file src/bootstrap/src/core/build_steps/dist.rs
Hunk #1 FAILED at 426.
1 out of 1 hunk FAILED -- saving rejects to file src/bootstrap/src/core/build_steps/dist.rs.rej
patching file src/bootstrap/src/core/build_steps/tool.rs
Hunk #1 succeeded at 1007 with fuzz 2 (offset 283 lines).
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'rust-git-4:1.82.0.r1.59a74db3-2':
error: packages failed to build: rust-git-4:1.82.0.r1.59a74db3-2
Fixed.
I have migrated to rustup long before and unfortunately no longer have the resources to maintain this package. If you find a fix, please feel free to adopt and update.
Fails to build: Some extern functions couldn't be found
https://pastebin.com/Bw6yyydm
I want to compile rust-git against llvm-git (currently 16.0.0), however I get an error, which I do not understand (see below). I already compiled with environment variable RUST_BACKTRACE=1 which makes me not smarter.
thread 'main' panicked at 'setting llvm.link_shared is incompatible with download-ci-llvm.', config.rs:1204:17
stack backtrace:
0: rust_begin_unwind
at /rustc/e080cc5a659fb760c0bc561b722a790dad35b5e1/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/e080cc5a659fb760c0bc561b722a790dad35b5e1/library/core/src/panicking.rs:65:14
2: bootstrap::config::Config::parse_inner
at ./src/bootstrap/config.rs:1204:17
3: bootstrap::config::Config::parse
at ./src/bootstrap/config.rs:845:9
4: bootstrap::main
at ./src/bootstrap/bin/main.rs:14:18
5: core::ops::function::FnOnce::call_once
at /rustc/e080cc5a659fb760c0bc561b722a790dad35b5e1/library/core/src/ops/function.rs:251:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Build completed unsuccessfully in 0:00:30
==> ERROR: A failure occurred in build().
Aborting...
-> error making: rust-git
Thanks, I got past that problem eventually (probably due to a re-compile of git).
@ms178 Builds fine for me. Please check that your PKGBUILD clone is up-to-date. If that still doesn't work, re-clone from scratch and try again.