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 '/Net/gentoo/tmpdir/portage/dev-lang/R-4.0.4/work/R-4.0.4'
help2man: can't get `--version' info from ../bin/R
make[1]: *** [Makefile:46: R.1] Error 255
make[1]: *** Waiting for unfinished jobs....
Try running with -j1


Error: package or namespace load failed for ?<80><98>methods?<80><99>:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: (function (n)
error: lazy-load database '/Net/gentoo/tmpdir/portage/dev-lang/R-4.0.4/work/R-4.0.4/library/methods/R/methods.rdb' is corrupt
During startup - Warning messages:
1: In (function (n)  : internal error -4 in R_decompress1
2: package "methods" in options("defaultPackages") was not found
make[1]: Leaving directory '/Net/gentoo/tmpdir/portage/dev-lang/R-4.0.4/work/R-4.0.4/doc'

  but ../bin/R --version works:
# cd /Net/gentoo/tmpdir/portage/dev-lang/R-4.0.4/work/R-4.0.4/doc
# ../bin/R --version
WARNING: ignoring environment value of R_HOME
R version 4.0.4 (2021-02-15) -- "Lost Library Book"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

#

///

 I also get segfault:
begin installing recommended package MASS
begin installing recommended package lattice
Segmentation fault
make[2]: *** [Makefile:53: MASS.ts] Error 1
make[2]: *** Waiting for unfinished jobs....
* installing *source* package ?<80><98>codetools?<80><99> ...
** package ?<80><98>codetools?<80><99> successfully unpacked and MD5 sums checked
** using non-staged installation

///

 Full build log is here:
http://aspodata.se/tmp/build.log

Regards,
/Karl Hammar





Reply via email to