Subject: pkg/26628: lang/f2c won't build on Solaris
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ihading@tpchd.org>
List: pkgsrc-bugs
Date: 08/11/2004 18:10:50
>Number: 26628
>Category: pkg
>Synopsis: lang/f2c won't build on Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 12 18:32:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Ian Harding
>Release: N/A
>Organization:
TPCHD
>Environment:
SunOS unknown 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-Enterprise
>Description:
lang/f2c will not build under pkgsrc under Solaris. There is a clue in work/f2c/libI77/makefile.orig:
## Under Solaris (and other systems that do not understand ld -x),
## omit -x in the ld line above.
Since this was eliminated by the patch-ae, I don't know how to kludge it.
I also notice that there is no /usr/share/mk/bsd.lib.mk on my system. I don't know if that is a problem or not...
>How-To-Repeat:
Try to build f2c from pkgsrc on Solaris.
===> Building for f2c-20001205nb5
Making all in libI77
cd libI77 && /usr/pkg/bin/bmake all
gcc -O -I/usr/pkg/include -I/usr/pkg/include -Wcast-align -DSkip_f2c_Undefs
-c Version.c
/usr/ccs/bin/ld: illegal option -- x
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: