RE: [gentoo-user] continuing an emerge

2022-07-07 Thread Laurence Perkins
> 
> 
> -Original Message-
> From: Neil Bothwick  
> Sent: Wednesday, July 6, 2022 7:05 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] continuing an emerge
> 
> On Wed,  6 Jul 2022 15:48:04 +0200 (CEST), k...@aspodata.se wrote:
> 
> > With nodejs, I get:
> > 
> > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> > failed to set dynamic section sizes: memory exhausted
> > 
> > so, instead of redoing the whole compile, can I, after reducing 
> > current memory usage, set up emerge to retry the linking and continue 
> > from there ?
> 
> ebuild /path/to/ebuild merge
> 
> should do it.
> 
> 
> --
> Neil Bothwick
> 
> In the 60's people took acid to make the world weird.
> Now the world is weird and people take Prozac to make it normal.
>

You can also set FEATURES="keepwork keeptemp" for the one, specific emerge 
command.  Setting them permanently is not generally recommended and emerge will 
tell you so.

LMP



Re: [gentoo-user] continuing an emerge

2022-07-06 Thread karl
Neil Bothwick:
> On Wed,  6 Jul 2022 15:48:04 +0200 (CEST), k...@aspodata.se wrote:
...
> > so, instead of redoing the whole compile, can I, after reducing
> > current memory usage, set up emerge to retry the linking and
> > continue from there ?
> 
> ebuild /path/to/ebuild merge

Thanks, that did what I asked about.

Regards,
/Karl Hammar




Re: [gentoo-user] continuing an emerge

2022-07-06 Thread Neil Bothwick
On Wed,  6 Jul 2022 15:48:04 +0200 (CEST), k...@aspodata.se wrote:

> With nodejs, I get:
> 
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> failed to set dynamic section sizes: memory exhausted
> 
> so, instead of redoing the whole compile, can I, after reducing
> current memory usage, set up emerge to retry the linking and
> continue from there ?

ebuild /path/to/ebuild merge

should do it.


-- 
Neil Bothwick

In the 60's people took acid to make the world weird.
Now the world is weird and people take Prozac to make it normal.


pgpzjgBf8bOSj.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] continuing an emerge

2022-07-06 Thread w...@op.pl
Dnia 2022-07-06, o godz. 15:48:04
k...@aspodata.se napisaƂ(a):

>  Is it possible to continue a failed emerge ?
> 
> ///
> 
> With nodejs, I get:
> 
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> failed to set dynamic section sizes: memory exhausted
> 
> so, instead of redoing the whole compile, can I, after reducing
> current memory usage, set up emerge to retry the linking and
> continue from there ?
> 
> Regards,
> /Karl Hammar
> 
> 
> 

There is emerge --resume command. However it starts from scratch with
the not-yet-merged packages as far as I can tell

-- 
xWK


pgpx6CUxBYQWy.pgp
Description: Podpis cyfrowy OpenPGP


[gentoo-user] continuing an emerge

2022-07-06 Thread karl
 Is it possible to continue a failed emerge ?

///

With nodejs, I get:

/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
failed to set dynamic section sizes: memory exhausted

so, instead of redoing the whole compile, can I, after reducing
current memory usage, set up emerge to retry the linking and
continue from there ?

Regards,
/Karl Hammar