On Tue, 04 Dec 2018 14:23:27 -0500, Jack wrote:

> On 2018.12.04 14:13, Neil Bothwick wrote:

> >> One thing I've done in the past if something failed after a long  
> >> time compiling is to cd to the top build dir (under the Portage tmp  
> >> dir) and just continue the compile (either make or ninja, or  
> >> whatever that package uses) when/if that finishes, you can use  
> >> ebuild to finish the install and qmerge steps.  That avoids needing  
> >> to start the compile from the beginning.  
> > You can use ebuild for that too, with the compile option. I've have  
> > the chromium build fail for apparently random reasons on my laptop  
> > from time to time and ebuild ... compile finishes the process.  
> 
> Unless I'm mistaken, "ebuild /path/to/ebuild compile" does avoid  
> redoing the unpack, prepare, and configure steps, but it  starts the  
> compile from scratch.  Manually doing "make" (or whatever) in the  
> appropriate directory avoids repeating those parts of the compile that  
> were successful.  If the compile takes two days, that's a significant  
> savings in time.

It starts the compile by running make or whatever is appropriate for the
build, so it doesn't need to build anything already built any more than a
bare make does. But using ebuild compile means you get the same
environment as when you started the compile.


-- 
Neil Bothwick

Why is the word abbreviation so long?

Attachment: pgpbxvVRGrvq2.pgp
Description: OpenPGP digital signature

Reply via email to