Test failures on CentOS7 with NetCDF 4.7.0
I am running on CentOS 7:
$ rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64
$ uname --kernel-name --kernel-release --machine
Linux 3.10.0-957.21.3.el7.x86_64 x86_64
I configured version 1.8.5.0 with:
CPPFLAGS=-I$NETCDF_ROOT/include LDFLAGS=-L$NETCDF_ROOT/lib ./configure
The make succeeds, but make check fails for test_nccmp_61.sh and test_nccmp_63.sh as shown in the log below:
sh-4.2$ more test/test-suite.log
========================================
nccmp 1.8.5.0: test/test-suite.log
========================================
# TOTAL: 76
# PASS: 74
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_nccmp_61.sh
======================
61. Netcdf4 user defined compound type enum field nonarray
Create basic netcdf test files with ncgen.
ncgen -k nc4 -o test18a.61.nc ./test18a.cdl
assertion failure: econst->subclass == NC_ECONST
./test_nccmp_setup.sh: line 129: 254644 Aborted (core dumped) ncgen -k nc4 -o test18a.61.nc ./test18a.cdl
ncgen -k nc4 -o test18b.61.nc ./test18b.cdl
assertion failure: econst->subclass == NC_ECONST
./test_nccmp_setup.sh: line 129: 254674 Aborted (core dumped) ncgen -k nc4 -o test18b.61.nc ./test18b.cdl
./test_nccmp_template.sh: line 9: 4.3.3: No such file or directory
Expected exit code 1.
Test that failed:
../src/nccmp -df test18a.61.nc test18b.61.nc > stderr61.tmp 2>&1
FAIL: test_nccmp_63.sh
======================
63. Netcdf4 user-type vlens
Create basic netcdf test files with ncgen.
ncgen -k nc4 -o test19a.63.nc ./test19a.cdl
ncgen: ./test19a.cdl line 30: Undefined enum or enum constant reference: FOO
ncgen -k nc4 -o test19b.63.nc ./test19b.cdl
ncgen: ./test19b.cdl line 30: Undefined enum or enum constant reference: FOO
./test_nccmp_template.sh: line 9: 4.3.3: No such file or directory
Expected exit code 1.
Test that failed:
../src/nccmp -df test19a.63.nc test19b.63.nc > stderr63.tmp 2>&1
sh-4.2$