View previous topic :: View next topic |
Author |
Message |
eu47 n00b
Joined: 06 May 2022 Posts: 25 Location: Edmonton, Canada
|
Posted: Sat Jan 11, 2025 1:05 pm Post subject: rust-1.84 & git |
|
|
When trying to update rust from 1.83.0 to 1.84.0 it fails with this:
Code: | Finished `dev` profile [unoptimized] target(s) in 1m 41s
running: /tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/build/bootstrap/debug/bootstrap build -vvv --config=/tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/config.toml -j13
fatal: --local can only be used inside a git repository
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
thread 'main' panicked at src/core/config/config.rs:2908:89:
called `Result::unwrap()` on an `Err` value: "command did not execute successfully: cd \"/tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src\" && \"git\" \"rev-list\" \"--author=bors@rust-lang.org\" \"-n1\" \"--first-parent\" \"HEAD\"\nexpected success, got: exit status: 128\n"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: bootstrap::core::config::config::Config::last_modified_commit
4: bootstrap::core::config::config::Config::download_ci_rustc_commit
5: bootstrap::core::config::config::Config::parse_inner
6: bootstrap::core::config::config::Config::parse
7: bootstrap::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Traceback (most recent call last):
File "/tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/./x.py", line 50, in <module>
bootstrap.main()
File "/tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/src/bootstrap/bootstrap.py", line 1212, in main
bootstrap(args)
File "/tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/src/bootstrap/bootstrap.py", line 1188, in bootstrap
run(args, env=env, verbose=build.verbose, is_bootstrap=True)
File "/tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/src/bootstrap/bootstrap.py", line 202, in run
raise RuntimeError(err)
RuntimeError: failed to run: /tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/build/bootstrap/debug/bootstrap build -vvv --config=/tmp/portage/dev-lang/rust-1.84.0/work/rustc-1.84.0-src/config.toml -j13
* ERROR: dev-lang/rust-1.84.0::gentoo failed (compile phase):
* (no error message) |
Any ideas why? |
|
Back to top |
|
|
TequilaTR n00b
Joined: 01 Feb 2005 Posts: 68
|
Posted: Sat Jan 11, 2025 1:40 pm Post subject: |
|
|
Same here.
I guess this got overlooked. Either wait, as this should be a rather obvious case, or file a Bug here: https://bugs.gentoo.org/ (i checked, but didn't find anything yet).
Maybe one can modify the build or wrap it artificially in git. But i guess the experts should check that.
For me i put it to package.mask for a few days. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22974
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|