Closed newton-miku closed 4 months ago
换一个 golang 试试 git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
似乎问题依旧
newton@ubuntu22-runner:/workdir/mt7622$ rm -rf dl/go-mod-cache/
newton@ubuntu22-runner:/workdir/mt7622$ make package/mosdns/luci-app-mosdns/compile V=s
WARNING: Makefile 'package/feeds/small8/dae/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/small8/daed/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
WARNING: Makefile 'package/feeds/small8/daed-next/Makefile' has a dependency on 'kmod-xdp-sockets-diag', which does not exist
make[2]: Entering directory '/workdir/mt7622/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/workdir/mt7622/scripts/config'
make[1]: Entering directory '/workdir/mt7622'
make[2]: Entering directory '/workdir/mt7622/feeds/luci/modules/luci-base'
. /workdir/mt7622/include/shell.sh; bzcat /workdir/mt7622/dl/LuaSrcDiet-0.12.1.tar.bz2 | tar -C /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1
touch /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1/.prepared22fea06f23b265ec75aa09bc45519b6d_6664517399ebbbc92a37c5bb081b5c53
touch /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1/.configured
make -C src/ clean po2lmo
make[3]: Entering directory '/workdir/mt7622/feeds/luci/modules/luci-base/src'
rm -f po2lmo parser.so version.lua *.o
cc -c -o po2lmo.o po2lmo.c
cc -c -o template_lmo.o template_lmo.c
cc -o po2lmo po2lmo.o template_lmo.o
make[3]: Leaving directory '/workdir/mt7622/feeds/luci/modules/luci-base/src'
make -C /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1 bin/LuaSrcDiet.lua
make[3]: Entering directory '/workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1'
make[3]: Nothing to be done for 'bin/LuaSrcDiet.lua'.
make[3]: Leaving directory '/workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1'
touch /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1/.built
install -d -m0755 /workdir/mt7622/staging_dir/hostpkg/bin
install -m0755 src/po2lmo /workdir/mt7622/staging_dir/hostpkg/bin/po2lmo
install -m0755 /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1/bin/LuaSrcDiet.lua /workdir/mt7622/staging_dir/hostpkg/bin/LuaSrcDiet
mkdir -p /workdir/mt7622/staging_dir/hostpkg/stamp
touch /workdir/mt7622/build_dir/hostpkg/LuaSrcDiet-0.12.1/.built
touch /workdir/mt7622/staging_dir/hostpkg/stamp/.luci-base_installed
make[2]: Leaving directory '/workdir/mt7622/feeds/luci/modules/luci-base'
time: package/feeds/luci/luci-base/host-compile#0.68#0.37#0.96
make[2]: Entering directory '/workdir/mt7622/package/libs/toolchain'
echo "libc" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
echo "libatomic" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
echo "librt" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/workdir/mt7622/package/libs/toolchain'
time: package/libs/toolchain/compile#0.09#0.02#0.11
make[2]: Entering directory '/workdir/mt7622/package/utils/lua'
make[2]: Leaving directory '/workdir/mt7622/package/utils/lua'
time: package/utils/lua/host-compile#0.08#0.05#0.12
make[2]: Entering directory '/workdir/mt7622/feeds/luci/modules/luci-compat'
echo "luci-compat" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/luci-compat.default.install
make[2]: Leaving directory '/workdir/mt7622/feeds/luci/modules/luci-compat'
time: package/feeds/luci/luci-compat/compile#0.10#0.07#0.17
make[2]: Entering directory '/workdir/mt7622/package/system/ca-certificates'
echo "ca-bundle" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/ca-certificates.default.install
echo "ca-certificates" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/ca-certificates.default.install
make[2]: Leaving directory '/workdir/mt7622/package/system/ca-certificates'
time: package/system/ca-certificates/compile#0.08#0.03#0.11
make[2]: Entering directory '/workdir/mt7622/feeds/packages/libs/nghttp2'
echo "libnghttp2" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/nghttp2.default.install
make[2]: Leaving directory '/workdir/mt7622/feeds/packages/libs/nghttp2'
time: package/feeds/packages/nghttp2/compile#0.08#0.04#0.12
make[2]: Entering directory '/workdir/mt7622/package/firmware/linux-firmware'
make[2]: Nothing to be done for 'compile'.
make[2]: Leaving directory '/workdir/mt7622/package/firmware/linux-firmware'
time: package/firmware/linux-firmware/compile#0.78#0.21#0.99
make[2]: Entering directory '/workdir/mt7622/package/kernel/linux'
echo "kernel" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-md-mod" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-md-raid0" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-md-raid1" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-md-raid10" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-acompress" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-aead" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-arc4" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-authenc" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-ccm" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-cmac" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-crc32c" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-ctr" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-ecb" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-gcm" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-gf128" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-ghash" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-hash" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-hmac" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-lib-chacha20" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-lib-chacha20poly1305" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-lib-curve25519" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-lib-poly1305" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-manager" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-null" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-rng" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-seqiv" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-sha1" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-sha512" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-crypto-user" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-hwmon-core" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-leds-gpio" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-lib-crc-ccitt" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-lib-crc32c" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-lib-lzo" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-lib-textsearch" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-asn1-decoder" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-macvlan" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-reject" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-reject6" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-ipt" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-core" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-conntrack" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-conntrack6" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-log" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-log6" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-nat" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
WARNING: kmod-nf-nat6 is not available in the kernel config - generating empty package
echo "kmod-nf-flow" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-tproxy" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-conntrack" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-offload" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-ipset" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-nat" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-raw" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-nathelper" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-nathelper-extra" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-tproxy" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ipt-extra" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nfnetlink" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nf-conntrack-netlink" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nft-core" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nft-nat" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nft-offload" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-nft-fib" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-udptunnel4" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-udptunnel6" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-tun" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-slhc" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-ppp" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-pppox" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-pppoe" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-mppe" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-tcp-bbr" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
echo "kmod-wireguard" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
WARNING: kmod-thermal is not available in the kernel config - generating empty package
echo "kmod-thermal" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/linux.default.install
make[2]: Leaving directory '/workdir/mt7622/package/kernel/linux'
time: package/kernel/linux/compile#1.74#0.59#2.32
make[2]: Entering directory '/workdir/mt7622/package/kernel/cryptodev-linux'
echo "kmod-cryptodev" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/cryptodev-linux.default.install
make[2]: Leaving directory '/workdir/mt7622/package/kernel/cryptodev-linux'
time: package/kernel/cryptodev-linux/compile#0.10#0.04#0.13
make[2]: Entering directory '/workdir/mt7622/package/libs/openssl'
Package/openssl/add-module 1='provider'; 2='legacy'; 3='/usr/lib/ossl-modules' 4=''
MOD_TYPE='provider'; MOD_NAME='legacy'; MOD_DIR='/usr/lib/ossl-modules' OSSL_PKG='libopenssl-legacy'
Package/openssl/add-module 1='engine'; 2='afalg'; 3='/usr/lib/engines-3' 4=''
MOD_TYPE='engine'; MOD_NAME='afalg'; MOD_DIR='/usr/lib/engines-3' OSSL_PKG='libopenssl-afalg'
Package/openssl/add-module 1='engine'; 2='devcrypto'; 3='/usr/lib/engines-3' 4=''
MOD_TYPE='engine'; MOD_NAME='devcrypto'; MOD_DIR='/usr/lib/engines-3' OSSL_PKG='libopenssl-devcrypto'
Package/openssl/add-module 1='engine'; 2='padlock'; 3='/usr/lib/engines-3' 4=''
MOD_TYPE='engine'; MOD_NAME='padlock'; MOD_DIR='/usr/lib/engines-3' OSSL_PKG='libopenssl-padlock'
echo "libopenssl" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/openssl.default.install
echo "libopenssl-conf" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/openssl.default.install
make[2]: Leaving directory '/workdir/mt7622/package/libs/openssl'
time: package/libs/openssl/compile#0.10#0.09#0.16
make[2]: Entering directory '/workdir/mt7622/feeds/packages/net/curl'
echo "libcurl" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/curl.default.install
echo "curl" >> /workdir/mt7622/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/curl.default.install
make[2]: Leaving directory '/workdir/mt7622/feeds/packages/net/curl'
time: package/feeds/packages/curl/compile#0.08#0.08#0.14
make[2]: Entering directory '/workdir/mt7622/feeds/packages/lang/golang/golang'
make[2]: Leaving directory '/workdir/mt7622/feeds/packages/lang/golang/golang'
time: package/feeds/packages/golang/host-compile#0.48#0.22#0.62
make[2]: Entering directory '/workdir/mt7622/package/mosdns/mosdns'
rm -f /workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1/.built
touch /workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1/.built_check
CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/workdir/mt7622/tmp/go-build" GO_MOD_CACHE_DIR="/workdir/mt7622/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/IrineSistiana/mosdns" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/IrineSistiana/mosdns/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1" GO_BUILD_DIR="/workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1/.go_work/build" GO_BUILD_BIN_DIR="/workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1/.go_work/build/bin/linux_arm64" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/workdir/mt7622/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=/workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1=mosdns-5.3.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/include -I/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/include/fortify -I/workdir/mt7622/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=/workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1=mosdns-5.3.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1/.go_work/build" GOCACHE="/workdir/mt7622/tmp/go-build" GOMODCACHE="/workdir/mt7622/dl/go-mod-cache" GOENV=off GOTOOLCHAIN=local /usr/bin/env bash /workdir/mt7622/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1696305835' -linkmode external -extldflags '-L/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'" -ldflags " -X main.version=v5.3.1 -buildid '1696305835' -linkmode external -extldflags '-L/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/usr/lib -L/workdir/mt7622/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'"
Finding targets
go: downloading github.com/IrineSistiana/go-bytes-pool v0.0.0-20230918115058-c72bd9761c57
go: downloading go.uber.org/zap v1.26.0
go: downloading github.com/miekg/dns v1.1.56
go: downloading golang.org/x/time v0.3.0
go: downloading github.com/quic-go/quic-go v0.40.0
go: downloading golang.org/x/sys v0.13.0
go: downloading golang.org/x/net v0.17.0
go: downloading golang.org/x/exp v0.0.0-20231006140011-7918f672742d
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/go-chi/chi/v5 v5.0.10
go: downloading github.com/klauspost/compress v1.17.2
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading golang.org/x/sync v0.4.0
go: downloading google.golang.org/protobuf v1.31.0
go: downloading github.com/IrineSistiana/ipset v0.5.1-0.20220703061533-6e0fc3b04c0a
go: downloading github.com/google/nftables v0.1.0
go: downloading github.com/spf13/cobra v1.7.0
go: downloading github.com/kardianos/service v1.2.2
go: downloading github.com/spf13/viper v1.17.0
go: downloading go4.org/netipx v0.0.0-20230824141953-6213f710f925
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/fsnotify/fsnotify v1.7.0
go: downloading github.com/sagikazarmark/slog-shim v0.1.0
go: downloading github.com/spf13/cast v1.5.1
go: downloading github.com/spf13/afero v1.10.0
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.7
go: downloading github.com/pelletier/go-toml/v2 v2.1.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
go: downloading github.com/quic-go/qpack v0.4.0
go: downloading golang.org/x/crypto v0.14.0
go: downloading github.com/mdlayher/netlink v1.7.2
go: downloading github.com/mdlayher/socket v0.4.1
go: downloading github.com/josharian/native v1.1.0
Building targets
google.golang.org/protobuf/internal/flags
# google.golang.org/protobuf/internal/flags
../../../../../dl/go-mod-cache/google.golang.org/protobuf@v1.31.0/internal/flags/flags.go:17:21: undefined: protoLegacy
make[2]: *** [Makefile:47: /workdir/mt7622/build_dir/target-aarch64_cortex-a53_musl/mosdns-5.3.1/.built] Error 1
make[2]: Leaving directory '/workdir/mt7622/package/mosdns/mosdns'
time: package/mosdns/mosdns/compile#0.96#2.24#24.23
ERROR: package/mosdns/mosdns failed to build.
make[1]: *** [package/Makefile:116: package/mosdns/mosdns/compile] Error 1
make[1]: Leaving directory '/workdir/mt7622'
make: *** [/workdir/mt7622/include/toplevel.mk:231: package/mosdns/luci-app-mosdns/compile] Error 2
newton@ubuntu22-runner:/workdir/mt7622$
自己编译这种事情,它需要拥有一点点基础 fatal: destination path 'feeds/packages/lang/golang' already exists and is not an empty directory.
自己编译这种事情,它需要拥有一点点基础
fatal: destination path 'feeds/packages/lang/golang' already exists and is not an empty directory.
这个不是我第一次编译的时候拉了两次go源码吗,这一行上面还有一次正常拉取go语言源码的啊
重新拉了一遍golang,最后发现可能是网络问题导致的编译失败,加了个go仓库代理就好了
如上是编译日志,已按照仓库md文件说明拉取最新版本源码