I tried to install dev-db/mongodb-5.0.2-r1 on my ARM64 vps, which hosted on Oracle cloud, at 2021-1-31. (I didn't do any extra work other than copy the ebuild and remove the cpu_flags_x86_avx requirement) It runs and works well so far (no error, no invalid op code which reported in https://bugs.gentoo.org/809692). So I think this requirement is not necessary and can be removed safely? The CPU_FLAGS_ARM which determined by cpuid2cpuflags are "edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2". Reproducible: Always
the https://docs.mongodb.com/v5.0/administration/production-notes/
I misread the mentioned bug, the "cpu_flags_x86_avx" is necessary for AMD64 arch, but it prevent the installation of mongodb on ARM64 arch.
Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9f6fcd42024201986cf92968a2fd14143e447e commit 2a9f6fcd42024201986cf92968a2fd14143e447e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-06 00:30:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-06 00:30:41 +0000 dev-db/mongodb: fix pkg_setup for non-amd64 (e.g. arm64) Closes: https://bugs.gentoo.org/832761 Signed-off-by: Sam James <sam@gentoo.org> dev-db/mongodb/mongodb-5.0.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f3178c560b125ba28e9f43a56f9bfe3bec2667 commit 81f3178c560b125ba28e9f43a56f9bfe3bec2667 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-10 11:44:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-10 11:44:32 +0000 dev-db/mongodb: forward-port arm64 pkg_setup fix Lost in 5.0.5 bump (think PR was made before I'd made the fix to earlier version). Bug: https://bugs.gentoo.org/832761 Closes: https://bugs.gentoo.org/833076 Signed-off-by: Sam James <sam@gentoo.org> dev-db/mongodb/mongodb-5.0.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)