Would you mind adding aarch64
to the list of supported architectures?
No other modifications needed - it builds and runs flawlessly on my aarch64 systems (raspi 4 and 5, nanopi r5s and macbook air m2).
Git Clone URL: | https://aur.archlinux.org/etcd.git (read-only, click to copy) |
---|---|
Package Base: | etcd |
Description: | A highly-available key value store for shared configuration and service discovery. |
Upstream URL: | https://github.com/etcd-io/etcd |
Licenses: | Apache |
Submitter: | xeross |
Maintainer: | andrewSC |
Last Packager: | andrewSC |
Votes: | 44 |
Popularity: | 0.22 |
First Submitted: | 2013-10-02 12:54 (UTC) |
Last Updated: | 2024-11-12 16:50 (UTC) |
Would you mind adding aarch64
to the list of supported architectures?
No other modifications needed - it builds and runs flawlessly on my aarch64 systems (raspi 4 and 5, nanopi r5s and macbook air m2).
thanks @keyston @andrewSC, thanks that worked.
Keystone: I do have notifications enabled and will be looking at the package tomorrow.
@k2patel My comment is the one below yours and suggests a solution. Etcd is also provided by kubeadm without needing the AUR, I only needed thing package for etcdctl. @andrewSC not sure if you have notifications enabled, but something has changed in an upstream dep.
stderr: -linkmode=external requires external (cgo) linking, but cgo is not enabled
FAIL: (code:1):
% (cd server && 'env' 'CGO_ENABLED=0' 'GO_BUILD_FLAGS=-trimpath -buildmode=pie -mod=readonly -modcacherw' 'GOOS=linux' 'GOARCH=amd64' 'go' 'build' '-trimpath' '-buildmode=pie' '-mod=readonly' '-modcacherw' '-trimpath' '-installsuffix=cgo' '-ldflags=-linkmode=external -extldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -X=go.etcd.io/etcd/api/v3/version.GitSHA=9ba9abe' '-o=../bin/etcd' '.')
FAIL: etcd_build (GOARCH=amd64)
Is there any workaround for this.
This occurred during a build today:
==> Starting build()...
% 'rm' '-f' 'bin/etcd'
% (cd server && 'env' 'CGO_ENABLED=0' 'GO_BUILD_FLAGS=-trimpath -buildmode=pie -mod=readonly -modcacherw' 'GOOS=linux' 'GOARCH=amd64' 'go' 'build' '-trimpath' '-buildmode=pie' '-mod=readonly' '-modcacherw' '-trimpath' '-installsuffix=cgo' '-ldflags=-linkmode=external -extldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -X=go.etcd.io/etcd/api/v3/version.GitSHA=9ba9abe' '-o=../bin/etcd' '.')
stderr: -linkmode=external requires external (cgo) linking, but cgo is not enabled
FAIL: (code:1):
% (cd server && 'env' 'CGO_ENABLED=0' 'GO_BUILD_FLAGS=-trimpath -buildmode=pie -mod=readonly -modcacherw' 'GOOS=linux' 'GOARCH=amd64' 'go' 'build' '-trimpath' '-buildmode=pie' '-mod=readonly' '-modcacherw' '-trimpath' '-installsuffix=cgo' '-ldflags=-linkmode=external -extldflags=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -X=go.etcd.io/etcd/api/v3/version.GitSHA=9ba9abe' '-o=../bin/etcd' '.')
FAIL: etcd_build (GOARCH=amd64)
Consider removing -linkmode=external from GO_LDFLAGS
Can confirm, this does build on aarch64. I had to install gcc for it to build, which would be nice to have a make dependency.
jwh: I unfortunately don't have an aarch64 system to test on presently. Are you able to confirm that this package builds and functions correctly on that arch? If so I'd be happy to add it.
Any chance of getting aarch64 added to the arch list?
Pinned Comments
galaux commented on 2018-02-25 17:41 (UTC)
Adding
keyserver-options auto-key-retrieve
to~/.gnupg/gpg.conf
enablesmakepkg
to use thevalidpgpkeys
provided in the PKGBUILD so that it can check the signature is the valid regarding the key specified by the packager.