Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115509 - Ability to resume interrupted emerges without restarting make process
Summary: Ability to resume interrupted emerges without restarting make process
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 02:10 UTC by Michael T
Modified: 2005-12-15 05:34 UTC (History)
1 user (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 Michael T 2005-12-14 02:10:51 UTC
It would be very nice if emerge --resume actually checked to see if an emerge 
of a package had been started and tried to pick up the make where it had left 
off, rather than re-extracting and re-configuring everything.  That way, one 
could interrupt long builds (such as kdelibs, which took more than three hours 
on my machine) and resume them later.  Bearing in mind that emerge --resume is 
not guaranteed to succeed anyway, it could try reemerging the package from 
start if that failed. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Zac Medico gentoo-dev 2005-12-14 13:28:05 UTC
> rather than re-extracting and re-configuring everything.

FYI, `env FEATURES=keepwork emerge --resume` has almost the same behavior,
except the workdir is not cleaned after successful install.  Unfortunately,
there is not a separate src_configure() phase, so something like confcache is
currently needed in order to avoid complete re-configuring.

> emerge --resume is not guaranteed to succeed anyway, it could try reemerging
the package from start if that failed.

Perhaps your proposed feature should be implemented in FEATURES, like keepwork,
and that way when it fails you can run `emerge --resume` with that feature disabled.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2005-12-15 05:34:21 UTC
Not a good idea, might result in corrupted packages (not the same as failed
packages).
Use the ebuild(1) tool for such "low-level" things.