Package: fort77
Version: 1.15-7
Severity: important

If given a path to a file outside the current directory, fort77 will fail. It 
is caused by perl error because of clash between string match and slash in the 
path.

Here is a call that cause an error:
f77 -c -g -O2  -v -v ../src/avl.f
/usr/bin/f77: fort77 Version 1.15
/usr/bin/f77: Running "/usr/bin/f2c -g -Nn802 -I. < ../src/avl.f | 
/usr/bin/perl -p -e 's/^(#line.*)""/$1"../src/avl.f"/'  > /tmp/fort77-24632-1.c"
   MAIN avl:
Bareword found where operator expected at -e line 1, near 
"s/^(#line.*)""/$1"../src"
String found where operator expected at -e line 1, at end of line
        (Missing semicolon on previous line?)
syntax error at -e line 1, near "s/^(#line.*)""/$1"../src"
Can't find string terminator '"' anywhere before EOF at -e line 1.
   plinit:
   plpars:
   defini:
   parset:
   parnset:
   varini:
   runini:
   runget:
   runsav:
   lowrit:
   aocfil:
/usr/bin/f77: unlinking /tmp/fort77-24632-1.c
/usr/bin/f77: aborting compilation

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fort77 depends on:
ii  cpp                           4:4.3.2-2  The GNU C preprocessor (cpp)
ii  f2c                           20061008-3 A FORTRAN 77 to C/C++ translator
ii  perl [perl5]                  5.10.0-16  Larry Wall's Practical Extraction 

fort77 recommends no packages.

fort77 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to