Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19592 - Portage deleting make.conf with build in USE breaks stages
Summary: Portage deleting make.conf with build in USE breaks stages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-18 22:27 UTC by Jon Portnoy (RETIRED)
Modified: 2003-04-21 19:21 UTC (History)
2 users (show)

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 Jon Portnoy (RETIRED) gentoo-dev 2003-04-18 22:27:21 UTC
In the Portage ebuild:

        use build && [ -f /etc/make.conf ] && rm -f ${D}/etc/make.conf

This has the unintended consequence of breaking stage building. Stages are left
without a make.conf in the end, which causes things like the initial `emerge
sync` to fail (as well as env-update). We fixed this problem manually for rc4,
but a less temporary solution would be optimal.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-04-21 19:21:36 UTC
Ummmm... Is this supposed to be against the old code?

Note the middle portion of that line. If make.conf
exists, then the new make.conf isn't deleted...
Conversely... It only replaces the conf when !build
and it doesn't already exist. The problem has been
fixed, I do believe.