From pdalgd at gmail.com  Mon Apr 18 15:18:48 2016
From: pdalgd at gmail.com (peter dalgaard)
Date: Mon, 18 Apr 2016 15:18:48 +0200
Subject: [Rd] Building R-patched and R-devel fails
In-Reply-To: <5713A73D.8000808@statistik.tu-dortmund.de>
References: <20160417142501.5e90e27e@bossiaea>
	<571350D0.2050706@stats.ox.ac.uk>
	<5713A73D.8000808@statistik.tu-dortmund.de>
Message-ID: <5AA9051A-44A5-45C8-87AF-F087DB4BCBE4@gmail.com>


On 17 Apr 2016, at 17:09 , Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:

> 
> 
> On 17.04.2016 11:01, Prof Brian Ripley wrote:
>> On 17/04/2016 07:25, Berwin A Turlach wrote:
>>> G'day all,
>>> 
>>> probably you have noticed this by now, but I thought I ought to report
>>> it. :)
>> 
>> Already fixed for Unix by the time this reached me.  Since that version
>> of Survival has been put into 3.2 patched, that also needed its
>> Makefile.in updated.
>> 
>> I've left Windows changes to those with a Windows build system.
> 
> 
> Done for R-devel and the 3.3 branch just in case something happens on other machines. At least on my machine the build happened in an appropriate order anyway.

Great.

In case you missed Terry's note: This dependency transpires to be due to a very recent addition addition to survival, which explains why we were never bitten by it in the past. And since M comes before s in most collations, it probably only affected parallel builds anyway. And even in that case, the outcome of race conditions is undetermined.

-pd


> 
> Best,
> Uwe
> 
>>> 
>>> My scripts that update the SVN sources for R-patched and R-devel, run
>>> `tools/rsync-recommended' (for both) and then install both these
>>> versions from scratch failed this morning.  Apparently the new version
>>> of the recommended package `survival' depends on the recommended
>>> package `Matrix', but the makefile does not ensure that Matrix is build
>>> before survival.  So my log files had entries:
>>> 
>>>   [...]
>>>   ERROR: dependency ?Matrix? is not available for package ?survival?
>>>   * removing ?/opt/src/R-devel-build/library/survival?
>>>   Makefile:51: recipe for target 'survival.ts' failed
>>>   make[2]: *** [survival.ts] Error 1
>>>   make[2]: *** Waiting for unfinished jobs....
>>>   [...]
>>> 
>>> Presumably, in both branches, the files Makefile.in and Makefile.win in
>>> src/library/Recommended have to be adapted to contain the following
>>> line at the end among the "Hardcoded dependencies":
>>> 
>>>    survival.ts: Matrix.ts
>>> 
>>> Cheers,
>>> 
>>>    Berwin
>>> 
>>> ______________________________________________
>>> R-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>> 
>> 
>> 
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] Building R-patched and R-devel fails
peter dalgaard