Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A question or two about emerge --resume
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Stu L Tissimus
Veteran
Veteran


Joined: 08 Jun 2003
Posts: 1339
Location: NJ, 5 minutes from NYC

PostPosted: Tue Sep 09, 2003 10:44 pm    Post subject: A question or two about emerge --resume Reply with quote

Okay, I've been running my laptop for about 3 days straight, going from the gentoo install to my new installation and i've been emerging all sorts of stuff on it. Anyway, I have to reboot to get XFree86 working (and I also want to check if my splash screen works). But I've got OpenOffice emerging, and I don't want to lose my 2 days worth of compiling. Now, does emerge --resume work pretty well? Does it let me start again from where I stopped? And does it work after a reboot?
_________________
old outdated sig
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9229
Location: beyond the rim

PostPosted: Wed Sep 10, 2003 12:15 am    Post subject: Reply with quote

emerge --resume will restart the last package it did not finish on the last run, so it won't work if you stopped your openoffice compile after a few hours. For that you would use
Code:
ebuild /usr/portage/app-office/openoffice/openoffice-<version-you-want>.ebuild merge
Back to top
View user's profile Send private message
Stu L Tissimus
Veteran
Veteran


Joined: 08 Jun 2003
Posts: 1339
Location: NJ, 5 minutes from NYC

PostPosted: Wed Sep 10, 2003 2:26 am    Post subject: Reply with quote

Wait, so I am allowed to cancel it and then reboot and continue? (I just want to be sure... losing 2 days of compiling an a P3 500 MHz is not fun)
_________________
old outdated sig
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9229
Location: beyond the rim

PostPosted: Wed Sep 10, 2003 2:30 am    Post subject: Reply with quote

Well, it should work but I wouldn't recommend it and I haven't tested this much. Also I've never compiled openoffice myself, so I can't really say how stable the build process is.
Back to top
View user's profile Send private message
Roguelazer
Veteran
Veteran


Joined: 10 Feb 2003
Posts: 1233
Location: San Francisco, CA

PostPosted: Wed Sep 10, 2003 10:35 am    Post subject: Reply with quote

Try CCACHE
_________________
Registered Linux User #263260
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Mon Sep 15, 2003 1:21 pm    Post subject: Reply with quote

Roguelazer wrote:
Try CCACHE
CCache will never beat the speed of make when the object file's timestamp match and skip. Also, CCache is limited (if you kept the Gentoo default) to only 2 GB which might flush a lot of the cache's content when building megabig compiles like OpenOffice (altough I don't know what's the cache algorithme... LFU? LRU? ...?).
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
andrew_j_w
Guru
Guru


Joined: 28 Jun 2003
Posts: 534
Location: York, UK

PostPosted: Mon Sep 15, 2003 3:10 pm    Post subject: Reply with quote

You could try CTRL+ALT Cing the emerge, then when you've rebooted going to the portage work directory....

# cd /var/tmp/portage/<package>/work/<some-other-stuff>
# make

Then when that's finished run

# ebuild <path to ebuild file> install
# ebuild <path to ebuild file> qmerge

I think you might be able to replace the cd'ing and make with a call to ebuild compile, but as I'm not on my home gentoo box I can't test it.

Regards,
Andrew
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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