Bug#292917: [Pkg-octave-devel] Bug#292917: needs to depend on f2c on m68k?

Dirk Eddelbuettel Dirk Eddelbuettel <edd@debian.org>, 292917@bugs.debian.org
Mon, 31 Jan 2005 22:04:21 -0600


On 30 January 2005 at 21:47, Adam Conrad wrote:
| Package: octave2.1-headers
| Version: 2.1.64-1
| Severity: important
| 
| I've seen several octave-related packages fail to build on m68k, with
| errors like so:
| ----
| /usr/bin/ld: cannot find -lf2c
| collect2: ld returned 1 exit status
| ----
| 
| If it's octave2.1-headers (well, /usr/bin/mkoctfile) that is introducing
| this extra linker flag, perhaps it should also depend on f2c (on m68k only),
| so packages building against octave2.1 don't have to special case m68k
| each time on their own.

Good point, and r-base-dev uses


  Depends: [...]  g77 | m68k, f2c | not+m68k, type-handling, [...]

which uses a special sort-of virtual package type-handling along with these
funky alternatives encoding m68k behaviour (use f2c) and its opposite (g77).

I can't remember why I never added that to octave2.1-headers. It is worth a try.

Dirk

-- 
Better to have an approximate answer to the right question than a precise 
answer to the wrong question.  --  John Tukey as quoted by John Chambers