#9201: Add missing R modules and make `spkg-check` pass on Solaris
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  drkirkby
       Type:  defect   |      Status:  new     
   Priority:  major    |   Milestone:          
  Component:  solaris  |    Keywords:          
     Author:           |    Upstream:  N/A     
   Reviewer:           |      Merged:          
Work_issues:           |  
-----------------------+----------------------------------------------------
 Some R modules aren't built/installed on t2.  This makes builds fail when
 `SAGE_CHECK` is set.  From [comment:ticket:8306:67 this comment] at #8306:

 Running R's `make check` on t2 gives
 {{{
  Collecting examples for package `stats'
    Extracting from parsed Rd's ..............................
  Running examples in package `stats'
  Error: testing 'stats' failed
  Execution halted
  make[5]: *** [test-Examples-Base] Error 1
 }}}
 Here's some detail from `src/tests/Examples/stats-Ex.Rout.fail`:
 {{{
  > contrasts(ffs) <- contr.sum(5, sparse=TRUE)[,1:2]; contrasts(ffs)
  Error in .Diag(levels, sparse = sparse) :
    contr*(.., sparse=TRUE) needs package "Matrix" correctly installed
  Calls: contr.sum -> .Diag
  Execution halted
 }}}
 [http://sage.math.washington.edu/home/mpatel/trac/8306/r-2.10.1.p2.log
 This log] also shows that R's Matrix package isn't built/installed
 successfully:
 {{{
  Loading required package: Matrix
  Error in dyn.load(file, DLLpath = DLLpath, ...) :
    unable to load shared library '/scratch/mpatel/sage-4.4.4.alpha0-j64
 -par-chk/spkg/build/r-2.10.1.p2/src/library/Matrix/libs/Matrix.so':
    ld.so.1: R: fatal: libgcc_s.so.1: open failed: No such file or
 directory
  Error : require(Matrix, save = FALSE) is not TRUE
 }}}
 Moreover, comparing the output of `ls SAGE_LOCAL/lib/R/library` on
 sage.math and t2 builds indicates that we're also missing the class, mgcv,
 nnet, rpart, spatial, and survival packages on t2.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9201>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to