Open l4326769 opened 1 year ago
root@debian:/home/l4326769/lede# make package/v2ray-plugin/compile V=s make[2]: Entering directory '/home/l4326769/lede/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/l4326769/lede/scripts/config' make[1]: Entering directory '/home/l4326769/lede' make[2]: Entering directory '/home/l4326769/lede/feeds/packages/lang/golang/golang' make[2]: Leaving directory '/home/l4326769/lede/feeds/packages/lang/golang/golang' time: package/feeds/packages/golang/host-compile#0.31#0.14#0.38 make[2]: Entering directory '/home/l4326769/lede/package/libs/toolchain' echo "libc" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libgcc" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libatomic" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libstdcpp" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libpthread" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "librt" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install make[2]: Leaving directory '/home/l4326769/lede/package/libs/toolchain' time: package/libs/toolchain/compile#0.10#0.02#0.12 make[2]: Entering directory '/home/l4326769/lede/package/system/ca-certificates' echo "ca-bundle" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/ca-certificates.default.install echo "ca-certificates" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/ca-certificates.default.install make[2]: Leaving directory '/home/l4326769/lede/package/system/ca-certificates' time: package/system/ca-certificates/compile#0.09#0.03#0.11 make[2]: Entering directory '/home/l4326769/lede/package/helloworld/v2ray-plugin' rm -f /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.built touch /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.built_check CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/l4326769/lede/tmp/go-build" GO_MOD_CACHE_DIR="/home/l4326769/lede/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/shadowsocks/v2ray-plugin" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/shadowsocks/v2ray-plugin/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0" GO_BUILD_DIR="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build" GO_BUILD_BIN_DIR="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build/bin/linux_arm64" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/usr/share/gocode/src" GOOS="linux" GOARCH="arm64" GO386="" GOAMD64="" GOARM="" GOMIPS="" GOMIPS64="" GOPPC64="" CGO_ENABLED=1 CC="aarch64-openwrt-linux-musl-gcc" CXX="aarch64-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0=v2ray-plugin-5.7.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/include -I/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/include/fortify -I/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0=v2ray-plugin-5.7.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build" GOCACHE="/home/l4326769/lede/tmp/go-build" GOMODCACHE="/home/l4326769/lede/dl/go-mod-cache" GOENV=off /usr/bin/env bash /home/l4326769/lede/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1699059449' -linkmode external -extldflags '-L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'" -ldflags " -X main.VERSION=v5.7.0 -buildid '1699059449' -linkmode external -extldflags '-L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'" Finding targets error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping.
Building targets no Go files in /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build
make[2]: [Makefile:43: /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.built] Error 1 make[2]: Leaving directory '/home/l4326769/lede/package/helloworld/v2ray-plugin' time: package/helloworld/v2ray-plugin/compile#0.15#0.11#0.21 ERROR: package/helloworld/v2ray-plugin failed to build. make[1]: [package/Makefile:116: package/helloworld/v2ray-plugin/compile] Error 1 make[1]: Leaving directory '/home/l4326769/lede' make: *** [/home/l4326769/lede/include/toplevel.mk:231:package/v2ray-plugin/compile] 错误 2
wo tried the newest and history version ,is all the same result
同样的问题
同样问题,重试几次都到这卡住。
去feeds/packages/lang/golang/golang下创建src文件夹,然后手动下载Makefile中的golang包,把里面的go.env解压到刚刚的src文件夹,修改go.env在最后面加上GOFLAGS=-buildvcs=false
root@debian:/home/l4326769/lede# make package/v2ray-plugin/compile V=s make[2]: Entering directory '/home/l4326769/lede/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/l4326769/lede/scripts/config' make[1]: Entering directory '/home/l4326769/lede' make[2]: Entering directory '/home/l4326769/lede/feeds/packages/lang/golang/golang' make[2]: Leaving directory '/home/l4326769/lede/feeds/packages/lang/golang/golang' time: package/feeds/packages/golang/host-compile#0.31#0.14#0.38 make[2]: Entering directory '/home/l4326769/lede/package/libs/toolchain' echo "libc" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libgcc" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libatomic" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libstdcpp" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "libpthread" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install echo "librt" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install make[2]: Leaving directory '/home/l4326769/lede/package/libs/toolchain' time: package/libs/toolchain/compile#0.10#0.02#0.12 make[2]: Entering directory '/home/l4326769/lede/package/system/ca-certificates' echo "ca-bundle" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/ca-certificates.default.install echo "ca-certificates" >> /home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/ca-certificates.default.install make[2]: Leaving directory '/home/l4326769/lede/package/system/ca-certificates' time: package/system/ca-certificates/compile#0.09#0.03#0.11 make[2]: Entering directory '/home/l4326769/lede/package/helloworld/v2ray-plugin' rm -f /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.built touch /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.built_check CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/l4326769/lede/tmp/go-build" GO_MOD_CACHE_DIR="/home/l4326769/lede/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/shadowsocks/v2ray-plugin" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/shadowsocks/v2ray-plugin/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0" GO_BUILD_DIR="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build" GO_BUILD_BIN_DIR="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build/bin/linux_arm64" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/l4326769/lede/staging_dir/target-aarch64_cortex-a53_musl/usr/share/gocode/src" GOOS="linux" GOARCH="arm64" GO386="" GOAMD64="" GOARM="" GOMIPS="" GOMIPS64="" GOPPC64="" CGO_ENABLED=1 CC="aarch64-openwrt-linux-musl-gcc" CXX="aarch64-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0=v2ray-plugin-5.7.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/include -I/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/include/fortify -I/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0=v2ray-plugin-5.7.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build" GOCACHE="/home/l4326769/lede/tmp/go-build" GOMODCACHE="/home/l4326769/lede/dl/go-mod-cache" GOENV=off /usr/bin/env bash /home/l4326769/lede/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1699059449' -linkmode external -extldflags '-L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'" -ldflags " -X main.VERSION=v5.7.0 -buildid '1699059449' -linkmode external -extldflags '-L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/home/l4326769/lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'"
Finding targets error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping.
Building targets no Go files in /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.go_work/build
make[2]: [Makefile:43: /home/l4326769/lede/build_dir/target-aarch64_cortex-a53_musl/v2ray-plugin-5.7.0/.built] Error 1 make[2]: Leaving directory '/home/l4326769/lede/package/helloworld/v2ray-plugin' time: package/helloworld/v2ray-plugin/compile#0.15#0.11#0.21 ERROR: package/helloworld/v2ray-plugin failed to build. make[1]: [package/Makefile:116: package/helloworld/v2ray-plugin/compile] Error 1 make[1]: Leaving directory '/home/l4326769/lede' make: *** [/home/l4326769/lede/include/toplevel.mk:231:package/v2ray-plugin/compile] 错误 2
wo tried the newest and history version ,is all the same result