Re: [Rd] Building R-patched and R-devel fails

2016-04-18 Thread peter dalgaard

On 17 Apr 2016, at 17:09 , Uwe Ligges  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@r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>> 
>> 
>> 
> 
> __
> R-devel@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@cbs.dk  Priv: pda...@gmail.com

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Building R-patched and R-devel fails

2016-04-17 Thread Uwe Ligges



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.


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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel






__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Building R-patched and R-devel fails

2016-04-17 Thread Prof Brian Ripley

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.



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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel




--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

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

2016-04-17 Thread Berwin A Turlach
G'day all,

probably you have noticed this by now, but I thought I ought to report
it. :)

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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel