Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-08 Thread Michael Orlitzky
On Wed, 2021-04-07 at 22:15 +0200, k...@aspodata.se wrote: > > yea, it was a try to make c++ programs to behave under changing > compiler and library situations. Seems that some such programs > don't want to be built statically so they break whenever some "random" > lib changes. > That's my

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-07 Thread karl
Michael: > On Wed, 2021-04-07 at 12:54 +0200, k...@aspodata.se wrote: > > # emerge -pv1 dev-lang/R > > ... > > [ebuild R] dev-lang/R-4.0.4::gentoo USE="... static-libs ..." > > Thanks, this is really good debugging information. Is that USE=static- > libs a global flag on your system? That

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-07 Thread Michael Orlitzky
On Wed, 2021-04-07 at 12:54 +0200, k...@aspodata.se wrote: > # emerge -pv1 dev-lang/R > ... > [ebuild R] dev-lang/R-4.0.4::gentoo USE="... static-libs ..." Thanks, this is really good debugging information. Is that USE=static- libs a global flag on your system? That may explain why your

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-07 Thread karl
Michael: ... > What USE flags does "emerge -pv1 dev-lang/R" show? # emerge -pv1 dev-lang/R ... [ebuild R] dev-lang/R-4.0.4::gentoo USE="X jpeg nls openmp perl png readline static-libs tiff -cairo -doc -icu -java -lapack -minimal (-prefix) -profile -test -tk" 0 KiB > Are you willing to

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-06 Thread Michael Orlitzky
On Mon, 2021-04-05 at 18:29 +0200, k...@aspodata.se wrote: > > So, how much memory does R need to build ? > I have: > > $ free >    totalusedfree shared buff/cache > available > Mem: 6103628 1807560 2631444 146376 1664624 >

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-05 Thread karl
Michael: > On Mon, 2021-04-05 at 16:10 +0200, k...@aspodata.se wrote: > > system call failed: Cannot allocate memory > > Segmentation fault > > Is this a low-memory machine? So, how much memory does R need to build ? I have: $ free totalusedfree shared

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-05 Thread Michael Orlitzky
On Mon, 2021-04-05 at 16:10 +0200, k...@aspodata.se wrote: > system call failed: Cannot allocate memory > Segmentation fault Is this a low-memory machine? If so, there's no much you can do here except set a lower number of jobs in MAKEOPTS for the dev-lang/R build:

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-05 Thread karl
> On Mon, 2021-04-05 at 00:44 +0200, k...@aspodata.se wrote: ... > > $ cp -a ... > > $ cd ... > > $ make -j1 > > ... > > $ echo $? > > 0 > > > > It builds without failure in that case. > > > > That's (potentially) good news. Can you now try it with the > CFLAGS/CXXFLAGS and LDFLAGS from your

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread Jack
On 4/4/21 6:44 PM, k...@aspodata.se wrote: Jack: On 2021.04.03 07:15, k...@aspodata.se wrote: ... make[1]: *** Waiting for unfinished jobs Try running with -j1 ... I already have: EMERGE_DEFAULT_OPTS="--jobs 1 ... in make.conf. Don't know why it still wants to run in parallel.

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread Michael Orlitzky
On Mon, 2021-04-05 at 00:44 +0200, k...@aspodata.se wrote: > Michael: > > $ cp -a ... > $ cd ... > $ make -j1 > ... > $ echo $? > 0 > > It builds without failure in that case. > That's (potentially) good news. Can you now try it with the CFLAGS/CXXFLAGS and LDFLAGS from your `emerge --info`?

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread karl
Michael: > On Sat, 2021-04-03 at 13:15 +0200, k...@aspodata.se wrote: > > Is there a way to run emerge step by step to find out why it fails ? > > > > No easy way. You can `cp -a` the source/build directories out of > /var/tmp/portage and then re-run `make -j`. That should re- > start the build

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-04 Thread karl
Jack: > On 2021.04.03 07:15, k...@aspodata.se wrote: ... > > make[1]: *** Waiting for unfinished jobs > Try running with -j1 ... I already have: EMERGE_DEFAULT_OPTS="--jobs 1 ... in make.conf. Don't know why it still wants to run in parallell. Regards, /Karl Hammar

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-03 Thread Michael Orlitzky
On Sat, 2021-04-03 at 13:15 +0200, k...@aspodata.se wrote: > Is there a way to run emerge step by step to find out why it fails ? > No easy way. You can `cp -a` the source/build directories out of /var/tmp/portage and then re-run `make -j`. That should re- start the build more or less where it

Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-03 Thread Jack
On 2021.04.03 07:15, k...@aspodata.se wrote: Is there a way to run emerge step by step to find out why it fails ? /// I get this: make[1]: Entering directory '/Net/gentoo/tmpdir/portage/dev-lang/R-4.0.4/work/R-4.0.4/doc' make[1]: Leaving directory

[gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-03 Thread karl
Is there a way to run emerge step by step to find out why it fails ? /// I get this: make[1]: Entering directory '/Net/gentoo/tmpdir/portage/dev-lang/R-4.0.4/work/R-4.0.4/doc' make[1]: Leaving directory '/Net/gentoo/tmpdir/portage/dev-lang/R-4.0.4/work/R-4.0.4' help2man: can't get