lede icon indicating copy to clipboard operation
lede copied to clipboard

rust报错

Open binge8 opened this issue 8 months ago • 2 comments

详细叙述

luci24.10版本,ubuntu云编译

重复 issue

  • [x] 没有类似的 issue

具体型号

x64,armv8

详细日志

make[3]: Entering directory '/mnt/openwrt/feeds/packages/lang/rust'
CARGO_HOME=/home/runner/work/op/op/openwrt/dl/cargo TARGET_CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/runner/work/op/op/openwrt/build_dir/target-x86_64_musl/rust-1.87.0=rust-1.87.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" python3 /home/runner/work/op/op/openwrt/build_dir/target-x86_64_musl/host/rustc-1.87.0-src/x.py --build-dir /home/runner/work/op/op/openwrt/build_dir/target-x86_64_musl/host/rustc-1.87.0-src/build dist build-manifest rustc rust-std cargo llvm-tools rust-src
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 1.48s
##[endgroup]

thread 'main' panicked at src/bootstrap/src/core/config/config.rs:3166:21:
`llvm.download-ci-llvm` cannot be set to `true` on CI. Use `if-unchanged` instead.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Build completed unsuccessfully in 0:00:01
make[3]: *** [Makefile:108: /home/runner/work/op/op/openwrt/build_dir/target-x86_64_musl/host/rustc-1.87.0-src/.built] Error 1
make[3]: Leaving directory '/mnt/openwrt/feeds/packages/lang/rust'
time: package/feeds/packages/rust/host-compile#0.50#0.39#1.77
    ERROR: package/feeds/packages/rust [host] failed to build.
make[2]: *** [package/Makefile:114: package/feeds/packages/rust/host/compile] Error 1

binge8 avatar Jun 17 '25 02:06 binge8

我也是这个报错了

498110811 avatar Jun 17 '25 02:06 498110811

同样云编译也报错了: Building bootstrap

thread 'main' panicked at src/bootstrap/src/core/config/config.rs:3166:21: llvm.download-ci-llvm cannot be set to true on CI. Use if-unchanged instead. note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Build completed unsuccessfully in 0:00:00 make[3]: *** [Makefile:108: /home/runner/work/N1project/N1project/openwrt/build_dir/target-aarch64_generic_musl/host/rustc-1.87.0-src/.built] Error 1 make[3]: Leaving directory '/home/runner/work/N1project/N1project/openwrt/feeds/packages/lang/rust' time: package/feeds/packages/rust/host-compile#0.47#0.25#0.71 ERROR: package/feeds/packages/rust [host] failed to build. make[2]: *** [package/Makefile:114: package/feeds/packages/rust/host/compile] Error 1

wekingchen avatar Jun 17 '25 06:06 wekingchen

rust 上游的 ci cache 老是删除。。。修复了

coolsnowwolf avatar Jun 17 '25 20:06 coolsnowwolf