Closed mitsukileung closed 1 year ago
上游炸了,要么去掉 ss-rust 或者换 ss-libev,要么用 homeproxy
上游炸了,要么去掉 ss-rust 或者换 ss-libev,要么用 homeproxy
好的,谢谢大佬
上游
musl更新到1.2.4后引起的问题,上游官方已经pr了补丁,shadowsocks-rust现在可以通过rust源码编译。。。。 https://github.com/openwrt/openwrt/pull/12667
Describe the bug
ipq807x ax6/ax3600 master分支更新源码后编译出错
ImmortalWrt version
r26284-4ed52d78e1
ImmortalWrt target/subtarget
ipq807x
Device
Ax6 / Ax3600
Image kind
Self-built image
Steps to reproduce
= note: some
extern
functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the-l
flag to specify native libraries to link = note: use thecargo:rustc-link-lib
directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)error: could not compile
shadowsocks-rust
due to previous errorCaused by: process didn't exit successfully:
rustc --crate-name ssservice --edition=2021 bin/ssservice.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=80 --crate-type bin --emit=dep-info,link -C opt-level=s -C panic=abort -C lto=fat -C codegen-units=1 --cfg 'feature="aead-cipher-2022"' --cfg 'feature="default"' --cfg 'feature="local"' --cfg 'feature="local-http"' --cfg 'feature="local-redir"' --cfg 'feature="local-socks4"' --cfg 'feature="local-tunnel"' --cfg 'feature="log4rs"' --cfg 'feature="logging"' --cfg 'feature="manager"' --cfg 'feature="multi-threaded"' --cfg 'feature="qrcode"' --cfg 'feature="server"' --cfg 'feature="service"' --cfg 'feature="trust-dns"' --cfg 'feature="utility"' -C metadata=d3d9085dee8290d5 -C extra-filename=-d3d9085dee8290d5 --out-dir /home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps --target aarch64-unknown-linux-musl -C linker=aarch64-openwrt-linux-musl-gcc -C strip=symbols -L dependency=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps -L dependency=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/stripped/deps --extern base64=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libbase64-dd5811fca43793ff.rlib --extern build_time=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/stripped/deps/libbuild_time-40bfd2c0f2ac1818.so --extern cfg_if=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libcfg_if-c7916b5c10b7fbe6.rlib --extern clap=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libclap-d9570ac6660b0c1a.rlib --extern daemonize=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libdaemonize-ed6ead167e240246.rlib --extern directories=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libdirectories-a44ef7d64471bbaa.rlib --extern futures=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libfutures-214e2760accec789.rlib --extern json5=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libjson5-9dcf2da4f6e2e7ed.rlib --extern libc=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/liblibc-4bdb0b6d0effd278.rlib --extern log=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/liblog-2b5a40685dea06ce.rlib --extern log4rs=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/liblog4rs-af044f8210d3d4e0.rlib --extern num_cpus=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libnum_cpus-3ab230fb488cfddf.rlib --extern qrcode=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libqrcode-c85fc8e7545ae15e.rlib --extern rand=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/librand-08dfeb97ce285959.rlib --extern rpassword=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/librpassword-463db6bd7009fd82.rlib --extern serde=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libserde-bc032e200c158faa.rlib --extern shadowsocks_rust=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libshadowsocks_rust-613eb93379421f69.rlib --extern shadowsocks_service=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libshadowsocks_service-1e9cd45e45049efd.rlib --extern sysexits=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libsysexits-340636aff149b34e.rlib --extern thiserror=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libthiserror-f63a0f2ea405490e.rlib --extern tokio=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libtokio-81007ef9220b9420.rlib --extern xdg=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/deps/libxdg-a7a43c3fa960bdf4.rlib -Ctarget-feature=-crt-static -Clink-args=-lssp_nonshared -L native=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/build/blake3-1b02573aabd1f05e/out -L native=/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target/aarch64-unknown-linux-musl/stripped/build/ring-33bb89c2ef70cf35/out
(exit status: 1) error: failed to compileshadowsocks-rust v1.15.3 (/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3)
, intermediate artifacts can be found at/home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/target
make[3]: [Makefile:54: /home/koysuke/immortalwrt/build_dir/target-aarch64_cortex-a53_musl/shadowsocks-rust-1.15.3/.built] Error 101 make[3]: Leaving directory '/home/koysuke/immortalwrt/feeds/packages/net/shadowsocks-rust' time: package/feeds/packages/shadowsocks-rust/compile#353.30#36.29#169.33 ERROR: package/feeds/packages/shadowsocks-rust failed to build. make[2]: [package/Makefile:120: package/feeds/packages/shadowsocks-rust/compile] Error 1 make[2]: Leaving directory '/home/koysuke/immortalwrt' make[1]: [package/Makefile:114: /home/koysuke/immortalwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/koysuke/immortalwrt' make: [/home/koysuke/immortalwrt/include/toplevel.mk:231:world] 错误 2Actual behaviour
No response
Expected behaviour
No response
Additional info
No response
Diffconfig
No response
Terms