Subject: pkg/25903: lang/f2c fails to build under Linux
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 06/11/2004 10:19:07
>Number: 25903
>Category: pkg
>Synopsis: lang/f2c fails to build under Linux
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 11 17:20:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: Linux
>Organization:
http://bsd.reedmedia.net/
>Environment:
Machine: i386
>Description:
lang/f2c under Linux failed like:
gcc -g -s -I/usr/include -MD -I/usr/include -Wcast-align -DNO_ONEXIT -DSkip_f2c_Undefs -c -fpic -DPIC etime_.c -o etime_.so
building shared object F77 library
/bin/sh: line 1: lorder: command not found
ranlib libF77_pic.a
building shared F77 library (version 0.0)
ld -o libF77.so.0.0 -shared -h libF77.so.0 --whole-archive libF77_pic.a
rm -f libF77.so; ln -s libF77.so.0.0 libF77.so
mkdir libf2c
if [ -f libF77/libF77.a ]; then cd libf2c && ar x ../libF77/libF77.a ; fi
if [ -f libF77/libF77_p.a ]; then cd libf2c && ar x ../libF77/libF77_p.a ; fi
if [ -f libF77/libF77_pic.a ]; then cd libf2c && ar x ../libF77/libF77_pic.a ; fi
if [ -f libI77/libI77.a ]; then cd libf2c && ar x ../libI77/libI77.a ; fi
if [ -f libI77/libI77_p.a ]; then cd libf2c && ar x ../libI77/libI77_p.a ; fi
if [ -f libI77/libI77_pic.a ]; then cd libf2c && ar x ../libI77/libI77_pic.a ; fi
if [ -f libF77/libF77.a ]; then cd libf2c && ar cruv libf2c.a *.o ; fi
ar: *.o: No such file or directory
*** Error code 1
>How-To-Repeat:
Attempt build under Linux.
>Fix:
I have not looked at this closely. I forced USE_FORTAN to use
my installed gcc3-f77 package's g77 insteadi (so I don't need f2c
for now).
By the way, I do have an lorder package if needed.
>Release-Note:
>Audit-Trail:
>Unformatted: