Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301153 - system target fails during preclean phase
Summary: system target fails during preclean phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 00:00 UTC by Lance Albertson (RETIRED)
Modified: 2020-03-30 23:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Albertson (RETIRED) gentoo-dev 2010-01-16 00:00:57 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2020-03-30 23:47:37 UTC
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(-)