NetBSD Problem Report #26628
Received: (qmail 22784 invoked by uid 605); 12 Aug 2004 18:29:28 -0000
Message-Id: <20040811181050.54D3611197@narn.netbsd.org>
Date: Wed, 11 Aug 2004 18:10:50 +0000 (UTC)
From: ihading@tpchd.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: ihading@tpchd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/f2c won't build on Solaris
X-Send-Pr-Version: www-1.0
>Number: 26628
>Category: pkg
>Synopsis: lang/f2c won't build on Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: dmcmahill
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 12 18:32:01 +0000 2004
>Closed-Date: Mon Sep 20 12:18:06 +0000 2004
>Last-Modified: Mon Sep 20 12:18:06 +0000 2004
>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:
Responsible-Changed-From-To: pkg-manager->dmcmahill
Responsible-Changed-By: ben
Responsible-Changed-When: Thu Aug 12 20:02:33 UTC 2004
Responsible-Changed-Why:
Assigned to dmcmahill, the package maintainer.
State-Changed-From-To: open->feedback
State-Changed-By: dmcmahill
State-Changed-When: Tue Sep 14 22:10:00 UTC 2004
State-Changed-Why:
i've made some changes which should help on solaris. Please let
me know if it helps.
From: Dan McMahill <dmcmahill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/26628 CVS commit: pkgsrc/lang/f2c
Date: Tue, 14 Sep 2004 22:09:40 +0000 (UTC)
Module Name: pkgsrc
Committed By: dmcmahill
Date: Tue Sep 14 22:09:40 UTC 2004
Modified Files:
pkgsrc/lang/f2c: Makefile PLIST distinfo
pkgsrc/lang/f2c/patches: patch-aa patch-ad patch-ae patch-ag
Log Message:
libtool-ize this for building its shared libs instead of using
bsd.lib.mk. Should address PR26628 where this package can't
build on solaris. In addition, this cleans up some PLIST hacks.
To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 pkgsrc/lang/f2c/Makefile
cvs rdiff -r1.1 -r1.2 pkgsrc/lang/f2c/PLIST
cvs rdiff -r1.9 -r1.10 pkgsrc/lang/f2c/distinfo
cvs rdiff -r1.12 -r1.13 pkgsrc/lang/f2c/patches/patch-aa
cvs rdiff -r1.4 -r1.5 pkgsrc/lang/f2c/patches/patch-ad
cvs rdiff -r1.8 -r1.9 pkgsrc/lang/f2c/patches/patch-ae \
pkgsrc/lang/f2c/patches/patch-ag
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: feedback->closed
State-Changed-By: dmcmahill
State-Changed-When: Mon Sep 20 12:17:20 UTC 2004
State-Changed-Why:
I was able to test on mySunOs 5.9 system. f2c seems to build and work correctly
now.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.