Giter Club home page Giter Club logo

Comments (8)

sbwml avatar sbwml commented on July 20, 2024 1

已修复

from luci-app-alist.

GreenTeodoro839 avatar GreenTeodoro839 commented on July 20, 2024

已修复

3.20和3.21编译都报错,换成3.19正常

from luci-app-alist.

sbwml avatar sbwml commented on July 20, 2024

有效的交流是你告诉我它失败的过程(logs),我告诉你解决的方法。

一上来就只有它编译报错,我上哪猜去。就这么说吧 https://github.com/sbwml/luci-app-alist/releases/tag/v3.20.1 页面的 ipk 也是openwrt 源码编译出来的,如果源码是有错误的,它就根本不可能会编译出 ipk

from luci-app-alist.

DHDAXCW avatar DHDAXCW commented on July 20, 2024

3.21编译报错,换成3.19正常

from luci-app-alist.

sbwml avatar sbwml commented on July 20, 2024

算命都要生辰八字,日志呢

from luci-app-alist.

DHDAXCW avatar DHDAXCW commented on July 20, 2024
d@d:~/actions/openwrt$ make package/alist/alist/compile V=99
make[2]: Entering directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/scripts/config'
make[1]: Entering directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt'
make[2]: Entering directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/customfeeds/packages/lang/golang/golang'
make[2]: Leaving directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/customfeeds/packages/lang/golang/golang'
time: package/feeds/packages/golang/host-compile#0.47#0.17#0.53
make[2]: Entering directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/package/libs/toolchain'
echo "libc" >> /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install
echo "libatomic" >> /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/target-aarch64_generic_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/package/libs/toolchain'
time: package/libs/toolchain/compile#0.18#0.04#0.20
make[2]: Entering directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/package/alist/alist'
rm -f /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1/.built
touch /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1/.built_check
CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/tmp/go-build" GO_MOD_CACHE_DIR="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/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/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1" GO_BUILD_DIR="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1/.go_work/build" GO_BUILD_BIN_DIR="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1/.go_work/build/bin/linux_arm64" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/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 -fmacro-prefix-map=/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1=alist-3.20.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_LARGEFILE64_SOURCE" CGO_CPPFLAGS="-I/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/include -I/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/include/fortify -I/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1=alist-3.20.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_LARGEFILE64_SOURCE" CGO_LDFLAGS="-L/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/lib -L/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1/.go_work/build" GOCACHE="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/tmp/go-build" GOMODCACHE="/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/dl/go-mod-cache" GOENV=off /usr/bin/env bash /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1688104908' -linkmode external -extldflags '-L/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/lib -L/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/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.20.1-aarch64 -X github.com/alist-org/alist/v3/internal/conf.WebVersion=3.20.0 -buildid '1688104908' -linkmode external -extldflags '-L/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/usr/lib -L/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/staging_dir/toolchain-aarch64_generic_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'"
Finding targets

Building targets
github.com/foxxorcat/mopan-sdk-go
# github.com/foxxorcat/mopan-sdk-go
../../../../../dl/go-mod-cache/github.com/foxxorcat/[email protected]/client.go:145:26: undefined: errors.Join
note: module requires Go 1.20

make[2]: *** [Makefile:76: /home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/build_dir/target-aarch64_generic_musl/alist-3.20.1/.built] Error 2
make[2]: Leaving directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/package/alist/alist'
time: package/alist/alist/compile#5.19#1.09#1.50
    ERROR: package/alist/alist failed to build.
make[1]: *** [package/Makefile:116: package/alist/alist/compile] Error 1
make[1]: Leaving directory '/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt'
make: *** [/home/d/actions/lbc/_work/LubanCat-LEDE/LubanCat-LEDE/openwrt/include/toplevel.mk:231: package/alist/alist/compile] Error 2
d@d:~/actions/openwrt$

from luci-app-alist.

sbwml avatar sbwml commented on July 20, 2024

note: module requires Go 1.20

from luci-app-alist.

DHDAXCW avatar DHDAXCW commented on July 20, 2024

go 1.19升级到1.20就解决了 感谢大佬~

from luci-app-alist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.