I used to use the official Arch Linux build server for this package. That server comes with 384GB memory.
Replacing "auto" in -n auto
with a small number will reduce the memory consumption, while tests will take much longer.
Git Clone URL: | https://aur.archlinux.org/aws-cli-v2.git (read-only, click to copy) |
---|---|
Package Base: | aws-cli-v2 |
Description: | Unified command line interface for Amazon Web Services (version 2) |
Upstream URL: | https://github.com/aws/aws-cli/tree/v2 |
Licenses: | Apache-2.0 |
Conflicts: | aws-cli |
Provides: | aws-cli |
Submitter: | jelly |
Maintainer: | kstolp |
Last Packager: | kstolp |
Votes: | 28 |
Popularity: | 4.31 |
First Submitted: | 2024-04-21 11:04 (UTC) |
Last Updated: | 2024-11-21 03:58 (UTC) |
I used to use the official Arch Linux build server for this package. That server comes with 384GB memory.
Replacing "auto" in -n auto
with a small number will reduce the memory consumption, while tests will take much longer.
You can find the missing GPG key at https://docs.aws.amazon.com/cli/latest/userguide/getting-started-version.html
2.15.40-1 fails to build on my machine with 128 GB of memory. I'm not sure what supercomputer this works on.
For anyone else running into the following error when trying to update this package, I'll post my workaround below:
gpg: keyserver receive failed: Server indicated a failure
First I listed my keys:
gpg --keyserver hkp://keyserver.ubuntu.com --list-keys
Then, I deleted the old key (which was expired):
gpg --delete-keys FB5DB77FD5C118B80511ADA8A6310ACC4672475C
Finally, I manually imported the latest key from the AWS docs here, by saving the key to a text file, then importing gpg --import <key>
I was then able to update this package using my favorite AUR helper.
Not really a fix, but if you just want to update you can skip the check()
step and it will install without problem.
Run makepkg (or whatever tool you use) with --nocheck
option.
(Or temporarily edit the BUILDENV variable if that doesn't work.
Open /etc/makepkg.conf
-> look for the BUILDENV -> replace check
with !check
)
@gchamon I have the same issue, but for 32 GB RAM and 4 GB swap.
Building this package gobbles copious amounts of ram. Currently my machine with 16GB and 4GB swap will halt indefinitely when trying to build it. Is this expected?
This package was dropped into the AUR as it is currently not compatible with Python 3.12 and it requires too much patching to get it working.
Anyone know why this was removed from extra?
check()
currently fails due to failing tests upstream, I've opened an issue: https://github.com/aws/aws-cli/issues/8644
Pinned Comments
kstolp commented on 2024-10-23 05:14 (UTC)
If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.
You have two options:
1) Import the key into your keyring. ArchWiki article. The key is available in this repo, which is copied from the AWS documentation. e.g.
gpg --import keys/pgp/FB5DB77FD5C118B80511ADA8A6310ACC4672475C.asc
. (recommended)2) Alternatively, you can skip this verification by passing the
--skippgpcheck
argument tomakepkg
when building. (not recommended)