[R] Errors during make check

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Oct 28 23:32:32 CEST 2004


I did ask you about compilers: this looks like the gcc 3.2.x bug
described in the R-admin manual.

  @command{gcc} 3.2.1 and 3.2.2 generate incorrect code on 32-bit Solaris
  builds with optimization, but versions 3.1, 3.2, 3.2.3 and later work
  correctly.

and that AFAIR failed at exactly that point.

On Thu, 28 Oct 2004, Andrew K Helyer wrote:

> Thank you for your help. I'm really stumped on this one.
> 
> Here is some information from the end of the configuration step...
> 
> R is now configured for sparc-sun-solaris2.9
> 
>   Source directory:          .
>   Installation directory:    /usr/local
> 
>   C compiler:                gcc  -g -O2
>   C++ compiler:              g++  -g -O2
>   Fortran compiler:          f77  -g
> 
>   Interfaces supported:      X11, tcltk
>   External libraries:        
>   Additional capabilities:   PNG, JPEG
>   Options enabled:           R profiling
> 
>   Recommended packages:      yes 
> 
> 
> 
> The ...Ex.Rout.fail file contains:
> 
> 
> R : Copyright 2004, The R Foundation for Statistical Computing
> Version 2.0.0  (2004-10-04), ISBN 3-900051-07-0
> 
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
> 
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> 
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for a HTML browser interface to help.
> Type 'q()' to quit R.
> 
> > ### * <HEADER>
> > ###
> > attach(NULL, name = "CheckExEnv")
> > assign(".CheckExEnv", as.environment(2), pos = length(search())) #
> base
> > ## add some hooks to label plot pages for base and grid graphics
> > setHook("plot.new", ".newplot.hook")
> > setHook("persp", ".newplot.hook")
> > setHook("grid.newpage", ".gridplot.hook")
> > 
> > assign("cleanEx",
> +        function(env = .GlobalEnv) {
> +          rm(list = ls(envir = env, all.names = TRUE), envir = env)
> +            RNGkind("default", "default")
> +          set.seed(1)
> +          options(warn = 1)
> +          assign("T", delay(stop("T used instead of TRUE")),
> +                 pos = .CheckExEnv)
> +          assign("F", delay(stop("F used instead of FALSE")),
> +                 pos = .CheckExEnv)
> +          sch <- search()
> +          newitems <- sch[! sch %in% .oldSearch]
> +          for(item in rev(newitems))
> +                eval(substitute(detach(item), list(item=item)))
> +          missitems <- .oldSearch[! .oldSearch %in% sch]
> +          if(length(missitems))
> +              warning("items ", paste(missitems, collapse=", "),
> +                      " have been removed from the search path")
> +        },
> +        env = .CheckExEnv)
> > assign("..nameEx", "__{must remake R-ex/*.R}__", env = .CheckExEnv) #
> for now
> > assign("ptime", proc.time(), env = .CheckExEnv)
> > grDevices::postscript("base-Examples.ps")
> > assign("par.postscript", graphics::par(no.readonly = TRUE), env =
> .CheckExEnv)
> > options(contrasts = c(unordered = "contr.treatment", ordered =
> "contr.poly"))
> > assign(".oldSearch", search(), env = .CheckExEnv)
> > assign(".oldNS", loadedNamespaces(), env = .CheckExEnv)
> > cleanEx(); ..nameEx <- "Arithmetic"
> > 
> > ### * Arithmetic
> > 
> > flush(stderr()); flush(stdout())
> > 
> > ### Name: Arithmetic
> > ### Title: Arithmetic Operators
> > ### Aliases: + - * / ^ \%\% \%/\% Arithmetic
> > ### Keywords: arith
> > 
> > ### ** Examples
> > 
> > x <- -1:12
> > x + 1
>  [1]  0  1  2  3  4  5  6  7  8  9 10 11 12 13
> > 2 * x + 3
>  [1]  1  3  5  7  9 11 13 15 17 19 21 23 25 27
> > x %% 2 #-- is periodic
>  [1] 1 0 1 0 1 0 1 0 1 0 1 0 1 0
> > x %/% 5
>  [1] -1  0  0  0  0  0  1  1  1  1  1  2  2  2
> > 
> > 
> > 
> > cleanEx(); ..nameEx <- "Bessel"
> > 
> > ### * Bessel
> > 
> > flush(stderr()); flush(stdout())
> 
> 
> 
> 
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
> > Sent: Thursday, October 28, 2004 3:34 PM
> > To: Andrew K Helyer
> > Cc: r-help at stat.math.ethz.ch
> > Subject: Re: [R] Errors during make check
> > 
> > On Thu, 28 Oct 2004, Andrew K Helyer wrote:
> > 
> > > On a SUN 280R running Solaris 9...
> > 
> > Compilers?  Optimization settings?  32- or 64-bit?
> > 
> > > The configure and make steps completed without errors. But 
> > when I try to
> > > perform the make check step, I get the following:
> > > 
> > > 
> > > $ make check FORCE=FORCE
> > > `Makedeps' is up to date.
> > > running code in 'base-Ex.R' ...*** Error code 1
> > > make: Fatal error: Command failed for target `base-Ex.Rout'
> > > Current working directory /usr/local/R-2.0.0/tests/Examples
> > 
> > Please take a look at the file that failed, probably
> > tests/Examples/base-Ex.Rout.fail.  If that is not there, look 
> > for a core 
> > dump in tests/Examples.
> > 
> > > I don't know what to make of these. I've tried several 
> > options on the
> > > configure step (static libs, pointing to tclConfig.sh and 
> > tkConfig.sh,
> > > etc). I've reviewed the FAQs and mailing list archives. 
> > I've read and
> > > reread the install instructions.
> > > 
> > > Can anyone give me some more clues about what I'm missing?
> > 
> > -- 
> > Brian D. Ripley,                  ripley at stats.ox.ac.uk
> > Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> > University of Oxford,             Tel:  +44 1865 272861 (self)
> > 1 South Parks Road,                     +44 1865 272866 (PA)
> > Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> > 
> > 
> 
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list