On Wed, Mar 17, 2010 at 11:13:53AM -0600, Ed Hartnett wrote:
> Howdy all!
>
> If anyone would like to test out the 4.1.1-rc2 release, that would be
> most helpful. Get the release here:
>
> ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.1.1-rc2.tar.gz
>
> As always, send feedback to:
>
> support-netcdf@xxxxxxxxxxxxxxxx
>
> Thanks!
>
> Ed
At least on Debian sid we have a building failure on check, solved by the
attached patch.
We are using gcc 4.4.3.
/usr/bin/make tst_coords tst_files tst_vars tst_cvars tst_vert tst_subsets
tst_f03_file
make[5]: Entering directory
`/tmp/buildd/netcdf-4.1.1~rc2/build-tree/netcdf-4.1.1-rc2/libcf/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrc4 -I/usr/include -DgFortran
-g -O2 -g -Wall -O2 -c -o tst_coords.o tst_coords.c
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -g -Wall -O2
-L../../libsrc4 -L/usr/lib -L/usr/lib -o tst_coords tst_coords.o libcf.la
libcff.la libcf.la ../../libsrc4/libnetcdf.la -lhdf5_hl -lhdf5 -lz
libtool: link: gcc -g -O2 -g -Wall -O2 -o .libs/tst_coords tst_coords.o
-L/tmp/buildd/netcdf-4.1.1~rc2/build-tree/netcdf-4.1.1-rc2/libsrc4 -L/usr/lib
./.libs/libcff.so ./.libs/libcf.so ../../libsrc4/.libs/libnetcdf.so
/usr/lib/libhdf5_hl.so /usr/lib/libhdf5.so -lpthread -lm -lz
./.libs/libcf.so: undefined reference to `cdError'
./.libs/libcf.so: undefined reference to `cuErrorOccurred'
./.libs/libcf.so: undefined reference to `CdAddDelTime'
./.libs/libcf.so: undefined reference to `CdDivDelTime'
./.libs/libcf.so: undefined reference to `Cde2h'
./.libs/libcf.so: undefined reference to `Cdh2e'
./.libs/libcf.so: undefined reference to `cuErrOpts'
collect2: ld returned 1 exit status
make[5]: *** [tst_coords] Error 1
make[5]: Leaving directory
`/tmp/buildd/netcdf-4.1.1~rc2/build-tree/netcdf-4.1.1-rc2/libcf/src'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/tmp/buildd/netcdf-4.1.1~rc2/build-tree/netcdf-4.1.1-rc2/libcf/src'
make[3]: *** [check] Error 2
make[3]: Leaving directory
`/tmp/buildd/netcdf-4.1.1~rc2/build-tree/netcdf-4.1.1-rc2/libcf/src'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
`/tmp/buildd/netcdf-4.1.1~rc2/build-tree/netcdf-4.1.1-rc2/libcf'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/tmp/buildd/netcdf-4.1.1~rc2/build-tree/netcdf-4.1.1-rc2'
make: *** [debian/stamp-makefile-check] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Francesco P. Lovergine
diff -Nur -x '*.orig' -x '*~'
netcdf-4.1.1~rc1/build-tree/netcdf-4.1.1-rc1/libcf/src/Makefile.am
netcdf-4.1.1~rc1.new/build-tree/netcdf-4.1.1-rc1/libcf/src/Makefile.am
--- netcdf-4.1.1-rc1/libcf/src/Makefile.am 2009-09-09 17:56:56.000000000
+0100
+++ netcdf-4.1.1-rc1/libcf/src/Makefile.am 2010-03-03 13:18:43.000000000
+0000
@@ -23,11 +23,11 @@
tst_subsets
if BUILD_F90
-lib_LTLIBRARIES += libcff.la
+lib_LTLIBRARIES += libcff.la libnetcdff90.la libnetcdff.la
libcff_la_SOURCES = cffcvars.f90
check_PROGRAMS += tst_f03_file
tst_f03_file_SOURCES = tst_f03_file.f90
-LDADD += libcf.la
+LDADD += libcf.la ../../f90/libnetcdff90.la ../../fortran/libnetcdff.la
nodist_include_HEADERS = libcf.mod
if UPPER_CASE_MOD
LIBCF.mod: cffcvars.o
diff -Nur -x '*.orig' -x '*~'
netcdf-4.1.1~rc1/build-tree/netcdf-4.1.1-rc1/libcf/src/Makefile.in
netcdf-4.1.1~rc1.new/build-tree/netcdf-4.1.1-rc1/libcf/src/Makefile.in
--- netcdf-4.1.1-rc1/libcf/src/Makefile.in 2010-02-24 11:16:39.000000000
+0000
+++ netcdf-4.1.1-rc1/libcf/src/Makefile.in 2010-03-03 15:30:46.000000000
+0000
@@ -52,7 +52,7 @@
@USE_NETCDF_DIR_TRUE@am__append_4 = -lnetcdf
@USE_NETCDF_DIR_TRUE@am__append_5 = -I@NETCDFDIR@/include
@USE_NETCDF_DIR_TRUE@am__append_6 = -L@NETCDFDIR@/lib
-@USE_NETCDF4_TRUE@@USE_NETCDF_DIR_FALSE@am__append_7 =
../../libsrc4/libnetcdf.la
+@USE_NETCDF4_TRUE@@USE_NETCDF_DIR_FALSE@am__append_7 =
../../libsrc4/libnetcdf.la ../../f90/libnetcdff90.la
../../fortran/libnetcdff.la
@USE_NETCDF4_TRUE@@USE_NETCDF_DIR_FALSE@am__append_8 =
-I$(top_srcdir)/../libsrc4
@USE_NETCDF4_TRUE@@USE_NETCDF_DIR_FALSE@am__append_9 = -L../../libsrc4
@USE_NETCDF4_FALSE@@USE_NETCDF_DIR_FALSE@am__append_10 =
../../libsrc/libnetcdf.la
@@ -114,7 +114,7 @@
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" \
"$(DESTDIR)$(includedir)"
-LTLIBRARIES = $(lib_LTLIBRARIES)
+LTLIBRARIES = $(lib_LTLIBRARIES) ../../f90/libnetcdff90.la
../../fortran/libnetcdff.la
libcf_la_LIBADD =
am_libcf_la_OBJECTS = nccoord.lo cffiles.lo cfvars.lo cfcvars.lo \
cfsubsets.lo cferror.lo cdTimeConv.lo