Not building in chroot, that is written in the pinned comment
Tried chroot and had the same issue. Not really sure why the bootstrap failed. A couple of years ago this also happened:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374
EDIT: nvm clean chroot fixed it
Pinned Comments
FabioLolix commented on 2025-06-30 21:14 (UTC)
If you encountering build issues build in a clean chroot See https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
You can find prebuild packages here https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/