Closed ghost closed 2 years ago
我的Action编译没问题。这种编译报错肯定不是passwall的问题。源码近几天没有更新过
我的Action编译没问题。这种编译报错肯定不是passwall的问题。源码近几天没有更新过
开了多线程编译的锅
我的Action编译没问题。这种编译报错肯定不是passwall的问题。源码近几天没有更新过
开了多线程编译的锅
不是多线程的锅,我一直都是多线程,建议去掉klever1988/cachewrtbuild@main。我之前用这个cache老出现诡异的问题。
描述bug
trojan-go在线编译报错
日志信息
2021-12-10T09:48:35.2871858Z install -d -m0755 /workdir/openwrt/bin/packages/x86_64/passwall 2021-12-10T09:48:35.2895289Z /workdir/openwrt/staging_dir/host/bin/fakeroot /workdir/openwrt/scripts/ipkg-build -m "" /workdir/openwrt/build_dir/target-x86_64_musl/trojan-go-0.10.6/ipkg-x86_64/trojan-go /workdir/openwrt/bin/packages/x86_64/passwall 2021-12-10T09:48:36.3581622Z Packaged contents of /workdir/openwrt/build_dir/target-x86_64_musl/trojan-go-0.10.6/ipkg-x86_64/trojan-go into /workdir/openwrt/bin/packages/x86_64/passwall/trojan-go_0.10.6-1_x86_64.ipk 2021-12-10T09:48:36.3659547Z echo "trojan-go" >> /workdir/openwrt/staging_dir/target-x86_64_musl/pkginfo/trojan-go.default.install 2021-12-10T09:48:36.3677776Z rm -rf /workdir/openwrt/tmp/stage-trojan-go 2021-12-10T09:48:36.3700359Z mkdir -p /workdir/openwrt/tmp/stage-trojan-go/host /workdir/openwrt/staging_dir/target-x86_64_musl/packages 2021-12-10T09:48:36.3726188Z CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/workdir/openwrt/tmp/go-build" GO_MOD_CACHE_DIR="/workdir/openwrt/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/p4gefau1t/trojan-go" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/p4gefau1t/trojan-go" GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/workdir/openwrt/build_dir/target-x86_64_musl/trojan-go-0.10.6" GO_BUILD_DIR="/workdir/openwrt/build_dir/target-x86_64_musl/trojan-go-0.10.6/.go_work/build" GO_BUILD_BIN_DIR="/workdir/openwrt/build_dir/target-x86_64_musl/trojan-go-0.10.6/.go_work/build/bin" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/workdir/openwrt/staging_dir/target-x86_64_musl/usr/share/gocode/src" /usr/bin/env bash /workdir/openwrt/feeds/packages/lang/golang//golang-build.sh install_src "/workdir/openwrt/tmp/stage-trojan-go" 2021-12-10T09:48:36.3854962Z find /workdir/openwrt/tmp/stage-trojan-go -name '.la' | xargs -r rm -f; 2021-12-10T09:48:36.3888338Z if [ -f /workdir/openwrt/staging_dir/target-x86_64_musl/packages/trojan-go.list ]; then /workdir/openwrt/scripts/clean-package.sh "/workdir/openwrt/staging_dir/target-x86_64_musl/packages/trojan-go.list" "/workdir/openwrt/staging_dir/target-x86_64_musl"; fi 2021-12-10T09:48:36.3906713Z if [ -d /workdir/openwrt/tmp/stage-trojan-go ]; then (cd /workdir/openwrt/tmp/stage-trojan-go; find ./ > /workdir/openwrt/tmp/stage-trojan-go.files); SHELL= flock /workdir/openwrt/tmp/.staging-dir.flock -c ' mv /workdir/openwrt/tmp/stage-trojan-go.files /workdir/openwrt/staging_dir/target-x86_64_musl/packages/trojan-go.list && cp -fpR /workdir/openwrt/tmp/stage-trojan-go/ /workdir/openwrt/staging_dir/target-x86_64_musl/; '; fi 2021-12-10T09:48:36.4038560Z rm -rf /workdir/openwrt/tmp/stage-trojan-go 2021-12-10T09:48:36.4090457Z touch /workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.trojan-go_installed 2021-12-10T09:48:36.4111436Z make[3]: Leaving directory '/workdir/openwrt/feeds/passwall/trojan-go' 2021-12-10T09:48:36.4116906Z time: package/feeds/passwall/trojan-go/compile#28.05#3.51#20.68 2021-12-10T09:48:36.4131493Z make[2]: Leaving directory '/workdir/openwrt' 2021-12-10T09:48:36.4132749Z make[1]: [package/Makefile:110: /workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 2021-12-10T09:48:36.4136724Z make[1]: Leaving directory '/workdir/openwrt' 2021-12-10T09:48:36.4141463Z make: [/workdir/openwrt/include/toplevel.mk:230: world] Error 2 2021-12-10T09:48:36.4160197Z ##[error]Process completed with exit code 2.
系统相关信息
github action在线编译