Subject: pkg/14678: [rkb] incorrect NOGCCERROR setting breaks pkgsrc/lang/f2c build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@netbsd.org>
List: netbsd-bugs
Date: 11/21/2001 23:39:58
>Number:         14678
>Category:       pkg
>Synopsis:       incorrect NOGCCERROR setting breaks pkgsrc/lang/f2c build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 21 20:41:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5Y
>Organization:
not today...
>Environment:
System: NetBSD cyclops 1.5Y NetBSD 1.5Y (CYCLOPS) #3: Tue Nov 6 08:30:46 EST 2001 rafal@cyclops:/extra/src-current/sys/arch/i386/compile/CYCLOPS i386
Architecture: i386
Machine: i386
>Description:
	pkgsrc/devel/f2c sets NOGCCERROR to `yes' which results in it being
	used in the commandline of the compile step.

	This may actually be a bug with the .mk files or make, but the value
	of NOGCCERROR isn't ever used, so there's no point to setting it.
>How-To-Repeat:

	Build pkgsrc/lang/f2c
>Fix:

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/f2c/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	2001/04/22 13:55:27	1.3
+++ distinfo	2001/11/22 04:17:10
@@ -6,7 +6,7 @@
 SHA1 (patch-ab) = ddd695d45ac7819578b22a8a8aed0f09803cd3a0
 SHA1 (patch-ac) = 89cd707fdf5e2c4d70a1bbbd905ab7c392d52d77
 SHA1 (patch-ad) = 0144d0cdf55ce8117d179a56acc4db64fe67c8e0
-SHA1 (patch-ae) = b3ba2a1a40aee9f3151fc36aa89d34e472f80325
-SHA1 (patch-ag) = d56c32c8ce651a1a773b32b3e8f9645d3acb2a87
+SHA1 (patch-ae) = 3fe52b87eda1d42328990e81ca563815854526e8
+SHA1 (patch-ag) = cd5f0d032c37d8b306bac2200b4d33e3f571dbfd
 SHA1 (patch-ai) = ccfa759c016e980ed05105833557215ef00c74de
 SHA1 (patch-aj) = c58361fbbfc06e033b2a47e1d1e370716c4b185c
Index: patches/patch-ae
===================================================================
RCS file: /cvsroot/pkgsrc/lang/f2c/patches/patch-ae,v
retrieving revision 1.7
diff -u -r1.7 patch-ae
--- patches/patch-ae	2001/04/09 01:44:39	1.7
+++ patches/patch-ae	2001/11/22 04:17:11
@@ -30,7 +30,7 @@
 -## or remove both the ld and mv lines above.
 -
 +CPPFLAGS+= -Wcast-align -DNO_ONEXIT -DSkip_f2c_Undefs
-+NOGCCERROR=	yes
++NOGCCERROR=
 +MKLINT=	no
  MISC =	F77_aloc.o Version.o main.o s_rnge.o abort_.o getarg_.o iargc_.o \
  	getenv_.o signal_.o s_stop.o s_paus.o system_.o cabs.o\
Index: patches/patch-ag
===================================================================
RCS file: /cvsroot/pkgsrc/lang/f2c/patches/patch-ag,v
retrieving revision 1.7
diff -u -r1.7 patch-ag
--- patches/patch-ag	2001/04/09 01:44:39	1.7
+++ patches/patch-ag	2001/11/22 04:17:11
@@ -20,7 +20,7 @@
 -## If your system does not have the ld command, comment out
 -## or remove both the ld and mv lines above.
 +CPPFLAGS+= -Wcast-align -DSkip_f2c_Undefs
-+NOGCCERROR=	yes
++NOGCCERROR=
 +MKLINT=	no 
 
  OBJ =	Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
>Release-Note:
>Audit-Trail:
>Unformatted:
 	pkgsrc updated earlier this evening EST (Nov 22, ~ 0200 UTC).
 	last userland update was on Nov 6th, 2001 from sources of that
 	day.