xiaorouji / openwrt-passwall

7.02k stars 2.62k forks source link

[Bug]: 编译出错了。openwrt官方openwrt-23.05分支 #2679

Closed cyclc77 closed 1 year ago

cyclc77 commented 1 year ago

描述您遇到的bug

使用这个源会报错。 但是使用https://github.com/kenzok8/small选中其中的没有问题。

复现此Bug的步骤

在feeds.conf.default中添加了 src-git PWpackages https://github.com/xiaorouji/openwrt-passwall.git;packages src-git PWluci https://github.com/xiaorouji/openwrt-passwall.git;luci

luci app passwall 选中v2ray-core x2ray相关插件都会报错

您想要实现的目的

编译成功

日志信息

go get github.com/xiaokangwang/VLite/transport/transportQuality ../../../../../dl/go-mod-cache/github.com/xiaokangwang/!v!lite@v0.0.0-20220418190619-cff95160a432/transport/udp/udpServer/udpServer.go:11:2: no required module provides package github.com/xiaokangwang/VLite/transport/udp/packetMasker/presets/prependandxor; to add it: go get github.com/xiaokangwang/VLite/transport/udp/packetMasker/presets/prependandxor

make[3]: [Makefile:112: /home/c/openwrt-23.05/build_dir/target-x86_64_musl/v2ray-core-5.7.0/.built] Error 1 make[3]: Leaving directory '/home/c/openwrt-23.05/feeds/packages/net/v2ray-core' time: package/feeds/packages/v2ray-core/compile#0.25#0.26#0.32 ERROR: package/feeds/packages/v2ray-core failed to build. make[2]: [package/Makefile:120: package/feeds/packages/v2ray-core/compile] Error 1 make[2]: Leaving directory '/home/c/openwrt-23.05' make[1]: [package/Makefile:114: /home/c/openwrt-23.05/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/c/openwrt-23.05' make: [/home/c/openwrt-23.05/include/toplevel.mk:232:world] 错误 2

截图

No response

系统相关信息

Distributor ID: Linuxmint Description: Linux Mint 21.1 Release: 21.1 Codename: vera

Linux version 5.15.0-78-generic (buildd@lcy02-amd64-008) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #85-Ubuntu

其他信息

No response

cyclc77 commented 1 year ago

发现编译的错误原因来自linux系统。go组件。此问题关闭