Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.36.0编译出错 #119

Open
caixin1218 opened this issue Jul 22, 2024 · 1 comment
Open

3.36.0编译出错 #119

caixin1218 opened this issue Jul 22, 2024 · 1 comment

Comments

@caixin1218
Copy link

SHELL= flock /ubuntu/peaceful/tmp/.root-copy.flock -c 'cp -fpR /ubuntu/peaceful/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06/.pkgdir/grub2/. /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/'
touch /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/stamp/.grub2_installed
echo "grub2" >> /ubuntu/peaceful/staging_dir/target-x86_64_musl/pkginfo/grub2.pc.install
make[3]: Leaving directory '/ubuntu/peaceful/package/boot/grub2'
time: package/boot/grub2/pc/compile#2.33#0.51#4.34
make[3]: Entering directory '/ubuntu/peaceful/feeds/packages/lang/golang/golang'
make[3]: Leaving directory '/ubuntu/peaceful/feeds/packages/lang/golang/golang'
time: package/feeds/packages/golang/host-compile#1.20#0.69#1.46
make[3]: Entering directory '/ubuntu/peaceful/package/system/ca-certificates'
mkdir -p /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /ubuntu/peaceful/tmp/.root-copy.flock -c 'cp -fpR /ubuntu/peaceful/build_dir/target-x86_64_musl/ca-certificates-20211016/.pkgdir/ca-bundle/. /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/'
touch /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/stamp/.ca-bundle_installed
echo "ca-bundle" >> /ubuntu/peaceful/staging_dir/target-x86_64_musl/pkginfo/ca-certificates.default.install
mkdir -p /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/stamp
SHELL= flock /ubuntu/peaceful/tmp/.root-copy.flock -c 'cp -fpR /ubuntu/peaceful/build_dir/target-x86_64_musl/ca-certificates-20211016/.pkgdir/ca-certificates/. /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/'
touch /ubuntu/peaceful/staging_dir/target-x86_64_musl/root-x86/stamp/.ca-certificates_installed
echo "ca-certificates" >> /ubuntu/peaceful/staging_dir/target-x86_64_musl/pkginfo/ca-certificates.default.install
make[3]: Leaving directory '/ubuntu/peaceful/package/system/ca-certificates'
time: package/system/ca-certificates/compile#0.37#0.12#11.54
make[3]: Entering directory '/ubuntu/peaceful/feeds/Alist/alist'
rm -f /ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0/.built
touch /ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0/.built_check
CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/ubuntu/peaceful/tmp/go-build" GO_MOD_CACHE_DIR="/ubuntu/peaceful/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="/ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0" GO_BUILD_DIR="/ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0/.go_work/build" GO_BUILD_BIN_DIR="/ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0/.go_work/build/bin" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/ubuntu/peaceful/staging_dir/target-x86_64_musl/usr/share/gocode/src" GOOS="linux" GOARCH="amd64" GO386="" GOAMD64="v1" GOARM="" GOMIPS="" GOMIPS64="" GOPPC64="" CGO_ENABLED=1 CC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0=alist-3.36.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_LARGEFILE64_SOURCE" CGO_CPPFLAGS="-I/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/include -I/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include/fortify -I/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0=alist-3.36.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -D_LARGEFILE64_SOURCE" CGO_LDFLAGS="-L/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -znow -zrelro" GOPATH="/ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0/.go_work/build" GOCACHE="/ubuntu/peaceful/tmp/go-build" GOMODCACHE="/ubuntu/peaceful/dl/go-mod-cache" GOENV=off GOTOOLCHAIN=local /usr/bin/env bash /ubuntu/peaceful/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1686251287' -linkmode external -extldflags '-L/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'" -ldflags "-X 'github.com/alist-org/alist/v3/internal/conf.BuiltAt=2024-07-22 00:07:36 +0000' -X 'github.com/alist-org/alist/v3/internal/conf.GoVersion=go1.22.1 linux/amd64' -X 'github.com/alist-org/alist/v3/internal/conf.GitAuthor=Xhofe [email protected]' -X 'github.com/alist-org/alist/v3/internal/conf.GitCommit=tarball/809072b' -X 'github.com/alist-org/alist/v3/internal/conf.Version=v3.36.0 (OpenWrt x86_64)' -X 'github.com/alist-org/alist/v3/internal/conf.WebVersion=3.36.0' -buildid '1686251287' -linkmode external -extldflags '-L/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/usr/lib -L/ubuntu/peaceful/staging_dir/toolchain-x86_64_gcc-11.3.0_musl/lib -Wl,-z,now -Wl,-z,relro'"
Finding targets
go: ../../go.mod requires go >= 1.22.4 (running go 1.22.1; GOTOOLCHAIN=local)

Building targets
go: ../../go.mod requires go >= 1.22.4 (running go 1.22.1; GOTOOLCHAIN=local)

make[3]: *** [Makefile:99: /ubuntu/peaceful/build_dir/target-x86_64_musl/alist-3.36.0/.built] Error 1
make[3]: Leaving directory '/ubuntu/peaceful/feeds/Alist/alist'
time: package/feeds/Alist/alist/compile#0.42#0.39#21.81
ERROR: package/feeds/Alist/alist failed to build.
make[2]: *** [package/Makefile:116: package/feeds/Alist/alist/compile] Error 1
make[2]: Leaving directory '/ubuntu/peaceful'
make[1]: *** [package/Makefile:110: /ubuntu/peaceful/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/ubuntu/peaceful'
make: *** [/ubuntu/peaceful/include/toplevel.mk:231: world] Error 2

@sbwml
Copy link
Owner

sbwml commented Jul 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants