From aixtools at gmail.com  Wed Jan  6 08:25:09 2016
From: aixtools at gmail.com (Michael Felt)
Date: Wed, 6 Jan 2016 08:25:09 +0100
Subject: [Rd] R,
 AIX 64-bit builds - trying to understand root cause for message:
 "Error: Line starting 'Package: tools ...' is malformed!"
In-Reply-To: <568B6D8C.4010200@gmail.com>
References: <56825A4B.7010508@gmail.com> <56839C9E.2010401@gmail.com>
	<5685466E.7000804@gmail.com>
	<4BED4A65-8EE9-49B8-8AFB-4E6CC3BB5BBF@r-project.org>
	<F92F30A1-4E5C-4312-B151-692F27013F8B@r-project.org>
	<F68557F2-67ED-4EF3-8BDF-F7981D8F38C0@gmail.com>
	<56894556.3020902@gmail.com>
	<5138BF7E-44C2-4ABE-9D3F-0730BCF90BC9@r-project.org>
	<568A1285.5000709@gmail.com>
	<11C4A052-1585-41A9-BFBD-1756E6DC8B96@r-project.org>
	<568AF111.8030900@gmail.com> <568B6D8C.4010200@gmail.com>
Message-ID: <568CC155.3070203@gmail.com>



On 05-Jan-16 08:15, Michael Felt wrote:
> On 04-Jan-16 15:52, Simon Urbanek wrote:
>> No, no duplicate warnings.
I am still getting many duplicate warnings, but am getting farther than 
before: such as:
======= 64-bit ending ======== - what is internal error 5 in R_compress3 
============
* installing *source* package 'MASS' ...
** package 'MASS' successfully unpacked and MD5 sums checked
** libs
         xlc_r -qarch=pwr5 -I/home/cran/64/R/include -DNDEBUG 
-I/usr/local/include      -g  -c MASS.c -o MASS.o
         xlc_r -qarch=pwr5 -I/home/cran/64/R/include -DNDEBUG 
-I/usr/local/include      -g  -c lqs.c -o lqs.o
xlc_r -qarch=pwr5 -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc 
-L/home/cran/64/R/lib -L/opt/lib -liconv -o MASS.so MASS.o lqs.o -lm 
-L/home/cran/64/R/lib -lR
ld: 0711-224 WARNING: Duplicate symbol: p_xargc
ld: 0711-224 WARNING: Duplicate symbol: p_xargv
ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
ld: 0711-224 WARNING: Duplicate symbol: p_xrc
ld: 0711-224 WARNING: Duplicate symbol: end
ld: 0711-224 WARNING: Duplicate symbol: .log
ld: 0711-224 WARNING: Duplicate symbol: log
ld: 0711-224 WARNING: Duplicate symbol: .sqrt
ld: 0711-224 WARNING: Duplicate symbol: sqrt
ld: 0711-224 WARNING: Duplicate symbol: guesses
ld: 0711-224 WARNING: Duplicate symbol: .strcmp
ld: 0711-224 WARNING: Duplicate symbol: strcmp
ld: 0711-224 WARNING: Duplicate symbol: .isnan
ld: 0711-224 WARNING: Duplicate symbol: isnan
ld: 0711-224 WARNING: Duplicate symbol: .pow
ld: 0711-224 WARNING: Duplicate symbol: pow
ld: 0711-224 WARNING: Duplicate symbol: .exp
ld: 0711-224 WARNING: Duplicate symbol: exp
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
Target "all" is up to date.
installing to /home/cran/64/R/library/MASS/libs
** R
** data
*** moving datasets to lazyload DB
Error in lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, 
compress,  :
   internal error 5 in R_compress3
ERROR: lazydata failed for package 'MASS'
* removing '/home/cran/64/R/library/MASS'
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
cran at x068:[/home/cran/64/R]

========== 32-bit ending -- never ran "out of stack space" - like this - 
when using gcc/gfortran, but maybe it is just different ========

         xlc_r -qarch=pwr5 -I/home/cran/32/R/include -DNDEBUG 
-I../Include -I../../SuiteSparse_config -I/usr/local/include -g  
-I../Include -DDINT -c amd_global.c -o amd_i_global.o
         xlc_r -qarch=pwr5 -I/home/cran/32/R/include -DNDEBUG 
-I../Include -I../../SuiteSparse_config -I/usr/local/include -g  
-I../Include -DDLONG -c amd_global.c -o amd_l_global.o
         ar -rucs ../../AMD.a amd_i_aat.o amd_l_aat.o amd_i_1.o 
amd_l_1.o amd_i_2.o amd_l_2.o amd_i_postorder.o amd_l_postorder.o 
amd_i_post_tree.o amd_l_post_tree.o amd_i_defaults.o amd_l_defaults.o 
amd_i_order.o amd_l_order.o amd_i_control.o amd_l_control.o amd_i_info.o 
amd_l_info.o amd_i_valid.o amd_l_valid.o amd_i_preprocess.o 
amd_l_preprocess.o amd_i_dump.o amd_l_dump.o amd_i_global.o amd_l_global.o
Target "lib" is up to date.
         xlc_r -qarch=pwr5 -I/home/cran/32/R/include -DNDEBUG -DNTIMER 
-I/usr/local/include      -g  -c SuiteSparse_config.c -o 
SuiteSparse_config.o
         ar -rucs ../SuiteSparse_config.a SuiteSparse_config.o
Target "library" is up to date.
xlc_r -qarch=pwr5 -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc 
-L/home/cran/32/R/lib -L/opt/lib -liconv -o Matrix.so CHMfactor.o 
Csparse.o TMatrix_as.o Tsparse.o init.o Mutils.o chm_common.o cs.o 
cs_utils.o dense.o dgCMatrix.o dgTMatrix.o dgeMatrix.o dpoMatrix.o 
dppMatrix.o dsCMatrix.o dsyMatrix.o dspMatrix.o dtCMatrix.o dtTMatrix.o 
dtrMatrix.o dtpMatrix.o factorizations.o ldense.o lgCMatrix.o sparseQR.o 
abIndex.o CHOLMOD.a COLAMD.a AMD.a SuiteSparse_config.a 
-L/home/cran/32/R/lib -lRlapack -liconv -lxlf90 
-L/opt/IBM/xlmass/8.1.2/lib/aix61 -L/opt/IBM/xlf/15.1.2/lib -lxlopt 
-lxlipa -lxlf -lxlomp_ser -lpthreads -lm -lm -L/home/cran/32/R/lib -lR
ld: 0711-224 WARNING: Duplicate symbol: p_xargc
ld: 0711-224 WARNING: Duplicate symbol: p_xargv
ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
ld: 0711-224 WARNING: Duplicate symbol: p_xrc
ld: 0711-224 WARNING: Duplicate symbol: end
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-224 WARNING: Duplicate symbol: bcopy
ld: 0711-224 WARNING: Duplicate symbol: .strcmp
ld: 0711-224 WARNING: Duplicate symbol: strcmp
ld: 0711-224 WARNING: Duplicate symbol: .sqrt
ld: 0711-224 WARNING: Duplicate symbol: sqrt
ld: 0711-224 WARNING: Duplicate symbol: guesses
ld: 0711-224 WARNING: Duplicate symbol: .ceil
ld: 0711-224 WARNING: Duplicate symbol: ceil
ld: 0711-224 WARNING: Duplicate symbol: .nearest
ld: 0711-224 WARNING: Duplicate symbol: .nearbyint
ld: 0711-224 WARNING: Duplicate symbol: .trunc
ld: 0711-224 WARNING: Duplicate symbol: .floor
ld: 0711-224 WARNING: Duplicate symbol: .fetestexcept
ld: 0711-224 WARNING: Duplicate symbol: fetestexcept
ld: 0711-224 WARNING: Duplicate symbol: .feraiseexcept
ld: 0711-224 WARNING: Duplicate symbol: .feclearexcept
ld: 0711-224 WARNING: Duplicate symbol: feclearexcept
ld: 0711-224 WARNING: Duplicate symbol: .isnan
ld: 0711-224 WARNING: Duplicate symbol: isnan
ld: 0711-224 WARNING: Duplicate symbol: .strcpy
ld: 0711-224 WARNING: Duplicate symbol: strcpy
ld: 0711-224 WARNING: Duplicate symbol: .log
ld: 0711-224 WARNING: Duplicate symbol: log
ld: 0711-224 WARNING: Duplicate symbol: .dgemm
ld: 0711-224 WARNING: Duplicate symbol: dgemm
ld: 0711-224 WARNING: Duplicate symbol: .exp
ld: 0711-224 WARNING: Duplicate symbol: exp
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
Target "all" is up to date.
installing to /home/cran/32/R/library/Matrix/libs
** R
Warning: unable to re-encode 'Summary.R' line 183
** data
** inst
** byte-compile and prepare package for lazy loading
Creating a generic function for 'image' from package 'graphics' in 
package 'Matrix'
Creating a generic function for 'solve' from package 'base' in package 
'Matrix'
Creating a generic function for 'chol2inv' from 'base' in package 'Matrix'
     (from the saved implicit definition)
Creating a generic function for 'chol2inv' from package 'base' in 
package 'Matrix'
Creating a generic function for 'determinant' from package 'base' in 
package 'Matrix'
Creating a generic function for 'update' from package 'stats' in package 
'Matrix'
Creating a generic function for 'as.vector' from package 'base' in 
package 'Matrix'
Creating a generic function for 't' from package 'base' in package 'Matrix'
Creating a generic function for 'diag' from package 'base' in package 
'Matrix'
Creating a generic function for 'as.matrix' from package 'base' in 
package 'Matrix'
Creating a generic function for 'as.array' from package 'base' in 
package 'Matrix'
Creating a generic function for 'head' from package 'utils' in package 
'Matrix'
Creating a generic function for 'tail' from package 'utils' in package 
'Matrix'
Creating a generic function for 'drop' from package 'base' in package 
'Matrix'
Creating a generic function for 'mean' from package 'base' in package 
'Matrix'
Creating a generic function for 'cov2cor' from package 'stats' in 
package 'Matrix'
Creating a generic function for 'isSymmetric' from package 'base' in 
package 'Matrix'
Creating a generic function for 'unname' from package 'base' in package 
'Matrix'
Creating a generic function for 'chol' from package 'base' in package 
'Matrix'
Creating a generic function for 'norm' from package 'base' in package 
'Matrix'
Creating a generic function for 'rcond' from 'base' in package 'Matrix'
     (from the saved implicit definition)
Creating a generic function for 'rcond' from package 'base' in package 
'Matrix'
Creating a generic function for 'all.equal' from package 'base' in 
package 'Matrix'
Creating a generic function for 'diff' from package 'base' in package 
'Matrix'
in method for 'coerce' with signature '"matrix.csr","dgRMatrix"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"dgRMatrix","matrix.csr"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"matrix.csc","dgCMatrix"': no 
definition for class "matrix.csc"
in method for 'coerce' with signature '"dgCMatrix","matrix.csc"': no 
definition for class "matrix.csc"
in method for 'coerce' with signature '"matrix.coo","dgTMatrix"': no 
definition for class "matrix.coo"
in method for 'coerce' with signature '"dgTMatrix","matrix.coo"': no 
definition for class "matrix.coo"
in method for 'coerce' with signature '"dsparseMatrix","matrix.csr"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"matrix.csr","dgCMatrix"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"matrix.coo","dgCMatrix"': no 
definition for class "matrix.coo"
in method for 'coerce' with signature '"matrix.csr","RsparseMatrix"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"matrix.csc","CsparseMatrix"': no 
definition for class "matrix.csc"
in method for 'coerce' with signature '"matrix.coo","TsparseMatrix"': no 
definition for class "matrix.coo"
in method for 'coerce' with signature '"matrix.csr","CsparseMatrix"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"matrix.coo","CsparseMatrix"': no 
definition for class "matrix.coo"
in method for 'coerce' with signature '"matrix.csc","TsparseMatrix"': no 
definition for class "matrix.csc"
in method for 'coerce' with signature '"matrix.csr","TsparseMatrix"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"CsparseMatrix","matrix.csr"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"CsparseMatrix","matrix.coo"': no 
definition for class "matrix.coo"
in method for 'coerce' with signature '"CsparseMatrix","matrix.csc"': no 
definition for class "matrix.csc"
in method for 'coerce' with signature '"matrix.csr","Matrix"': no 
definition for class "matrix.csr"
in method for 'coerce' with signature '"matrix.coo","Matrix"': no 
definition for class "matrix.coo"
in method for 'coerce' with signature '"matrix.csc","Matrix"': no 
definition for class "matrix.csc"
Creating a generic function for 'colSums' from package 'base' in package 
'Matrix'
Creating a generic function for 'colMeans' from package 'base' in 
package 'Matrix'
Creating a generic function for 'rowSums' from package 'base' in package 
'Matrix'
Creating a generic function for 'rowMeans' from package 'base' in 
package 'Matrix'
in method for 'colSums' with signature 'x="igCMatrix"': no definition 
for class "igCMatrix"
in method for 'rowSums' with signature 'x="igCMatrix"': no definition 
for class "igCMatrix"
in method for 'colMeans' with signature 'x="igCMatrix"': no definition 
for class "igCMatrix"
in method for 'rowMeans' with signature 'x="igCMatrix"': no definition 
for class "igCMatrix"
Creating a generic function for 'zapsmall' from package 'base' in 
package 'Matrix'
Creating a generic function for 'qr' from package 'base' in package 'Matrix'
Creating a generic function for 'diag<-' from package 'base' in package 
'Matrix'
Creating a generic function for 'crossprod' from package 'base' in 
package 'Matrix'
Creating a generic function for 'tcrossprod' from package 'base' in 
package 'Matrix'
Creating a generic function for 'print' from package 'base' in package 
'Matrix'
Creating a generic function for 'summary' from package 'base' in package 
'Matrix'
Creating a generic function for 'which' from package 'base' in package 
'Matrix'
in method for 'coerce' with signature '"graphAM","sparseMatrix"': no 
definition for class "graphAM"
in method for 'coerce' with signature '"graph","CsparseMatrix"': no 
definition for class "graph"
in method for 'coerce' with signature '"graph","Matrix"': no definition 
for class "graph"
in method for 'coerce' with signature '"graphNEL","CsparseMatrix"': no 
definition for class "graphNEL"
in method for 'coerce' with signature '"graphNEL","TsparseMatrix"': no 
definition for class "graphNEL"
in method for 'coerce' with signature '"sparseMatrix","graph"': no 
definition for class "graph"
in method for 'coerce' with signature '"sparseMatrix","graphNEL"': no 
definition for class "graphNEL"
in method for 'coerce' with signature '"TsparseMatrix","graphNEL"': no 
definition for class "graphNEL"
Creating a generic function for 'format' from package 'base' in package 
'Matrix'
Creating a generic function for 'qr.R' from package 'base' in package 
'Matrix'
Creating a generic function for 'qr.Q' from package 'base' in package 
'Matrix'
Creating a generic function for 'qr.qy' from package 'base' in package 
'Matrix'
Creating a generic function for 'qr.qty' from package 'base' in package 
'Matrix'
Creating a generic function for 'qr.coef' from package 'base' in package 
'Matrix'
Creating a generic function for 'qr.resid' from package 'base' in 
package 'Matrix'
Creating a generic function for 'qr.fitted' from package 'base' in 
package 'Matrix'
Creating a generic function for 'toeplitz' from package 'stats' in 
package 'Matrix'
** help
*** installing help indices
** building package indices
Loading required package: Matrix
Error: C stack usage  1221002169 is too close to the limit

  *** caught segfault ***
address c4866d8c, cause 'memory not mapped'

Traceback:
  1: structure(list(message = as.character(message), call = call),     
class = class)
  2: simpleError(msg, call)
  3: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  4: tryCatchList(expr, classes, parentenv, handlers)
  5: tryCatch(expr, error = function(e) {    call <- conditionCall(e)    
if (!is.null(call)) {        if (identical(call[[1L]], 
quote(doTryCatch)))             call <- sys.call(-4L)        dcall <- 
deparse(call)[1L]        prefix <- paste("Error in", dcall, ": ")        
LONG <- 75L msg <- conditionMessage(e)        sm <- strsplit(msg, 
"\n")[[1L]]        w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], 
type = "w")        if (is.na(w))             w <- 14L + nchar(dcall, 
type = "b") + nchar(sm[1L],                 type = "b")        if (w > 
LONG)             prefix <- paste0(prefix, "\n  ")    }    else prefix 
<- "Error : "    msg <- paste0(prefix, conditionMessage(e), "\n") 
.Internal(seterrmessage(msg[1L]))    if (!silent && 
identical(getOption("show.error.messages"),         TRUE)) { cat(msg, 
file = stderr()) .Internal(printDeferredWarnings())    }    
invisible(structure(msg, class = "try-error", condition = e))})
  6: try(.install_package_indices(".", instdir))
  7: do_install_source(pkg_name, instdir, pkg, desc)
  8: do_install(pkg)
  9: tools:::.install_packages()
aborting ...
/home/cran/32/R/bin/INSTALL[34]: 14942332 Segmentation fault(coredump)
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
cran at x068:[/home/cran/32/R]



[Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
Michael Felt