From ripley at stats.ox.ac.uk  Wed Feb 25 20:52:54 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 25 Feb 2009 19:52:54 +0000 (GMT)
Subject: [Rd] [R] make check reg-tests-1.R error on solaris
In-Reply-To: <B20800AA-5D61-4DA6-B664-4EB898BAEF7C@cchmc.org>
References: <B20800AA-5D61-4DA6-B664-4EB898BAEF7C@cchmc.org>
Message-ID: <alpine.LFD.2.00.0902251940180.11350@gannet.stats.ox.ac.uk>

Do you have a ZFS file system?  That seems to be the common factor 
where people have actually told us. However, other Solaris 
9/10/OpenSolaris systems work, as you will see from the R-admin 
manual.  We cannot help with errors we cannot reproduce: rather we 
need someone with the problem to help us.

Such questions are far more apporpriate to the R-devel list: see the 
posting guide.  So I have diverted this there.

On Wed, 25 Feb 2009, Karen Noel wrote:

> R 2.5.1 compiled, passed the make check and has been successfully running for 
> a couple years on a Sun Fire V490 running Solaris 9. I need a newer version 
> of R, but can't get a newer version of R to pass the make check. I've tried 
> 2.8.1, 2.7.2, 2.6.2 and 2.6.0. (2.5.1 still passes on this server) At this 
> point I thought I'd try to compile it on another Sun server (Solaris 10), but 
> it had the same problem. Configuring with no options didn't help. I commented 
> out the failed test from the Makefile to see if it would pass the rest of the 
> tests. It passes all the rest of the tests. Here is the failure error from 
> make check.
>
> make[2]: Entering directory `/usr/local/src/R-2.8.1/tests'
> running regression tests
> make[3]: Entering directory `/usr/local/src/R-2.8.1/tests'
> running code in 'reg-tests-1.R' ...make[3]: *** [reg-tests-1.Rout] Error 1
> make[3]: Leaving directory `/usr/local/src/R-2.8.1/tests'
> make[2]: *** [test-Reg] Error 2
> make[2]: Leaving directory `/usr/local/src/R-2.8.1/tests'
> make[1]: *** [test-all-basics] Error 1
> make[1]: Leaving directory `/usr/local/src/R-2.8.1/tests'
> make: *** [check] Error 2
> bash-2.05#
>
> Here is output from reg-tests-1.Rout.fail.
>
> [1] "41c6167e"     "dir1"         "dir2"         "dirs" 
> "file275c23f2"
> [6] "file33f963f2" "moredirs"
>> file.create(file.path(dd, "somefile"))
> [1] TRUE TRUE TRUE TRUE
>> dir(".", recursive=TRUE)
> [1] "41c6167e"          "dir1/somefile"     "dir2/somefile"
> [4] "dirs/somefile"     "file275c23f2"      "file33f963f2"
> [7] "moredirs/somefile"
>> stopifnot(unlink("dir?") == 1) # not an error
> Error: unlink("dir?") == 1 is not TRUE
> Execution halted
> rm: Cannot remove any directory in the path of the current working directory
> /tmp/RtmprBjF6W
>
> Looking through the archives I did find a couple other people with this 
> error, both running Solaris 10. PR#10501 and PR#11738 have quite a lot of 
> information about this error, but I don't see any resolution for them.
>
> This looks like it could possibly be enough of a problem that I haven't put 
> 2.8.1 in production. Can you help me with a resolution or let me know if it 
> is safe to ignore? I'd appreciate it.
>
> Thank you!
> Karen
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
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



[Rd] [R] make check reg-tests-1.R error on solaris
Prof Brian Ripley