From romain.francois at dbmail.com  Tue Sep 22 11:30:29 2009
From: romain.francois at dbmail.com (Romain Francois)
Date: Tue, 22 Sep 2009 11:30:29 +0200
Subject: [Rd] cannot build R-devel (>= r49747)
In-Reply-To: <4AB897F1.3060905@biostat.ku.dk>
References: <4AB86E88.5070304@dbmail.com> <4AB87A07.6040605@biostat.ku.dk>
	<4AB87DB6.5070507@dbmail.com> <4AB88D7A.7040408@dbmail.com>
	<4AB897F1.3060905@biostat.ku.dk>
Message-ID: <4AB89935.3040104@dbmail.com>

On 09/22/2009 11:25 AM, Peter Dalgaard wrote:
>
> Romain Francois wrote:
>
>> However, this might be relevant about my setting, I have the
>> "R_KEEP_PKG_SOURCE" environment variable set to "yes". And if I set it
>> to "no" it builds correctly.
>
> AHA! Yes, that makes sense
>
> R_KEEP_PKG_SOURCE=yes make
>
> breaks for me too with the unprotect_ptr message (SUSE 64bit this time).
>

I can now track this down to these lines in gram.(y|c)

if (!isNull(ParseState.SrcFile))
     	UNPROTECT_PTR(ParseState.SrcFile);

The error occurs the first time ParseState.SrcFile is not null.

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/yw8E : New R package : sos
|- http://tr.im/y8y0 : search the graph gallery from R
`- http://tr.im/y8wY : new R package : ant



[Rd] cannot build R-devel (>= r49747)
Romain Francois