Comments (8)
已修复
from luci-app-alist.
已修复
3.20和3.21编译都报错,换成3.19正常
from luci-app-alist.
有效的交流是你告诉我它失败的过程(logs),我告诉你解决的方法。
一上来就只有它编译报错,我上哪猜去。就这么说吧 https://github.com/sbwml/luci-app-alist/releases/tag/v3.20.1 页面的 ipk 也是openwrt 源码编译出来的,如果源码是有错误的,它就根本不可能会编译出 ipk
from luci-app-alist.
3.21编译报错,换成3.19正常
from luci-app-alist.
算命都要生辰八字,日志呢
from luci-app-alist.
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.
note: module requires Go 1.20
from luci-app-alist.
go 1.19升级到1.20就解决了 感谢大佬~
from luci-app-alist.
Related Issues (20)
- 图片预览问题
- 更新后alist丢失 HOT 25
- iStore系统全新安装3.33 后没有alist菜单 HOT 17
- http和https的问题 HOT 1
- 无法运行 HOT 1
- 莫名其妙自动停止又自动运行 HOT 2
- ✅无法启动alist的解决方法
- alist启动日志,总是提示not enable search HOT 2
- alist 日志文件位置 HOT 1
- 编译失败 HOT 6
- [requests] 增加监听配置:address HOT 3
- github.cooluc.com镜像坏了 HOT 3
- 装完alist,服务菜单变成网络存储了 HOT 2
- alist使用aria2下载,显示磁盘空间不足
- 请问R2S怎么更新
- 编译失败 HOT 4
- luci-app-alist提示`Alist 运行中`就是个笑话 HOT 3
- failed to build this. HOT 1
- v3.31.0没发布openwrt-21.02-xxx版本 HOT 4
- 大佬MTK7981这一芯片是armv8架构请问用哪个啊 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luci-app-alist.