Hello community, here is the log from the commit of package netcdf for openSUSE:Factory checked in at 2020-12-03 18:41:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netcdf (Old) and /work/SRC/openSUSE:Factory/.netcdf.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netcdf" Thu Dec 3 18:41:51 2020 rev:59 rq:851838 version:4.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/netcdf/netcdf.changes 2020-09-15 16:26:00.222465446 +0200 +++ /work/SRC/openSUSE:Factory/.netcdf.new.5913/netcdf.changes 2020-12-03 18:43:13.526197057 +0100 @@ -1,0 +2,37 @@ +Fri Nov 6 13:44:53 UTC 2020 - Ana Guerrero Lopez <[email protected]> + +- Update to version 4.7.4. + * Support has been added for HDF5-1.12.0. + * Support has been added for multiple filters per variable. + * Now nc_inq_var_szip retuns 0 for parameter values if szip is not in + use for var. + * Now allow parallel I/O with filters, for HDF5-1.10.3 and later. + * Increased default size of cache buffer to 16 MB, from 4 MB. Increased + number of slots to 4133. + * Allow zlib compression to be used with parallel I/O writes, if HDF5 + version is 1.10.3 or greater. + * Restore use of szip compression when writing data (including writing + in parallel if HDF5 version is 1.10.3 or greater). + * Enable use of compact storage option for small vars in netCDF/HDF5 files. + * Updated benchmarking program bm_file.c to better handle very large files. + * Added version number to dispatch table, and now check version with + nc_def_user_format(). + * Increased size of maximum allowed name in HDF4 files to NC_MAX_NAME. + * Bug Fixes: + - Correct behavior for the command line utilities when + directly accessing a directory using utf8 characters. + - Attempts to set filters or chunked storage on scalar vars will now + return NC_EINVAL. Scalar vars cannot be chunked, and only chunked + vars can have filters. Previously the library ignored these attempts, + and always storing scalars as contiguous storage. + - Fixed problem of growing memory when netCDF-4 files were + opened and closed. + Further details can be found at: + https://github.com/Unidata/netcdf-c/releases/tag/v4.7.4 +- Bump soname from 15 to 18. +- Add Fix-logging-argument.patch: + Fix argument to logging function. +- get_filter_info-get-correct-number-of-filter-elements.patch + Fix intermittend issue found by unit tests. + +------------------------------------------------------------------- Old: ---- netcdf-c-4.7.3.tar.gz New: ---- Fix-logging-argument.patch get_filter_info-get-correct-number-of-filter-elements.patch netcdf-c-4.7.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netcdf.spec ++++++ --- /var/tmp/diff_new_pack.zkQ28H/_old 2020-12-03 18:43:14.094197807 +0100 +++ /var/tmp/diff_new_pack.zkQ28H/_new 2020-12-03 18:43:14.098197813 +0100 @@ -20,10 +20,10 @@ %define _do_check 1 -%define ver 4.7.3 -%define _ver 4_7_3 +%define ver 4.7.4 +%define _ver 4_7_4 %define pname netcdf -%define sonum 15 +%define sonum 18 %if 0%{?sle_version} >= 150200 %define DisOMPI1 ExclusiveArch: do_not_build @@ -419,6 +419,8 @@ URL: https://www.unidata.ucar.edu/software/netcdf/ Source: ftp://ftp.unidata.ucar.edu/pub/%{pname}/%{pname}-c-%{version}.tar.gz Source1: nc-config.1.gz +Patch0: Fix-logging-argument.patch +Patch1: get_filter_info-get-correct-number-of-filter-elements.patch BuildRequires: gawk BuildRequires: libtool BuildRequires: m4 @@ -569,6 +571,7 @@ %prep %{?with_hpc:%hpc_debug} %setup -q -n %{pname}-c-%{version} +%autopatch -p1 m4 libsrc/ncx.m4 > libsrc/ncx.c # Create baselib.conf dynamically (non-HPC build only). @@ -616,6 +619,7 @@ --with-pic \ --disable-doxygen \ --enable-static \ +# --enable-logging \ make %{?_smp_mflags} ++++++ Fix-logging-argument.patch ++++++ From: Egbert Eich <[email protected]> Date: Sat Nov 28 23:32:28 2020 +0100 Subject: Fix logging argument. Patch-mainline: Not yet Git-commit: f98960b2762c6ad9d0767da58ba777ca5e59822c References: Signed-off-by: Egbert Eich <[email protected]> --- .command_rpm-git | 2 +- netcdf-c-4.7.4/libhdf5/hdf5var.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netcdf-c-4.7.4/libhdf5/hdf5var.c b/netcdf-c-4.7.4/libhdf5/hdf5var.c index d0404ca..1bec7e0 100644 --- a/libhdf5/hdf5var.c +++ b/libhdf5/hdf5var.c @@ -2290,7 +2290,7 @@ nc_set_var_chunk_cache_ints(int ncid, int varid, int size, int nelems, float real_preemption = CHUNK_CACHE_PREEMPTION; LOG((1, "%s: ncid 0x%x varid %d size %d nelems %d preemption %d", - __func__, ncid, varid, size, nelems, preemptions)); + __func__, ncid, varid, size, nelems, real_preemption)); if (size >= 0) real_size = ((size_t) size) * MEGABYTE; ++++++ get_filter_info-get-correct-number-of-filter-elements.patch ++++++ From: Egbert Eich <[email protected]> Date: Mon Nov 30 08:43:12 2020 +0100 Subject: get_filter_info: get correct number of filter elements Patch-mainline: Not yet Git-commit: 189fef307970683b2c12a1a253fbb12647d17f05 References: Reset num_elements for each filter so that H5Pget_filter2() gets get a filter element for the number of filter slots. Signed-off-by: Egbert Eich <[email protected]> --- netcdf-c-4.7.4/libhdf5/hdf5open.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netcdf-c-4.7.4/libhdf5/hdf5open.c b/netcdf-c-4.7.4/libhdf5/hdf5open.c index 7663b6e..4008558 100644 --- a/libhdf5/hdf5open.c +++ b/libhdf5/hdf5open.c @@ -934,7 +934,7 @@ static int get_filter_info(hid_t propid, NC_VAR_INFO_T *var) H5Z_filter_t filter; int num_filters; unsigned int cd_values_zip[CD_NELEMS_ZLIB]; - size_t cd_nelems = CD_NELEMS_ZLIB; + size_t cd_nelems; int f; int stat = NC_NOERR; @@ -945,6 +945,7 @@ static int get_filter_info(hid_t propid, NC_VAR_INFO_T *var) for (f = 0; f < num_filters; f++) { + cd_nelems = CD_NELEMS_ZLIB; if ((filter = H5Pget_filter2(propid, f, NULL, &cd_nelems, cd_values_zip, 0, NULL, NULL)) < 0) return NC_EHDFERR; ++++++ netcdf-c-4.7.3.tar.gz -> netcdf-c-4.7.4.tar.gz ++++++ ++++ 54915 lines of diff (skipped) _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
