Summary: | Prefix RAP bootstrap fails at stage 1 on CHOST=aarch64-unknown-linux-gnu: No prefix/linux/arm64 profile | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Yuan Liao (Leo3418) <liaoyuan> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.e.droge, chewi, flow, kenneth.hoste, railwaycat |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/30568 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Compressed stage1.log |
Description
Yuan Liao (Leo3418)
2023-02-02 02:48:49 UTC
I can reproduce this issue on the latest Asahi linux with m1 mac. I was running into the same issue on a Graviton2 CPU in AWS, but I could fix it by creating an arm64 profile after it failed: ${EPREFIX}/var/db/repos/gentoo/profiles/prefix/linux/arm64 This directory should contain: $ cat ${EPREFIX}/var/db/repos/gentoo/profiles/prefix/linux/arm64/eapi 5 $ cat ${EPREFIX}/var/db/repos/gentoo/profiles/prefix/linux/arm64/parent ../../../default/linux/arm64/17.0 .. $ cat ${EPREFIX}/var/db/repos/gentoo/profiles/prefix/linux/arm64/make.defaults # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 ACCEPT_KEYWORDS="arm64 ~arm64" # Not sure if this is required as well, seems to be the default: # CHOST=aarch64-unknown-linux-gnu Then just run the bootstrap script again and it should continue. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afb91b375211aad29916d091ac962d272fe6e48 commit 6afb91b375211aad29916d091ac962d272fe6e48 Author: Bob Dröge <b.e.droge@rug.nl> AuthorDate: 2023-04-12 07:42:44 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2023-04-12 14:05:20 +0000 profiles/prefix/linux: add arm64 profile Closes: https://bugs.gentoo.org/892876 Closes: https://github.com/gentoo/gentoo/pull/30568 Signed-off-by: Bob Dröge <b.e.droge@rug.nl> Signed-off-by: Guilherme Amadio <amadio@gentoo.org> profiles/prefix/linux/arm64/eapi | 1 + profiles/prefix/linux/arm64/make.defaults | 7 +++++++ profiles/prefix/linux/arm64/parent | 2 ++ 3 files changed, 10 insertions(+) |