Subject: pkg/23702: NetCDF won't build on NetBSD-current
To: None <gnats-bugs@gnats.netbsd.org>
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
List: netbsd-bugs
Date: 12/10/2003 17:44:55
>Number: 23702
>Category: pkg
>Synopsis: NetCDF 3.5.0 won't build with GCC 3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 10 04:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Lloyd Parkes
>Release: NetBSD 1.6ZE
>Organization:
Must Have Coffee
>Environment:
System: NetBSD archangel.must-have-coffee.gen.nz 1.6ZE NetBSD 1.6ZE (GENERIC) #0: Wed Oct 29 08:01:56 NZDT 2003 lloyd@archangel.must-have-coffee.gen.nz:/tmp/obj/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
NetCDF uses strstream.h which is no longer part of libstdc++.
>How-To-Repeat:
cd to pkgsrc/devel/netcdf and type make.
>Fix:
Apply the following patch. It causes a patch from Unidata to be
applied. This patch also obsoletes out patch-ak, so delete that too.
Index: Makefile
===================================================================
RCS file: /data/cvs-src/pkgsrc/devel/netcdf/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile 2003/07/17 21:31:57 1.15
+++ Makefile 2003/12/10 04:31:39
@@ -6,6 +6,11 @@
MASTER_SITES= ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
EXTRACT_SUFX= .tar.Z
+PATCH_SITES= http://www.unidata.ucar.edu/packages/netcdf/
+PATCHFILES= netcdf-3.5.0.gcc3patch
+PATCH_DIST_STRIP= -p2
+
+
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.unidata.ucar.edu/packages/netcdf/index.html
COMMENT= Library for array-oriented data access
Index: distinfo
===================================================================
RCS file: /data/cvs-src/pkgsrc/devel/netcdf/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo 2003/11/29 00:14:54 1.8
+++ distinfo 2003/12/10 04:31:39
@@ -2,6 +2,8 @@
SHA1 (netcdf-3.5.0.tar.Z) = e9c5a9847d8ff9b3e1b8a18f5e216f6a1508bce8
Size (netcdf-3.5.0.tar.Z) = 1319419 bytes
+SHA1 (netcdf-3.5.0.gcc3patch) = 6ed379246cffaf9a08f0e51523e1e8e6a3014739
+Size (netcdf-3.5.0.gcc3patch) = 17122 bytes
SHA1 (patch-ab) = 37bf389e76316b03cc3590a1c13855636907b8a5
SHA1 (patch-ac) = 8a73893ae7c98dd45d61d795592c57abe76d3fde
SHA1 (patch-ad) = 85f57ffe815df04a5222924285af791dd12e6f5a
@@ -11,4 +13,3 @@
SHA1 (patch-ah) = 11083d7a775ca6199162fe3b14776ca24b5c009a
SHA1 (patch-ai) = fb8386c47a2b0e2468bf31a424738979c472de94
SHA1 (patch-aj) = 7721c70d1ec33477a51863626cbfb68e2ed689bb
-SHA1 (patch-ak) = 334ba2656119c9b3682cb6795030a2320c8b6d98
>Release-Note:
>Audit-Trail:
>Unformatted:
Source dated Oct 29 or thereabouts