sbwml / luci-app-alist

LuCI support for Alist
https://github.com/alist-org/alist
1.31k stars 197 forks source link

L大的固件报错 #24

Closed Crochip1 closed 1 year ago

Crochip1 commented 1 year ago

go: downloading github.com/json-iterator/go v1.1.12 go: downloading github.com/go-resty/resty/v2 v2.7.0 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/jlaffaye/ftp v0.0.0-20220829015825-b85cf1edccd4 go: downloading github.com/disintegration/imaging v1.6.2 go: downloading github.com/aws/aws-sdk-go v1.44.88 go: downloading github.com/gin-gonic/gin v1.8.0 go: downloading github.com/pkg/sftp v1.13.5 go: downloading github.com/spf13/cobra v1.5.0 go: downloading golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 go: downloading github.com/upyun/go-sdk/v3 v3.0.3 go: downloading golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b go: downloading github.com/caarlos0/env/v6 v6.9.3 go: downloading github.com/natefinch/lumberjack v2.0.0+incompatible go: downloading gorm.io/driver/mysql v1.3.4 go: downloading gorm.io/driver/postgres v1.3.7 go: downloading gorm.io/driver/sqlite v1.3.4 go: downloading gorm.io/gorm v1.23.6 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/winfsp/cgofuse v1.5.0 go: downloading github.com/Xhofe/go-cache v0.0.0-20220723083548-714439c8af9a go: downloading github.com/gorilla/websocket v1.5.0 go: downloading github.com/gin-contrib/cors v1.3.1 go: downloading github.com/golang-jwt/jwt/v4 v4.4.2 go: downloading github.com/pquerna/otp v1.3.0 error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. github.com/Xhofe/go-cache@v0.0.0-20220723083548-714439c8af9a: Get "https://proxy.golang.org/github.com/%21xhofe/go-cache/@v/v0.0.0-20220723083548-714439c8af9a.mod": dial tcp 172.217.160.113:443: connect: connection refused

Building targets no Go files in /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build

make[3]: [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1 make[3]: Leaving directory '/home/zhangzihan/lede/package/alist/alist' time: package/alist/alist/compile#0.54#0.48#360.21 ERROR: package/alist/alist failed to build. make[2]: [package/Makefile:116: package/alist/alist/compile] Error 1 make[2]: Leaving directory '/home/zhangzihan/lede' make[1]: [package/Makefile:110: /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/zhangzihan/lede' make: [/home/zhangzihan/lede/include/toplevel.mk:230:world] 错误 2

有时候编译的时候经常报这个错误 error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping.

Crochip1 commented 1 year ago

export GOPROXY=direct

然后使用质量好一点的网络呢? verifying github.com/gin-gonic/gin@v1.8.0: checksum mismatch downloaded: h1:gcAUpegZ91QWGm03w0CjjJ0+rjxmG3pbBbT0aiT82s8= go.sum: h1:4WFH5yycBMA3za5Hnl425yd9ymdw1XPm4666oab+hv4=

SECURITY ERROR This download does NOT match an earlier download recorded in go.sum. The bits may have been replaced on the origin server, or an attacker may have intercepted the download attempt.

For more information, see 'go help module-auth'.

Building targets no Go files in /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build

make[3]: [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1 make[3]: Leaving directory '/home/zhangzihan/lede/package/alist/alist' time: package/alist/alist/compile#45.87#25.85#191.53 ERROR: package/alist/alist failed to build. make[2]: [package/Makefile:116: package/alist/alist/compile] Error 1 make[2]: Leaving directory '/home/zhangzihan/lede' make[1]: [package/Makefile:110: /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/zhangzihan/lede' make: [/home/zhangzihan/lede/include/toplevel.mk:230:world] 错误 2

网络应该没问题 我ping了一下 github 都正常的

sbwml commented 1 year ago

export GOPROXY=direct 。。。。 不要去使用任何的goproxy

Crochip1 commented 1 year ago

export GOPROXY=direct 。。。。 不要去使用任何的goproxy

我是用虚拟机编译的 也就是说我把电脑的代理关掉吗

Crochip1 commented 1 year ago

export GOPROXY=direct 。。。。 不要去使用任何的goproxy

我输入了这个 然后把电脑的代理关掉了,还是这个错误

sbwml commented 1 year ago

假如用这个镜像呢?export GOPROXY=https://goproxy.cn

Crochip1 commented 1 year ago

假如用这个镜像呢?export GOPROXY=https://goproxy.cn

root@zhangzihan-virtual-machine:/home/zhangzihan/lede# export GO=https://goproxy.cn root@zhangzihan-virtual-machine:/home/zhangzihan/lede# make V=s -j1 WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'chinadns-ng', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'luci-lib-ipkg', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'shadowsocksr-libev-ssr-local', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'shadowsocksr-libev-ssr-redir', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'shadowsocksr-libev-ssr-server', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'simple-obfs', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'v2ray-plugin', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'xray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'trojan-plus', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-bypass/Makefile' has a dependency on 'hysteria', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-mosdns/Makefile' has a dependency on 'v2ray-geoip', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-mosdns/Makefile' has a dependency on 'v2ray-geosite', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'dns2tcp', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'brook', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'chinadns-ng', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'hysteria', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'shadowsocks-rust-sslocal', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'shadowsocks-rust-ssserver', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'shadowsocksr-libev-ssr-local', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'shadowsocksr-libev-ssr-redir', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'shadowsocksr-libev-ssr-server', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'simple-obfs', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'trojan-go', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'trojan-plus', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'v2ray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'v2ray-plugin', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'xray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall/Makefile' has a dependency on 'xray-plugin', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'xray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'v2ray-geoip', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'v2ray-geosite', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'brook', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'hysteria', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'shadowsocks-rust-sslocal', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'shadowsocks-rust-ssserver', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'shadowsocksr-libev-ssr-local', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'shadowsocksr-libev-ssr-redir', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'shadowsocksr-libev-ssr-server', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'simple-obfs', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'v2ray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-passwall2/Makefile' has a dependency on 'v2ray-plugin', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'dns2tcp', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-check', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'v2ray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'xray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'hysteria', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocks-rust-sslocal', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocks-rust-ssserver', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'simple-obfs', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'v2ray-plugin', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-local', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-redir', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'shadowsocksr-libev-ssr-server', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-ssr-plus/Makefile' has a dependency on 'trojan', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'shadowsocksr-libev-ssr-local', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'shadowsocksr-libev-ssr-redir', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'shadowsocksr-libev-ssr-check', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'simple-obfs', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'xray-core', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'trojan', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'xray-plugin', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'shadowsocksr-libev-ssr-server', which does not exist WARNING: Makefile 'package/openwrt-packages/luci-app-vssr/Makefile' has a dependency on 'hysteria', which does not exist make[1]: Entering directory '/home/zhangzihan/lede' make[2]: Entering directory '/home/zhangzihan/lede' make[3]: Entering directory '/home/zhangzihan/lede/target/linux' make[4]: Entering directory '/home/zhangzihan/lede/target/linux/rockchip' rm -f /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/localversion /home/zhangzihan/lede/scripts/kconfig.pl + /home/zhangzihan/lede/target/linux/generic/config-5.15 /home/zhangzihan/lede/target/linux/rockchip/armv8/config-5.15 > /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.target awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIGKERNEL","CONFIG_");print}' /home/zhangzihan/lede/.config >> /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.target echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.target echo "# CONFIG_KALLSYMS_ALL is not set" >> /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.target echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >> /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.target /home/zhangzihan/lede/scripts/package-metadata.pl kconfig /home/zhangzihan/lede/tmp/.packageinfo /home/zhangzihan/lede/.config 5.15 > /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.override /home/zhangzihan/lede/scripts/kconfig.pl 'm+' '+' /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.target /dev/null /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.override > /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set mv /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.old grep -v INITRAMFS /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.old > /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set echo 'CONFIG_INITRAMFS_SOURCE=""' >> /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set echo '# CONFIG_INITRAMFS_FORCE is not set' >> /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set rm -rf /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/modules cmp -s /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.prev || { cp /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config; cp /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.prev; } export MAKEFLAGS= ; [ -d /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/user_headers ] || make -C /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70 KCFLAGS="-fmacro-prefix-map=/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl=target-aarch64_generic_musl" HOSTCFLAGS="-O2 -I/home/zhangzihan/lede/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Mon Sep 26 11:25:21 2022" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/zhangzihan/lede/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.15.70 CC="aarch64-openwrt-linux-musl-gcc" INSTALL_HDR_PATH=/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/user_headers headers_install grep '=[ym]' /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.config.set | LC_ALL=C sort | /home/zhangzihan/lede/staging_dir/host/bin/mkhash md5 > /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.vermagic touch /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.configured rm -f /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/vmlinux /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/System.map make -C /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70 KCFLAGS="-fmacro-prefix-map=/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl=target-aarch64_generic_musl" HOSTCFLAGS="-O2 -I/home/zhangzihan/lede/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Mon Sep 26 11:25:21 2022" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/zhangzihan/lede/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.15.70 CC="aarch64-openwrt-linux-musl-gcc" olddefconfig make[5]: Entering directory '/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70' net/sched/Kconfig:45: warning: menuconfig statement without prompt #

No change to .config

# make[5]: Leaving directory '/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70' make -C /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70 KCFLAGS="-fmacro-prefix-map=/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl=target-aarch64_generic_musl" HOSTCFLAGS="-O2 -I/home/zhangzihan/lede/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Mon Sep 26 11:25:21 2022" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/zhangzihan/lede/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.15.70 CC="aarch64-openwrt-linux-musl-gcc" Image dtbs modules make[5]: Entering directory '/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70' CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CHK include/generated/compile.h GEN .version CHK include/generated/compile.h LD vmlinux.o MODPOST vmlinux.symvers MODINFO modules.builtin.modinfo GEN modules.builtin LD .tmp_vmlinux.kallsyms1 KSYMS .tmp_vmlinux.kallsyms1.S AS .tmp_vmlinux.kallsyms1.S LD .tmp_vmlinux.kallsyms2 KSYMS .tmp_vmlinux.kallsyms2.S AS .tmp_vmlinux.kallsyms2.S LD vmlinux SORTTAB vmlinux SYSMAP System.map OBJCOPY arch/arm64/boot/Image MODPOST modules-only.symvers GEN Module.symvers make[5]: Leaving directory '/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70' touch /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/.modules make -C image compile TARGET_BUILD= make[5]: Entering directory '/home/zhangzihan/lede/target/linux/rockchip/image' cp -fpR /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70/COPYING /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/COPYING.linux make[5]: Leaving directory '/home/zhangzihan/lede/target/linux/rockchip/image' make[4]: Leaving directory '/home/zhangzihan/lede/target/linux/rockchip' make[3]: Leaving directory '/home/zhangzihan/lede/target/linux' time: target/linux/compile#20.34#9.06#29.28 make[2]: Leaving directory '/home/zhangzihan/lede' export MAKEFLAGS= ;make -w -r buildinfo make[2]: Entering directory '/home/zhangzihan/lede' make[3] diffconfig buildversion feedsversion make[4] scripts/config/conf make[2]: Leaving directory '/home/zhangzihan/lede' make[2]: Entering directory '/home/zhangzihan/lede' rm -rf /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip make[2]: Leaving directory '/home/zhangzihan/lede' make[2]: Entering directory '/home/zhangzihan/lede' make[3]: Entering directory '/home/zhangzihan/lede/package/libs/libjson-c' mkdir -p /home/zhangzihan/lede/dl SHELL= flock /home/zhangzihan/lede/tmp/.json-c-0.15-nodoc.tar.gz.flock -c ' /home/zhangzihan/lede/scripts/download.pl "/home/zhangzihan/lede/dl" "json-c-0.15-nodoc.tar.gz" "99bca4f944b8ced8ae0bbc6310d6a3528ca715e69541793a1ef51f8c5b4b0878" "" "https://s3.amazonaws.com/json-c_releases/releases/" ' make[3]: Leaving directory '/home/zhangzihan/lede/package/libs/libjson-c' time: package/libs/libjson-c/host-compile#0.38#0.13#0.50 make[3]: Entering directory '/home/zhangzihan/lede/package/libs/libubox' mkdir -p /home/zhangzihan/lede/dl SHELL= flock /home/zhangzihan/lede/tmp/.libubox-2021-05-16-b14c4688.tar.xz.flock -c ' /home/zhangzihan/lede/scripts/download.pl "/home/zhangzihan/lede/dl" "libubox-2021-05-16-b14c4688.tar.xz" "7dd1db1e0074a9c7c722db654cce3111b3bd3cff0bfd791c4497cb0f6c22d3ca" "" || ( echo "Checking out files from the git repository..."; mkdir -p /home/zhangzihan/lede/tmp/dl && cd /home/zhangzihan/lede/tmp/dl && rm -rf libubox-2021-05-16-b14c4688 && [ ! -d libubox-2021-05-16-b14c4688 ] && git clone https://git.openwrt.org/project/libubox.git libubox-2021-05-16-b14c4688 && (cd libubox-2021-05-16-b14c4688 && git checkout b14c4688612c05c78ce984d7bde633bce8703b1e && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=cd libubox-2021-05-16-b14c4688 && git log -1 --format='\''@%ct'\'' && rm -rf libubox-2021-05-16-b14c4688/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libubox-2021-05-16-b14c4688 | xz -zc -7e > /home/zhangzihan/lede/tmp/dl/libubox-2021-05-16-b14c4688.tar.xz && mv /home/zhangzihan/lede/tmp/dl/libubox-2021-05-16-b14c4688.tar.xz /home/zhangzihan/lede/dl/ && rm -rf libubox-2021-05-16-b14c4688; ) ' make[3]: Leaving directory '/home/zhangzihan/lede/package/libs/libubox' time: package/libs/libubox/host-compile#0.34#0.12#0.42 make[3]: Entering directory '/home/zhangzihan/lede/package/system/opkg' mkdir -p /home/zhangzihan/lede/dl SHELL= flock /home/zhangzihan/lede/tmp/.opkg-2021-06-13-1bf042dd.tar.xz.flock -c ' /home/zhangzihan/lede/scripts/download.pl "/home/zhangzihan/lede/dl" "opkg-2021-06-13-1bf042dd.tar.xz" "aeda4e0f11805bf95fc7be6d38391ce579acd965c8ba6a490b3e8669815b7264" "" || ( echo "Checking out files from the git repository..."; mkdir -p /home/zhangzihan/lede/tmp/dl && cd /home/zhangzihan/lede/tmp/dl && rm -rf opkg-2021-06-13-1bf042dd && [ ! -d opkg-2021-06-13-1bf042dd ] && git clone https://git.openwrt.org/project/opkg-lede.git opkg-2021-06-13-1bf042dd && (cd opkg-2021-06-13-1bf042dd && git checkout 1bf042dd06751b693a8544d2317e5b969d666b69 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=cd opkg-2021-06-13-1bf042dd && git log -1 --format='\''@%ct'\'' && rm -rf opkg-2021-06-13-1bf042dd/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c opkg-2021-06-13-1bf042dd | xz -zc -7e > /home/zhangzihan/lede/tmp/dl/opkg-2021-06-13-1bf042dd.tar.xz && mv /home/zhangzihan/lede/tmp/dl/opkg-2021-06-13-1bf042dd.tar.xz /home/zhangzihan/lede/dl/ && rm -rf opkg-2021-06-13-1bf042dd; ) ' make[3]: Leaving directory '/home/zhangzihan/lede/package/system/opkg' time: package/system/opkg/host-compile#0.37#0.16#0.47 make[3]: Entering directory '/home/zhangzihan/lede/feeds/packages/lang/golang/golang' mkdir -p /home/zhangzihan/lede/dl SHELL= flock /home/zhangzihan/lede/tmp/.go1.4-bootstrap-20171003.tar.gz.flock -c ' /home/zhangzihan/lede/scripts/download.pl "/home/zhangzihan/lede/dl" "go1.4-bootstrap-20171003.tar.gz" "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52" "" "https://dl.google.com/go/" "https://mirrors.ustc.edu.cn/golang/" "https://mirrors.nju.edu.cn/golang/" ' mkdir -p /home/zhangzihan/lede/dl SHELL= flock /home/zhangzihan/lede/tmp/.go1.18.4.src.tar.gz.flock -c ' /home/zhangzihan/lede/scripts/download.pl "/home/zhangzihan/lede/dl" "go1.18.4.src.tar.gz" "4525aa6b0e3cecb57845f4060a7075aafc9ab752bb7b6b4cf8a212d43078e1e4" "" "https://dl.google.com/go/" "https://mirrors.ustc.edu.cn/golang/" "https://mirrors.nju.edu.cn/golang/" ' make[3]: Leaving directory '/home/zhangzihan/lede/feeds/packages/lang/golang/golang' time: package/feeds/packages/golang/host-compile#0.62#0.66#0.93 make[3]: Entering directory '/home/zhangzihan/lede/package/libs/toolchain' mkdir -p /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp SHELL= flock /home/zhangzihan/lede/tmp/.root-copy.flock -c 'cp -fpR /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/toolchain/.pkgdir/libc/. /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/' touch /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp/.libc_installed echo "libc" >> /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install mkdir -p /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp echo '1' | cmp -s - /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/libgcc.version || { echo '1' > /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/libgcc.version; } SHELL= flock /home/zhangzihan/lede/tmp/.root-copy.flock -c 'cp -fpR /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/toolchain/.pkgdir/libgcc/. /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/' touch /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp/.libgcc_installed echo "libgcc" >> /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install mkdir -p /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp echo '1' | cmp -s - /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/libatomic.version || { echo '1' > /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/libatomic.version; } SHELL= flock /home/zhangzihan/lede/tmp/.root-copy.flock -c 'cp -fpR /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/toolchain/.pkgdir/libatomic/. /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/' touch /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp/.libatomic_installed echo "libatomic" >> /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install mkdir -p /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp SHELL= flock /home/zhangzihan/lede/tmp/.root-copy.flock -c 'cp -fpR /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/toolchain/.pkgdir/libpthread/. /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/' touch /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp/.libpthread_installed echo "libpthread" >> /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install mkdir -p /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp SHELL= flock /home/zhangzihan/lede/tmp/.root-copy.flock -c 'cp -fpR /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/toolchain/.pkgdir/librt/. /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/' touch /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp/.librt_installed echo "librt" >> /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install make[3]: Leaving directory '/home/zhangzihan/lede/package/libs/toolchain' time: package/libs/toolchain/compile#0.37#0.19#0.57 make[3]: Entering directory '/home/zhangzihan/lede/package/alist/alist' mkdir -p /home/zhangzihan/lede/dl SHELL= flock /home/zhangzihan/lede/tmp/.alist-3.0.2.tar.gz.flock -c ' /home/zhangzihan/lede/scripts/download.pl "/home/zhangzihan/lede/dl" "alist-3.0.2.tar.gz" "a8d9af1a920f040f7c20157c90700b58cd61e568de1527b231dc0181c5d16713" "" "https://codeload.github.com/alist-org/alist/tar.gz/v3.0.2?" ' rm -f /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built touch /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built_check CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/zhangzihan/lede/tmp/go-build" GO_MOD_CACHE_DIR="/home/zhangzihan/lede/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/alist-org/alist" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/alist-org/alist/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2" GO_BUILD_DIR="/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build" GO_BUILD_BIN_DIR="/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build/bin/linux_arm64" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/zhangzihan/lede/staging_dir/target-aarch64_generic_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=generic -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2=alist-3.0.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/include -I/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/include/fortify -I/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2=alist-3.0.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/lib -L/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build" GOCACHE="/home/zhangzihan/lede/tmp/go-build" GOMODCACHE="/home/zhangzihan/lede/dl/go-mod-cache" GOENV=off /usr/bin/env bash /home/zhangzihan/lede/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1664191521' -linkmode external -extldflags '-L/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/lib -L/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'" -ldflags "-w -s -X github.com/alist-org/alist/v3/internal/conf.Version=v3.0.2-aarch64 -X github.com/alist-org/alist/v3/internal/conf.WebVersion=3.0.2 -buildid '1664191521' -linkmode external -extldflags '-L/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/lib -L/home/zhangzihan/lede/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'"
Finding targets go: downloading github.com/aws/aws-sdk-go v1.44.88 go: downloading github.com/pkg/sftp v1.13.5 go: downloading golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 go: downloading golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b go: downloading github.com/pkg/errors v0.9.1 go: downloading gorm.io/gorm v1.23.6 go: downloading github.com/caarlos0/env/v6 v6.9.3 go: downloading github.com/natefinch/lumberjack v2.0.0+incompatible go: downloading gorm.io/driver/mysql v1.3.4 go: downloading gorm.io/driver/postgres v1.3.7 go: downloading gorm.io/driver/sqlite v1.3.4 go: downloading github.com/Xhofe/go-cache v0.0.0-20220723083548-714439c8af9a go: downloading github.com/winfsp/cgofuse v1.5.0 go: downloading github.com/gin-gonic/gin v1.8.0 verifying github.com/gin-gonic/gin@v1.8.0: checksum mismatch downloaded: h1:gcAUpegZ91QWGm03w0CjjJ0+rjxmG3pbBbT0aiT82s8= go.sum: h1:4WFH5yycBMA3za5Hnl425yd9ymdw1XPm4666oab+hv4=

SECURITY ERROR This download does NOT match an earlier download recorded in go.sum. The bits may have been replaced on the origin server, or an attacker may have intercepted the download attempt.

For more information, see 'go help module-auth'.

Building targets no Go files in /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build

make[3]: [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1 make[3]: Leaving directory '/home/zhangzihan/lede/package/alist/alist' time: package/alist/alist/compile#12.68#2.62#15.78 ERROR: package/alist/alist failed to build. make[2]: [package/Makefile:116: package/alist/alist/compile] Error 1 make[2]: Leaving directory '/home/zhangzihan/lede' make[1]: [package/Makefile:110: /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/zhangzihan/lede' make: [/home/zhangzihan/lede/include/toplevel.mk:230:world] 错误 2 root@zhangzihan-virtual-machine:/home/zhangzihan/lede#

sbwml commented 1 year ago

整个删掉这个目录会怎么样 rm -rf dl/go-mod-cache

Crochip1 commented 1 year ago

整个删掉这个目录会怎么样 rm -rf dl/go-mod-cache

go: downloading github.com/jackc/pgx/v4 v4.16.1 go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading github.com/jinzhu/now v1.1.5 go: downloading github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. github.com/aws/aws-sdk-go@v1.44.88: reading github.com/aws/aws-sdk-go/go.mod at revision v1.44.88: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/zhangzihan/lede/dl/go-mod-cache/cache/vcs/b3c0b920408a036a00409211751cef8a0f1a5493ca7145bea33987ab25941e1c: exit status 128: fatal: unable to access 'https://github.com/aws/aws-sdk-go/': Failed to connect to github.com port 443 after 21025 ms: Connection refused

Building targets no Go files in /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build

make[3]: [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1 make[3]: Leaving directory '/home/zhangzihan/lede/package/alist/alist' time: package/alist/alist/compile#8.22#4.85#414.76 ERROR: package/alist/alist failed to build. make[2]: [package/Makefile:116: package/alist/alist/compile] Error 1 make[2]: Leaving directory '/home/zhangzihan/lede' make[1]: [package/Makefile:110: /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/zhangzihan/lede' make: [/home/zhangzihan/lede/include/toplevel.mk:230:world] 错误 2

sbwml commented 1 year ago

你的网络问题。好好研究研究你编译环境要怎么做才能网络畅通

最起码要实现 curl -I -o /dev/null -s -w %{http_code} http://www.google.com/generate_204 204

Crochip1 commented 1 year ago

好好研究研究你的编译环境要怎么做才能网络畅通

最起码要实现 curl -I -o /dev/null -s -w %{http_code} http://www.google.com/generate_204 204

好的好的 麻烦了