On 8 November 2007 at 15:17, Vincent Goulet wrote:
| Le jeu. 8 nov. à 13:33, Thomas Friedrichsmeier a écrit :
| 
| > On Thursday 08 November 2007, Marco Rodrigues wrote:
| >> Package: rkward
| >>
| >> Hi!
| >>
| >> Please add b-d for gfortran-4.1 (Fixes FTBFS).
| >
| > That FTBFS is on ubuntu, am I right? I think it needs fixing, there,  
| > and
| > adding gfortran-4.1 as bd will not help. The situation is as follows:
| >
| > - In debian, starting with 2.5.1-1, R is forced to build with GCC  
| > 4.2. I don't
| > know the exact reasons, but according to the changelog, there were  
| > some
| > problems with mis-compilation of fortran code with gfortran 4.1.
| > - For rkward we needed to follow suit in order to get correct  
| > linking. Since
| > we try to support a large range of different installations with a
| > single .deb, we only force GCC 4.2 when the installed version of R  
| > is 2.5.1
| > or greater.
| > - The relevant build-depends are fetched via r-base-dev, which, in  
| > debian,
| > depends on gcc/g++/gfortran 4.2.
| > - Now in ubuntu apparently the forcing of GCC 4.2 was reverted.  
| > Here's the
| > changelog message for 2.6.0-3gutsy0:
| >
| > r-base (2.6.0-3gutsy0) gutsy; urgency=low
| > .
| >   * Compilation for Ubuntu 7.10
| >   * build-depends on poppler-utils instead of xpdf-reader
| >   * reverted build-depends to gcc, g++ and gfortran instead of  
| > gcc-4.2,
| >     g++-4.2 and gfortran-4.2
| >
| > (@Vincent: That's why I put you in the CC)
| 
| Yes, this is needed since no Ubuntu to date has gcc 4.2 (the version  
| on Gutsy is 4.1.3). Now, as to why the change was needed on Debian in  
| the first place, Dirk (in CC) is better able to answer than I am.  
| (Honestly, I never really understood why Ubuntu can do without the  
| Debian gcc >= 4.2 requirement.)

Me neither, especially as IIRC 4.2 was recommended for among other things,
Fortran support.  But there are many things I don't understand in Ubuntu.
For example that they never ever report any patches back to me. Oh well.

That said, my day job environment runs on (K)Ubuntu and I haven't had an
issue there either. 

Dirk


 
| Regards,
| 
| Vincent
| 
| > I can see no good way of coping with this from the rkward debian  
| > package.
| > Rather, I think you will need to prepare a ubuntu-specific package  
| > of rkward,
| > just as you did for r-base. To do so, simply remove the logic in  
| > lines 30 to
| > 39 of debian/rules (leave only the portion inside the else...fi). No  
| > other
| > changes should be needed. But again, I can see no good way of  
| > adjusting the
| > debian package, and will close this report unless you manage to  
| > convince me
| > otherwise.
| >
| > Regards
| > Thomas
| 

-- 
Three out of two people have difficulties with fractions.


Reply via email to