On my armv7 system, running bootstrap-prefix.sh sets a profile default/linux/arm/17.0/prefix/kernel-3.2+, which does not exist. Reproducible: Always Steps to Reproduce: On a 32-bit arm system, run bootstrap-prefix.sh, with default options. Actual Results: Bootstrap errors; * Your profile is set to /tmp/prefix/var/db/repos/gentoo/profiles/default/linux/arm/17.0/prefix/kernel-3.2+. ./bootstrap-prefix.sh: line 461: /tmp/prefix/etc/portage/make.profile/package.use: No such file or directory ... I am using the "existing Gentoo" shortcut, but I can confirm this occurs without using it as well. My system is a QEMU armv7 chroot running Gentoo. In my instance, the profile chosen should really be default/linux/arm/17.0/armv7a/prefix/kernel-3.2+, I believe; manually setting my profile to that and continuing the bootstrap worked past that problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b313adcb844cc7037cc3d19b02ecfcb9c9deb88c commit b313adcb844cc7037cc3d19b02ecfcb9c9deb88c Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2023-12-25 11:10:00 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2023-12-25 11:10:00 +0000 scripts/bootstrap-prefix: fix profile for armv7 targets Thanks fosslinux Closes: https://bugs.gentoo.org/920437 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Sorry, not quite fixed :( I've attached a patch that fixes it properly for me. While I'm at it noticed another obselete case in the CHOST checks, attached a second patch for that unrelated issue.
Created attachment 880791 [details, diff] Fix ARM RAP profile
Created attachment 880792 [details, diff] Remove i386 MacOS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a709bd77db53b483e1b2eb4d77816acfd4f9770a commit a709bd77db53b483e1b2eb4d77816acfd4f9770a Author: fosslinux <fosslinux@aussies.space> AuthorDate: 2023-12-27 11:27:09 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2023-12-29 09:45:38 +0000 scripts/bootstrap-prefix: fix arm RAP profile (again) arm uses a sub-dir for the target, the main is still called arm Closes: https://bugs.gentoo.org/920437 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
thanks, applied your patches!