kenzok8 / small

ssr passwall bypass依赖
Apache License 2.0
1.01k stars 792 forks source link

sing-box failed to build #129

Closed ywt114 closed 6 months ago

ywt114 commented 6 months ago

2024-02-28T04:47:22.0620911Z Building targets 2024-02-28T04:47:22.0776756Z go: downloading github.com/sagernet/cloudflare-tls v0.0.0-20231208171750-a4483c1b7cd1 2024-02-28T04:47:22.0778786Z go: downloading github.com/sagernet/quic-go v0.40.1 2024-02-28T04:47:22.0800070Z go: downloading github.com/sagernet/sing-quic v0.1.8 2024-02-28T04:47:22.1873141Z go: downloading github.com/sagernet/utls v1.5.4 2024-02-28T04:47:22.2366080Z go: downloading github.com/sagernet/wireguard-go v0.0.0-20231215174105-89dec3b2f3e8 2024-02-28T04:47:22.2378151Z go: downloading github.com/go-chi/cors v1.2.1 2024-02-28T04:47:22.2383895Z go: downloading github.com/go-chi/render v1.0.3 2024-02-28T04:47:22.2703130Z go: downloading github.com/insomniacslk/dhcp v0.0.0-20231206064809-8c70d406f6d2 2024-02-28T04:47:22.2721545Z go: downloading github.com/andybalholm/brotli v1.0.6 2024-02-28T04:47:22.2722406Z go: downloading github.com/gaukas/godicttls v0.0.4 2024-02-28T04:47:22.2724504Z go: downloading github.com/klauspost/compress v1.17.4 2024-02-28T04:47:22.3021363Z go: downloading golang.org/x/exp v0.0.0-20240119083558-1b970713d09a 2024-02-28T04:47:22.3297186Z go: downloading github.com/ajg/form v1.5.1 2024-02-28T04:47:22.3669654Z go: downloading github.com/u-root/uio v0.0.0-20230220225925-ffce2a382923 2024-02-28T04:47:22.3956261Z go: downloading github.com/pierrec/lz4/v4 v4.1.14 2024-02-28T04:47:24.0876588Z -linkmode requires external (cgo) linking, but cgo is not enabled 2024-02-28T04:47:24.0896935Z 2024-02-28T04:47:24.3045293Z make[3]: [Makefile:153: /home/runner/work/test/test/openwrt/build_dir/target-x86_64_musl/sing-box-1.8.6/.built] Error 1 2024-02-28T04:47:24.3047173Z make[3]: Leaving directory '/home/runner/work/test/test/openwrt/package/lean/small/sing-box' 2024-02-28T04:47:24.3050582Z time: package/lean/small/sing-box/compile#3.47#1.45#4.18 2024-02-28T04:47:24.3058633Z ERROR: package/lean/small/sing-box failed to build. 2024-02-28T04:47:24.3062430Z make[2]: [package/Makefile:116: package/lean/small/sing-box/compile] Error 1 2024-02-28T04:47:24.3066190Z make[2]: Leaving directory '/home/runner/work/test/test/openwrt' 2024-02-28T04:47:24.3071776Z make[1]: [package/Makefile:110: /home/runner/work/test/test/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 2024-02-28T04:47:24.3076231Z make[1]: Leaving directory '/home/runner/work/test/test/openwrt' 2024-02-28T04:47:24.3081749Z make: [/home/runner/work/test/test/openwrt/include/toplevel.mk:231: world] Error 2 2024-02-28T04:47:24.3127959Z ##[error]Process completed with exit code 2.

ywt114 commented 6 months ago

https://github.com/xiaorouji/openwrt-passwall-packages/commit/c37c6390b8faf7c34dc77cccdb35ad2350bf31d2 https://github.com/xiaorouji/openwrt-passwall-packages/commit/b7e1852da82d72cdd1c11de44d21476259fc86b5 https://github.com/kenzok8/small/pull/130

Gabrielxzx commented 6 months ago

报错+1

ywt114 commented 6 months ago

报错+1

+1

ywt114 commented 6 months ago

参考https://github.com/sbwml/openwrt_helloworld/tree/v5

mahakalaya commented 6 months ago

更新提交后又编译出错了

woni928 commented 6 months ago

一会这边炸 一会那边炸。 +1

kenzok8 commented 6 months ago

参考https://github.com/sbwml/openwrt_helloworld/tree/v5

就是引用了上游这个版本才报错的,现在回退了

ywt114 commented 6 months ago

参考https://github.com/sbwml/openwrt_helloworld/tree/v5

就是引用了上游这个版本才报错的,现在回退了

但是你之前只是修改了makefile,但files文件夹里的文件没有同步修改

mahakalaya commented 6 months ago

已解决

woni928 commented 6 months ago

已解决

如何解决?