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)
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
signature.asc
Description: This is a digitally signed message part.

