Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge should optionally do checkpoints
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 434
Location: Stockholm

PostPosted: Sun Dec 14, 2014 9:01 am    Post subject: emerge should optionally do checkpoints Reply with quote

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
Code:
emerge --restart
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun Dec 14, 2014 9:30 am    Post subject: Reply with quote

`emerge --resume`?
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 434
Location: Stockholm

PostPosted: Sun Dec 14, 2014 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sun Dec 14, 2014 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Sun Dec 14, 2014 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 434
Location: Stockholm

PostPosted: Sun Dec 14, 2014 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum