It seems as though a recent commit to catalyst has broken builds for the system target. Catalyst tries to run 'emerge --depclean --with-bdeps=n' during the preclean phase and fails because /etc/make.profile doesn't exist. See the output below: --- >>> Regenerating /etc/ld.so.cache... emerge --depclean --with-bdeps=n !!! /etc/make.profile is not a symlink and will probably prevent most merges. !!! It should point into a profile within /usr/portage/profiles/ !!! (You can safely ignore this message when syncing. It's harmless.) !!! catalyst: preclean script failed. (exit code 1) --- I tried looking at the code to create a patch but I couldn't find a clean way to fix it. I believe commit df8d5609 is the culprit that bring in the issue. For now I've removed system from the case statement so I can build a stage even though it might not be completely clean.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5dd31a12da4f85070d1882a488a73368729d4244 commit 5dd31a12da4f85070d1882a488a73368729d4244 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-03-30 23:35:23 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-03-30 23:47:16 +0000 targets: Remove 'system' target remnants Has been broken for 10 years at least, and system.py was merged out of existence in commit 415b30bf2d34 (Replace content on master with content from catalyst_2) Closes: https://bugs.gentoo.org/301153 Signed-off-by: Matt Turner <mattst88@gentoo.org> targets/support/chroot-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)