tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/rust on aarch64eb





пт, 8 нояб. 2024 г., 23:11 John Klos <john%klos.com@localhost>:
>> > Does it help now?
>>
>>  Running now. Thanks :D

...
     Finished dev [unoptimized] target(s) in 7m 11s
running:
/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/bootstrap
-v build --stage 2 -j 1


Unexpected rustc version: 1.77.1, we should use 1.78.x/1.79.0 to build
source with 1.79.0


Traceback (most recent call last):
   File "/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/./x.py",
line 50, in <module>
     bootstrap.main()
   File
"/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/bootstrap.py",
line 1176, in main
     bootstrap(args)
   File
"/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/bootstrap.py",
line 1152, in bootstrap
     run(args, env=env, verbose=build.verbose, is_bootstrap=True)
   File
"/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/src/bootstrap/bootstrap.py",
line 187, in run
     raise RuntimeError(err)
RuntimeError: failed to run:
/tmp/pkgbuild/lang/rust/work.aarch64eb/rustc-1.79.0-src/build/bootstrap/debug/bootstrap
-v build --stage 2 -j 1
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1


I don't understand Rust at all. "Unexpected rustc version" is an error?

I think you can only build rust n+1 version on rust n version, not anything before (cost me a lot of time on Slackware)




John


Home | Main Index | Thread Index | Old Index