From kevin.hendricks at sympatico.ca  Thu Aug 21 11:08:49 2003
From: kevin.hendricks at sympatico.ca (Kevin B. Hendricks)
Date: Thu Aug 21 16:12:32 2003
Subject: [Rd] make check fails 1.7.1 with R-release patch in regression
	tests (PR#3868)
In-Reply-To: <20030821133927.GA16790@sonny.eddelbuettel.com>
References: <200308211322.h7LDMHJH015409@pubhealth.ku.dk>
	<20030821133927.GA16790@sonny.eddelbuettel.com>
Message-ID: <200308211008.49641.kevin.hendricks@sympatico.ca>

Hi,

Please close the bug, the problem was mine.  Sorry about that!

It seems I did not recursively change ownership after I unpacked the R-1.7.1 
source file and the "tests" directory ended up with some weird user and group 
id that for some reason made the following line in reg-tests-1.R fail by 
using up all memory!

((info <- file.info(".")) 

Once doing the following, all now works fine ...

tar -zxvf R-1.7.1.tgz
gunzip R-release.diff.gz
chown -R kbhend R-1.7.1/   (missed this step previously)
cd R-1.7.1
patch -p1 < ../R-release.diff

Then building and and running make check passes.

So strange ...  I am surprised that trying to get info on the current 
directory (in this case "tests") when not actually owning the directory could 
create such a problem.  There must be a bug someplace in the x86_64
system calls that let's this happen.  It should have just come back
with an error message saying I had no priviledges to do that.  

Oh well, I guess that is the problem when using a new system like x86_64.

Thanks for your fast response.  Please close the bug as user error.

Thanks again,

Kevin




On Thursday 21 August 2003 09:39, Dirk Eddelbuettel wrote:
> On Thu, Aug 21, 2003 at 03:22:17PM +0200, khendricks@ivey.uwo.ca wrote:
> > Full_Name: Kevin B. Hendricks
> > Version: 1.7.1 patched with R-release.diff
> > OS: Linux x86-64
> > Submission from: (NULL) (65.93.132.185)
> >
> >
> > Hi,
> >
> > Built from R-1.7.1 source with R-release.diff patch attached on a
> > RedHat 9 system for Linux x86-64 (dual Opteron system) runing in 64 bit
> > mode.
> >
> > Build completes fine.  But "make check" fails (R is killed because
> > Out-Of-Memory)
> > during reg-tests-1.R.   I have verified that the R-Release.diff patch has
> > been applied
> > and the changes to the stopping critieria in that file have been made.
> >
> > My x86_64 machine has over 2 gig of main memory.
>
> What I your compiler?  The GNU GSL people recetnly had to alter one of
> their regression tests as gcc 3.3.1 (if I recall correctly) would all of a
> sudden consume all available memory.
>
> Just a quick shot in the dark, this may of course an entirely different
> issue... But if you can try an older compiler, that may be worth the few
> minutes it takes.
>
> Dirk


[Rd] make check fails 1.7.1 with R-release patch in regression tests (PR#3868)
Kevin B. Hendricks