View previous topic :: View next topic |
Author |
Message |
Irre Guru
Joined: 09 Nov 2013 Posts: 434 Location: Stockholm
|
Posted: Sun Dec 14, 2014 9:01 am Post subject: emerge should optionally do checkpoints |
|
|
Every now and then emerge gives up due to trivial errors like lack of swap or disk space. It would then be nice to be able to restart from the latest checkpoint, like this |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sun Dec 14, 2014 9:30 am Post subject: |
|
|
`emerge --resume`? _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
Irre Guru
Joined: 09 Nov 2013 Posts: 434 Location: Stockholm
|
Posted: Sun Dec 14, 2014 10:50 am Post subject: |
|
|
avx wrote: | `emerge --resume`? | No I mean restart after a created checkpoint for instance after "build" but before "install". Or a more advanced "--resume" |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Sun Dec 14, 2014 10:59 am Post subject: |
|
|
you can use the ebuild command to call the different stages of an ebuild. is this what you are after? _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Sun Dec 14, 2014 4:08 pm Post subject: |
|
|
I'm just trying to see how good it would work, when usually there's only a handful of packages that takes a while to compile. Beyond those select few packages that does take some time, the rest generally compiles within 5 or so minutes. This doesn't change much, even if I am working on my old 800 Mhz computer (pre 64-bit).
As for failing, for the last decade, the any failings I've encountered is always a compile failure, not from memory and hard-drive. Last time I had a memory (includes lack of swap space) failure, was over 15 years ago; and since I've never had to deal with that since. |
|
Back to top |
|
|
Irre Guru
Joined: 09 Nov 2013 Posts: 434 Location: Stockholm
|
Posted: Sun Dec 14, 2014 10:10 pm Post subject: |
|
|
Naib wrote: | you can use the ebuild command to call the different stages of an ebuild. is this what you are after? | Thanks for the tip. This will perhaps help me. I'm trying to emerge xbmc on Cubieboard2 (ARMv7). The installation step fails after 3-4 hours compilation time. |
|
Back to top |
|
|
|