From simon.urbanek at r-project.org  Sat Feb 16 21:15:03 2013
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Sat, 16 Feb 2013 15:15:03 -0500
Subject: [Rd] Matrix does not build with R trunk since Oct.
In-Reply-To: <1360970030.67507.YahooMailClassic@web172304.mail.ir2.yahoo.com>
References: <1360970030.67507.YahooMailClassic@web172304.mail.ir2.yahoo.com>
Message-ID: <7355FBAE-0044-4807-8F08-BA927B42D3B1@r-project.org>

On Feb 15, 2013, at 6:13 PM, Hin-Tak Leung wrote:

> FWIW, extracting snapshot source elsewhere outside svn, run "tools/rsync-recommended" then just plain "./configure && make" doesn't work either. Nothing to do with building inside checkout nor extra configure options.
> 

Can you define "extracting snapshot source elsewhere outside svn"? That is likely the crucial point. If you mean that you used "svn checkout" on one machine, copied the content to another machine which does *not* have svn and then built there -- then this is unsupported and it has never been supported (depending on the R version it would either break or report invalid svn rev in R.version). You can *only* build from the svn sources if you have svn installed on the machine (equally, you cannot use svn export - see R-admin 1.2.1). You can only proceed on a machine without svn if you first create a distribution tar ball (e.g., via make dist) on the machine with svn and then use that tar ball on another machine (this is how R snapshots work).


> This is fedora 18, x86_64.
> 

I checked on Fedora 18 and it works just fine using

svn co https://svn.r-project.org/R/trunk R-devel
cd R-devel/
tools/rsync-recommended 
./configure 
make

Cheers,
Simon



> --- On Fri, 15/2/13, Hin-Tak Leung <htl10 at users.sourceforge.net> wrote:
> 
>> Somebody else had written separately about this before, and
>> so have I a couple of months ago. I assumed this will be
>> fixed before the next R. Since R 3.0 is supposedly only 6
>> weeks away, even if it is fixed now it doesn't leave much
>> room for testing. 
>> 
>> Anyway neither Matrix 1.0-11 (current) nor 1.0-9 (sept 2012)
>> build with current R trunk.  The  last time it did
>> was 1. 0-9 on 3rd october over 4 months ago. So it appears
>> to be due to change inside r trunk in sept or early oct. 
>> 
>> 
>> ----------------
>> Loading required package: Matrix
>> Error in namespaceExport(ns, exports) : undefined exports:
>> .M.classEnv
>> Error : require(Matrix) is not TRUE
>> ERROR: installing package indices failed
>> * removing ?/svn-loc/R/library/Matrix?
>> * restoring previous ?/svn-loc/R/library/Matrix?
>> make[2]: *** [Matrix.ts] Error 1
>> make[2]: Leaving directory
>> `/svn-loc/R/src/library/Recommended'
>> make[1]: *** [recommended-packages] Error 2
>> make[1]: Leaving directory
>> `/svn-loc/R/src/library/Recommended'
>> make: *** [stamp-recommended] Error 2
>> ----------------
>> 
>> If it matters, here is what r trunk built with:
>> ./configure --enable-memory-profiling
>> --enable-strict-barrier --enable-byte-compiled-packages
>> --with-valgrind-instrumentation=2 --enable-lto
>> 
>> 
>> 
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Matrix does not build with R trunk since Oct.
Simon Urbanek