Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hdf5 for openSUSE:Factory checked in at 2024-05-15 21:27:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hdf5 (Old) and /work/SRC/openSUSE:Factory/.hdf5.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hdf5" Wed May 15 21:27:01 2024 rev:86 rq:1174039 version:1.12.3 Changes: -------- --- /work/SRC/openSUSE:Factory/hdf5/hdf5.changes 2024-03-21 17:01:10.074008702 +0100 +++ /work/SRC/openSUSE:Factory/.hdf5.new.1880/hdf5.changes 2024-05-15 21:27:37.867838474 +0200 @@ -1,0 +2,38 @@ +Mon May 13 11:41:05 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 1.12.3: + * Bumped the minimum required version of Autoconf to 2.71. + * Added new option to build libaec and zlib inline with CMake. + * Changed the error handling for a not found path in the find + plugin process. + * Removed "-commons" linking option to fix a compile error on + MacOS Sonoma that resulted in build failure. + * Doxygen User Guide documentation can be configured and + generated. +- Minor patch rebase for updated version: + * Disable-phdf5-tests.patch + * Fix-error-message-not-the-name-but-the-link-information-is-parsed.patch + * H5O_fsinfo_decode-Make-more-resilient-to-out-of-bounds-read.patch + * Hot-fix-for-CVE-2020-10812.patch + * PPC64LE-Fix-long-double-handling.patch + * Report-error-if-dimensions-of-chunked-storage-in-data-layout-2.patch + * Validate-location-offset-of-the-accumulated-metadata-when-comparing.patch + * When-evicting-driver-info-block-NULL-the-corresponding-entry.patch + * hdf5-1.8.11-abort_unknown_host_config.patch + * hdf5-LD_LIBRARY_PATH.patch + * hdf5-Remove-timestamps-from-binaries.patch + * hdf5-wrappers.patch +- Drop upstreamed patches: + * Remove-duplicate-code.patch + * H5O__pline_decode-Make-more-resilient-to-out-of-bounds-read.patch + * H5O_dtype_decode_helper-Parent-of-enum-needs-to-have-same-size-as-enum-itself.patch + * Pass-compact-chunk-size-info-to-ensure-requested-elements-are-within-bounds.patch + * Make-sure-info-block-for-external-links-has-at-least-3-bytes.patch + * Compound-datatypes-may-not-have-members-of-size-0.patch + * H5IMget_image_info-H5Sget_simple_extent_dims-does-not-exceed-array-size.patch + * Check-for-overflow-when-calculating-on-disk-attribute-data-size-2459.patch +- New BuildRequires: hostname. +- Work around an sed hack in upstream configure file by dropping + "-Werror=return-type" from RPM %optflags. + +------------------------------------------------------------------- Old: ---- Check-for-overflow-when-calculating-on-disk-attribute-data-size-2459.patch Compound-datatypes-may-not-have-members-of-size-0.patch H5IMget_image_info-H5Sget_simple_extent_dims-does-not-exceed-array-size.patch H5O__pline_decode-Make-more-resilient-to-out-of-bounds-read.patch H5O_dtype_decode_helper-Parent-of-enum-needs-to-have-same-size-as-enum-itself.patch Make-sure-info-block-for-external-links-has-at-least-3-bytes.patch Pass-compact-chunk-size-info-to-ensure-requested-elements-are-within-bounds.patch Remove-duplicate-code.patch hdf5-1.12.2.tar.bz2 New: ---- hdf5-1.12.3.tar.bz2 BETA DEBUG BEGIN: Old: * H5IMget_image_info-H5Sget_simple_extent_dims-does-not-exceed-array-size.patch * Check-for-overflow-when-calculating-on-disk-attribute-data-size-2459.patch - New BuildRequires: hostname. Old: * Make-sure-info-block-for-external-links-has-at-least-3-bytes.patch * Compound-datatypes-may-not-have-members-of-size-0.patch * H5IMget_image_info-H5Sget_simple_extent_dims-does-not-exceed-array-size.patch Old: * Compound-datatypes-may-not-have-members-of-size-0.patch * H5IMget_image_info-H5Sget_simple_extent_dims-does-not-exceed-array-size.patch * Check-for-overflow-when-calculating-on-disk-attribute-data-size-2459.patch Old: * Remove-duplicate-code.patch * H5O__pline_decode-Make-more-resilient-to-out-of-bounds-read.patch * H5O_dtype_decode_helper-Parent-of-enum-needs-to-have-same-size-as-enum-itself.patch Old: * H5O__pline_decode-Make-more-resilient-to-out-of-bounds-read.patch * H5O_dtype_decode_helper-Parent-of-enum-needs-to-have-same-size-as-enum-itself.patch * Pass-compact-chunk-size-info-to-ensure-requested-elements-are-within-bounds.patch Old: * Pass-compact-chunk-size-info-to-ensure-requested-elements-are-within-bounds.patch * Make-sure-info-block-for-external-links-has-at-least-3-bytes.patch * Compound-datatypes-may-not-have-members-of-size-0.patch Old: * H5O_dtype_decode_helper-Parent-of-enum-needs-to-have-same-size-as-enum-itself.patch * Pass-compact-chunk-size-info-to-ensure-requested-elements-are-within-bounds.patch * Make-sure-info-block-for-external-links-has-at-least-3-bytes.patch Old:- Drop upstreamed patches: * Remove-duplicate-code.patch * H5O__pline_decode-Make-more-resilient-to-out-of-bounds-read.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hdf5.spec ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:38.923876696 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:38.927876841 +0200 @@ -35,7 +35,7 @@ %define use_sz2 0 %define short_ver 1.12 -%define vers %{short_ver}.2 +%define vers %{short_ver}.3 %define _vers %( echo %{vers} | tr '.' '_' ) %define src_ver %{version} %define pname hdf5 @@ -332,20 +332,13 @@ # Imported from Fedora, strip flags from h5cc wrapper Patch10: hdf5-wrappers.patch Patch101: H5O_fsinfo_decode-Make-more-resilient-to-out-of-bounds-read.patch -Patch102: H5O__pline_decode-Make-more-resilient-to-out-of-bounds-read.patch -Patch103: H5O_dtype_decode_helper-Parent-of-enum-needs-to-have-same-size-as-enum-itself.patch Patch104: Report-error-if-dimensions-of-chunked-storage-in-data-layout-2.patch Patch105: When-evicting-driver-info-block-NULL-the-corresponding-entry.patch -Patch106: Pass-compact-chunk-size-info-to-ensure-requested-elements-are-within-bounds.patch Patch107: Validate-location-offset-of-the-accumulated-metadata-when-comparing.patch -Patch108: Make-sure-info-block-for-external-links-has-at-least-3-bytes.patch Patch109: Hot-fix-for-CVE-2020-10812.patch -Patch110: Compound-datatypes-may-not-have-members-of-size-0.patch -Patch111: H5IMget_image_info-H5Sget_simple_extent_dims-does-not-exceed-array-size.patch -Patch112: Check-for-overflow-when-calculating-on-disk-attribute-data-size-2459.patch -Patch113: Remove-duplicate-code.patch BuildRequires: fdupes +BuildRequires: hostname %if 0%{?use_sz2} BuildRequires: libsz2-devel %endif @@ -583,18 +576,10 @@ %patch -P 9 -p1 %patch -P 10 -p1 %patch -P 101 -p1 -%patch -P 102 -p1 -%patch -P 103 -p1 %patch -P 104 -p1 %patch -P 105 -p1 -%patch -P 106 -p1 %patch -P 107 -p1 -%patch -P 108 -p1 %patch -P 109 -p1 -%patch -P 110 -p1 -%patch -P 111 -p1 -%patch -P 112 -p1 -%patch -P 113 -p1 %if %{without hpc} # baselibs looks different for different flavors - generate it on the fly @@ -624,7 +609,15 @@ export CC=gcc export CXX=g++ export F9X=gfortran -export CFLAGS="%{optflags}" +# Ouch, how ugly! Upstream configure depends on hacking out Werror manually: +# > configure.ac:## Strip out -Werror from CFLAGS since that can cause checks to fail when +# > configure.ac:CFLAGS="`echo $CFLAGS | sed -e 's/-Werror//g'`" +# We need to clear out -Werror=return-type from our optflags otherwise we leave +# a bare '=return-type' hanging in the options passed to GCC by configure +export CFLAGS=`echo "%{optflags}" | sed -e 's/-Werror=return-type //'` +export CXXFLAGS=`echo "%{optflags}" | sed -e 's/-Werror=return-type //'` +export FFLAGS=`echo "%{optflags}" | sed -e 's/-Werror=return-type //'` +export FCFLAGS=`echo "%{optflags}" | sed -e 's/-Werror=return-type //'` %ifarch %arm # we want to have useful H5_CFLAGS on arm too test -e config/linux-gnueabi || cp config/linux-gnu config/linux-gnueabi @@ -863,6 +856,7 @@ %{my_bindir}/h5repart %{my_bindir}/h5stat %{my_bindir}/h5unjam +%{my_bindir}/h5watch %files -n %{libname -s %{sonum}} %doc ACKNOWLEDGMENTS README.md ++++++ Disable-phdf5-tests.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:38.959878000 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:38.963878145 +0200 @@ -8,11 +8,11 @@ Signed-off-by: Egbert Eich <e...@suse.com> Signed-off-by: Egbert Eich <e...@suse.de> --- -Index: hdf5-1.12.2/testpar/CMakeTests.cmake +Index: hdf5-1.12.3/testpar/CMakeTests.cmake =================================================================== ---- hdf5-1.12.2.orig/testpar/CMakeTests.cmake -+++ hdf5-1.12.2/testpar/CMakeTests.cmake -@@ -43,7 +43,7 @@ foreach (skiptest ${SKIP_tests}) +--- hdf5-1.12.3.orig/testpar/CMakeTests.cmake ++++ hdf5-1.12.3/testpar/CMakeTests.cmake +@@ -49,7 +49,7 @@ foreach (skiptest ${SKIP_tests}) set (SKIP_testphdf5 "${SKIP_testphdf5};-x;${skiptest}") endforeach () @@ -21,11 +21,11 @@ set_tests_properties (MPI_TEST_testphdf5 PROPERTIES FIXTURES_REQUIRED par_clear_testphdf5 ENVIRONMENT "HDF5_ALARM_SECONDS=3600;srcdir=${HDF5_TEST_PAR_BINARY_DIR}" -Index: hdf5-1.12.2/testpar/Makefile.am +Index: hdf5-1.12.3/testpar/Makefile.am =================================================================== ---- hdf5-1.12.2.orig/testpar/Makefile.am -+++ hdf5-1.12.2/testpar/Makefile.am -@@ -30,7 +30,7 @@ check_SCRIPTS = $(TEST_SCRIPT_PARA) +--- hdf5-1.12.3.orig/testpar/Makefile.am ++++ hdf5-1.12.3/testpar/Makefile.am +@@ -29,7 +29,7 @@ check_SCRIPTS = $(TEST_SCRIPT_PARA) # Test programs. These are our main targets. # ++++++ Fix-error-message-not-the-name-but-the-link-information-is-parsed.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:38.975878579 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:38.979878723 +0200 @@ -11,11 +11,11 @@ --- src/H5Olink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/H5Olink.c b/src/H5Olink.c -index 51c44a36b0..ee2a413dc1 100644 ---- a/src/H5Olink.c -+++ b/src/H5Olink.c -@@ -245,7 +245,7 @@ H5O__link_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNUSE +Index: hdf5-1.12.3/src/H5Olink.c +=================================================================== +--- hdf5-1.12.3.orig/src/H5Olink.c ++++ hdf5-1.12.3/src/H5Olink.c +@@ -244,7 +244,7 @@ H5O__link_decode(H5F_t *f, H5O_t H5_ATTR /* Make sure that length doesn't exceed buffer size, which could occur when the file is corrupted */ if (p + len > p_end) ++++++ H5O_fsinfo_decode-Make-more-resilient-to-out-of-bounds-read.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:38.995879303 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:38.999879448 +0200 @@ -19,11 +19,11 @@ --- src/H5Ofsinfo.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) -diff --git a/src/H5Ofsinfo.c b/src/H5Ofsinfo.c -index 9f6514a291..15cbb5ae7b 100644 ---- a/src/H5Ofsinfo.c -+++ b/src/H5Ofsinfo.c -@@ -88,6 +88,13 @@ H5FL_DEFINE_STATIC(H5O_fsinfo_t); +Index: hdf5-1.12.3/src/H5Ofsinfo.c +=================================================================== +--- hdf5-1.12.3.orig/src/H5Ofsinfo.c ++++ hdf5-1.12.3/src/H5Ofsinfo.c +@@ -87,6 +87,13 @@ H5FL_DEFINE_STATIC(H5O_fsinfo_t); * *------------------------------------------------------------------------- */ @@ -37,7 +37,7 @@ static void * H5O__fsinfo_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, size_t p_size, const uint8_t *p) -@@ -112,6 +119,7 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNU +@@ -111,6 +118,7 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_AT fsinfo->fs_addr[ptype - 1] = HADDR_UNDEF; /* Version of message */ @@ -45,7 +45,7 @@ vers = *p++; if (vers == H5O_FSINFO_VERSION_0) { -@@ -125,6 +133,7 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNU +@@ -124,6 +132,7 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_AT fsinfo->pgend_meta_thres = H5F_FILE_SPACE_PGEND_META_THRES; fsinfo->eoa_pre_fsm_fsalloc = HADDR_UNDEF; @@ -53,7 +53,7 @@ strategy = (H5F_file_space_type_t)*p++; /* File space strategy */ H5F_DECODE_LENGTH(f, p, threshold); /* Free-space section threshold */ -@@ -170,6 +179,7 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNU +@@ -169,6 +178,7 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_AT HDassert(vers >= H5O_FSINFO_VERSION_1); fsinfo->version = vers; @@ -61,7 +61,7 @@ fsinfo->strategy = (H5F_fspace_strategy_t)*p++; /* File space strategy */ fsinfo->persist = *p++; /* Free-space persist or not */ H5F_DECODE_LENGTH(f, p, fsinfo->threshold); /* Free-space section threshold */ -@@ -181,9 +191,11 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNU +@@ -180,9 +190,11 @@ H5O__fsinfo_decode(H5F_t *f, H5O_t H5_AT /* Decode addresses of free space managers, if persisting */ if (fsinfo->persist) ++++++ Hot-fix-for-CVE-2020-10812.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.015880027 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.019880172 +0200 @@ -28,11 +28,11 @@ --- src/H5Fint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/H5Fint.c b/src/H5Fint.c -index 9b5613972f..01faf33495 100644 ---- a/src/H5Fint.c -+++ b/src/H5Fint.c -@@ -1413,7 +1413,7 @@ H5F__dest(H5F_t *f, hbool_t flush) +Index: hdf5-1.12.3/src/H5Fint.c +=================================================================== +--- hdf5-1.12.3.orig/src/H5Fint.c ++++ hdf5-1.12.3/src/H5Fint.c +@@ -1412,7 +1412,7 @@ H5F__dest(H5F_t *f, hbool_t flush, hbool */ if (H5AC_prep_for_file_close(f) < 0) /* Push error, but keep going */ ++++++ PPC64LE-Fix-long-double-handling.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.039880895 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.043881041 +0200 @@ -7,49 +7,15 @@ Signed-off-by: Egbert Eich <e...@suse.com> --- - hdf5-1.10.1/config/cmake/ConversionTests.c | 16 ++++++++++++++++ - hdf5-1.10.1/test/dt_arith.c | 26 ++++++++++++++++++++++++-- - 2 files changed, 40 insertions(+), 2 deletions(-) + config/cmake/ConversionTests.c | 16 ++++++++++++++++ + test/dt_arith.c | 27 +++++++++++++++++++++++++-- + 2 files changed, 41 insertions(+), 2 deletions(-) -Index: hdf5-1.12.2/config/cmake/ConversionTests.c +Index: hdf5-1.12.3/test/dt_arith.c =================================================================== ---- hdf5-1.12.2.orig/config/cmake/ConversionTests.c -+++ hdf5-1.12.2/config/cmake/ConversionTests.c -@@ -34,6 +34,14 @@ int HDF_NO_UBSAN main(void) - unsigned char s2[8]; - int ret = 1; - -+#if defined __powerpc64__ && defined _LITTLE_ENDIAN -+ /* Don't bother checking on ppc64le, we know it'll work, and -+ that what hdf5 calls 'special algorithm' simply is -+ IBM ldouble 128 (i.e. two seperately scaled doubles). -+ The check below assumes big endian. */ -+ ret = 0; -+#endif -+ - if(sizeof(long double) == 16 && sizeof(long) == 8) { - /*make sure the long double type has 16 bytes in size and - * 11 bits of exponent. If it is, -@@ -157,6 +165,14 @@ int HDF_NO_UBSAN main(void) - unsigned char s[16]; - int ret = 0; - -+#if defined __powerpc64__ && defined _LITTLE_ENDIAN -+ /* Don't bother checking on ppc64le, we know it'll work, and -+ that what hdf5 calls 'special algorithm' simply is -+ IBM ldouble 128 (i.e. two seperately scaled doubles). -+ The check below assumes big endian. */ -+ ret = 0; -+#endif -+ - if(sizeof(long double) == 16) { - /*make sure the long double type is the same as the failing type - *which has 16 bytes in size and 11 bits of exponent. If it is, -Index: hdf5-1.12.2/test/dt_arith.c -=================================================================== ---- hdf5-1.12.2.orig/test/dt_arith.c -+++ hdf5-1.12.2/test/dt_arith.c -@@ -3036,7 +3036,19 @@ test_conv_flt_1(const char *name, int ru +--- hdf5-1.12.3.orig/test/dt_arith.c ++++ hdf5-1.12.3/test/dt_arith.c +@@ -3035,7 +3035,19 @@ test_conv_flt_1(const char *name, int ru #if H5_SIZEOF_LONG_DOUBLE != H5_SIZEOF_DOUBLE } else if (src_type == FLT_LDOUBLE) { @@ -70,7 +36,7 @@ #endif } else -@@ -3736,7 +3748,18 @@ test_conv_int_fp(const char *name, int r +@@ -3735,7 +3747,18 @@ test_conv_int_fp(const char *name, int r nelmts); } else { @@ -90,4 +56,38 @@ } #endif } +Index: hdf5-1.12.3/config/cmake/ConversionTests.c +=================================================================== +--- hdf5-1.12.3.orig/config/cmake/ConversionTests.c ++++ hdf5-1.12.3/config/cmake/ConversionTests.c +@@ -34,6 +34,14 @@ int HDF_NO_UBSAN main(void) + unsigned char s2[8]; + int ret = 1; + ++#if defined __powerpc64__ && defined _LITTLE_ENDIAN ++ /* Don't bother checking on ppc64le, we know it'll work, and ++ that what hdf5 calls 'special algorithm' simply is ++ IBM ldouble 128 (i.e. two seperately scaled doubles). ++ The check below assumes big endian. */ ++ ret = 0; ++#endif ++ + if (sizeof(long double) == 16 && sizeof(long) == 8) { + /* Make sure the long double type has 16 bytes in size and + * 11 bits of exponent. If it is, the bit sequence should be +@@ -174,6 +182,14 @@ int HDF_NO_UBSAN main(void) + unsigned char s[16]; + int ret = 0; + ++#if defined __powerpc64__ && defined _LITTLE_ENDIAN ++ /* Don't bother checking on ppc64le, we know it'll work, and ++ that what hdf5 calls 'special algorithm' simply is ++ IBM ldouble 128 (i.e. two seperately scaled doubles). ++ The check below assumes big endian. */ ++ ret = 0; ++#endif ++ + if (sizeof(long double) == 16) { + /* Make sure the long double type is the same as the failing type + * which has 16 bytes in size and 11 bits of exponent. If it is, ++++++ Report-error-if-dimensions-of-chunked-storage-in-data-layout-2.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.059881619 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.067881909 +0200 @@ -19,31 +19,21 @@ Signed-off-by: Egbert Eich <e...@suse.com> Signed-off-by: Egbert Eich <e...@suse.de> --- - src/H5Olayout.c | 7 +++++++ - 1 file changed, 7 insertions(+) -diff --git a/src/H5Olayout.c b/src/H5Olayout.c -index c939e72744..9fa9e36e8c 100644 ---- a/src/H5Olayout.c -+++ b/src/H5Olayout.c -@@ -168,6 +168,10 @@ H5O__layout_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNU - p += ndims * 4; /* Skip over dimension sizes (32-bit quantities) */ - } /* end if */ - else { -+ if (ndims < 2) -+ HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, NULL, -+ "bad dimensions for chunked storage") -+ - mesg->u.chunk.ndims = ndims; - for (u = 0; u < ndims; u++) - UINT32DECODE(p, mesg->u.chunk.dim[u]); -@@ -241,6 +245,9 @@ H5O__layout_decode(H5F_t *f, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNU - mesg->u.chunk.ndims = *p++; - if (mesg->u.chunk.ndims > H5O_LAYOUT_NDIMS) - HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, NULL, "dimensionality is too large") + src/H5Olayout.c | 4 ++++ + 1 file changed, 4 insertions(+) +Index: hdf5-1.12.3/src/H5Olayout.c +=================================================================== +--- hdf5-1.12.3.orig/src/H5Olayout.c ++++ hdf5-1.12.3/src/H5Olayout.c +@@ -291,6 +291,10 @@ H5O__layout_decode(H5F_t *f, H5O_t H5_AT + if (mesg->u.chunk.ndims < 2) + HGOTO_ERROR(H5E_OHDR, H5E_BADVALUE, NULL, "bad dimensions for chunked storage") + + if (mesg->u.chunk.ndims < 2) + HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, NULL, + "bad dimensions for chunked storage") - ++ /* B-tree address */ - H5F_addr_decode(f, &p, &(mesg->storage.u.chunk.idx_addr)); + if (H5_IS_BUFFER_OVERFLOW(p, H5F_SIZEOF_ADDR(f), p_end)) + HGOTO_ERROR(H5E_OHDR, H5E_OVERFLOW, NULL, ++++++ Validate-location-offset-of-the-accumulated-metadata-when-comparing.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.079882343 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.083882488 +0200 @@ -22,11 +22,11 @@ --- src/H5Faccum.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) -diff --git a/src/H5Faccum.c b/src/H5Faccum.c -index aed5812e63..73bd4b811e 100644 ---- a/src/H5Faccum.c -+++ b/src/H5Faccum.c -@@ -48,6 +48,7 @@ +Index: hdf5-1.12.3/src/H5Faccum.c +=================================================================== +--- hdf5-1.12.3.orig/src/H5Faccum.c ++++ hdf5-1.12.3/src/H5Faccum.c +@@ -47,6 +47,7 @@ #define H5F_ACCUM_THROTTLE 8 #define H5F_ACCUM_THRESHOLD 2048 #define H5F_ACCUM_MAX_SIZE (1024 * 1024) /* Max. accum. buf size (max. I/Os will be 1/2 this size) */ @@ -34,7 +34,7 @@ /******************/ /* Local Typedefs */ -@@ -126,8 +127,9 @@ H5F__accum_read(H5F_shared_t *f_sh, H5FD_mem_t map_type, haddr_t addr, size_t si +@@ -125,8 +126,9 @@ H5F__accum_read(H5F_shared_t *f_sh, H5FD HDassert(!accum->buf || (accum->alloc_size >= accum->size)); /* Current read adjoins or overlaps with metadata accumulator */ @@ -46,7 +46,7 @@ size_t amount_before; /* Amount to read before current accumulator */ haddr_t new_addr; /* New address of the accumulator buffer */ size_t new_size; /* New size of the accumulator buffer */ -@@ -439,7 +441,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5FD_mem_t map_type, haddr_t addr, size_t s +@@ -438,7 +440,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5F /* Check if there is already metadata in the accumulator */ if (accum->size > 0) { /* Check if the new metadata adjoins the beginning of the current accumulator */ @@ -56,7 +56,7 @@ /* Check if we need to adjust accumulator size */ if (H5F__accum_adjust(accum, file, H5F_ACCUM_PREPEND, size) < 0) HGOTO_ERROR(H5E_IO, H5E_CANTRESIZE, FAIL, "can't adjust metadata accumulator") -@@ -464,7 +467,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5FD_mem_t map_type, haddr_t addr, size_t s +@@ -463,7 +466,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5F accum->dirty_off = 0; } /* end if */ /* Check if the new metadata adjoins the end of the current accumulator */ @@ -66,7 +66,7 @@ /* Check if we need to adjust accumulator size */ if (H5F__accum_adjust(accum, file, H5F_ACCUM_APPEND, size) < 0) HGOTO_ERROR(H5E_IO, H5E_CANTRESIZE, FAIL, "can't adjust metadata accumulator") -@@ -485,7 +489,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5FD_mem_t map_type, haddr_t addr, size_t s +@@ -484,7 +488,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5F accum->size += size; } /* end if */ /* Check if the piece of metadata being written overlaps the metadata accumulator */ @@ -76,7 +76,7 @@ size_t add_size; /* New size of the accumulator buffer */ /* Check if the new metadata is entirely within the current accumulator */ -@@ -745,7 +750,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5FD_mem_t map_type, haddr_t addr, size_t s +@@ -744,7 +749,8 @@ H5F__accum_write(H5F_shared_t *f_sh, H5F /* (Note that this could be improved by updating the accumulator * with [some of] the information just read in. -QAK) */ @@ -86,7 +86,7 @@ /* Check for write starting before beginning of accumulator */ if (H5F_addr_le(addr, accum->loc)) { /* Check for write ending within accumulator */ -@@ -868,6 +874,7 @@ H5F__accum_free(H5F_shared_t *f_sh, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr +@@ -867,6 +873,7 @@ H5F__accum_free(H5F_shared_t *f_sh, H5FD /* Adjust the metadata accumulator to remove the freed block, if it overlaps */ if ((f_sh->feature_flags & H5FD_FEAT_ACCUMULATE_METADATA) && ++++++ When-evicting-driver-info-block-NULL-the-corresponding-entry.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.095882923 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.099883067 +0200 @@ -16,11 +16,11 @@ --- src/H5Fsuper.c | 2 ++ 1 file changed, 2 insertions(+) -diff --git a/src/H5Fsuper.c b/src/H5Fsuper.c -index 60b045ae29..1283790c57 100644 ---- a/src/H5Fsuper.c -+++ b/src/H5Fsuper.c -@@ -1044,6 +1044,8 @@ done: +Index: hdf5-1.12.3/src/H5Fsuper.c +=================================================================== +--- hdf5-1.12.3.orig/src/H5Fsuper.c ++++ hdf5-1.12.3/src/H5Fsuper.c +@@ -1045,6 +1045,8 @@ done: /* Evict the driver info block from the cache */ if (sblock && H5AC_expunge_entry(f, H5AC_DRVRINFO, sblock->driver_addr, H5AC__NO_FLAGS_SET) < 0) HDONE_ERROR(H5E_FILE, H5E_CANTEXPUNGE, FAIL, "unable to expunge driver info block") ++++++ hdf5-1.12.2.tar.bz2 -> hdf5-1.12.3.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/hdf5/hdf5-1.12.2.tar.bz2 /work/SRC/openSUSE:Factory/.hdf5.new.1880/hdf5-1.12.3.tar.bz2 differ: char 11, line 1 ++++++ hdf5-1.8.11-abort_unknown_host_config.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.163885384 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.167885528 +0200 @@ -2,7 +2,7 @@ =================================================================== --- configure.orig +++ configure -@@ -4343,6 +4343,8 @@ done +@@ -4962,6 +4962,8 @@ done if test "X$host_config" != "Xnone"; then CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`" . $host_config @@ -15,7 +15,7 @@ =================================================================== --- configure.ac.orig +++ configure.ac -@@ -330,6 +330,8 @@ done +@@ -346,6 +346,8 @@ done if test "X$host_config" != "Xnone"; then CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`" . $host_config ++++++ hdf5-LD_LIBRARY_PATH.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.179885963 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.183886108 +0200 @@ -1,8 +1,8 @@ -Index: hdf5-1.12.2/src/Makefile.in +Index: hdf5-1.12.3/src/Makefile.in =================================================================== ---- hdf5-1.12.2.orig/src/Makefile.in -+++ hdf5-1.12.2/src/Makefile.in -@@ -1998,8 +1998,6 @@ help: +--- hdf5-1.12.3.orig/src/Makefile.in ++++ hdf5-1.12.3/src/Makefile.in +@@ -2831,8 +2831,6 @@ help: # Remove the generated .c file if errors occur unless HDF5_Make_Ignore # is set to ignore the error. H5Tinit.c: H5detect$(EXEEXT) @@ -11,7 +11,7 @@ $(RUNSERIAL) ./H5detect$(EXEEXT) $@ || \ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ ($(RM) $@ ; exit 1) -@@ -2010,8 +2008,6 @@ H5Tinit.c: H5detect$(EXEEXT) +@@ -2843,8 +2841,6 @@ H5Tinit.c: H5detect$(EXEEXT) # Remove the generated .c file if errors occur unless HDF5_Make_Ignore # is set to ignore the error. H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings ++++++ hdf5-Remove-timestamps-from-binaries.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.195886542 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.199886687 +0200 @@ -10,11 +10,11 @@ --- src/H5detect.c | 15 --------------- 1 file changed, 15 deletions(-) -Index: hdf5-1.12.2/src/H5detect.c +Index: hdf5-1.12.3/src/H5detect.c =================================================================== ---- hdf5-1.12.2.orig/src/H5detect.c -+++ hdf5-1.12.2/src/H5detect.c -@@ -1224,22 +1224,6 @@ bit.\n"; +--- hdf5-1.12.3.orig/src/H5detect.c ++++ hdf5-1.12.3/src/H5detect.c +@@ -1219,22 +1219,6 @@ bit.\n"; fprintf(rawoutstream, "/* Generated automatically by H5detect -- do not edit */\n\n\n"); HDfputs(FileHeader, rawoutstream); /*the copyright notice--see top of this file */ ++++++ hdf5-wrappers.patch ++++++ --- /var/tmp/diff_new_pack.YnMgoE/_old 2024-05-15 21:27:39.219887411 +0200 +++ /var/tmp/diff_new_pack.YnMgoE/_new 2024-05-15 21:27:39.223887555 +0200 @@ -1,7 +1,8 @@ -diff -Naur hdf5-1.10.8.orig/bin/h5cc.in hdf5-1.10.8/bin/h5cc.in ---- hdf5-1.10.8.orig/bin/h5cc.in 2022-04-07 18:23:46.000000000 -0600 -+++ hdf5-1.10.8/bin/h5cc.in 2022-04-07 18:24:04.000000000 -0600 -@@ -89,10 +89,10 @@ +Index: hdf5-1.12.3/bin/h5cc.in +=================================================================== +--- hdf5-1.12.3.orig/bin/h5cc.in ++++ hdf5-1.12.3/bin/h5cc.in +@@ -88,10 +88,10 @@ CLINKERBASE="@CC@" # paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in # from the hdf5 build. The order of the flags is intended to give precedence # to the user's flags. @@ -15,7 +16,7 @@ CC="${HDF5_CC:-$CCBASE}" CLINKER="${HDF5_CLINKER:-$CLINKERBASE}" -@@ -105,7 +105,8 @@ +@@ -104,7 +104,8 @@ LIBS="${HDF5_LIBS:-$LIBSBASE}" # available library is shared, it will be used by default. The user can # override either default, although choosing an unavailable library will result # in link errors. @@ -25,7 +26,7 @@ if test "${STATIC_AVAILABLE}" = "yes"; then USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}" else -@@ -385,7 +386,7 @@ +@@ -384,7 +385,7 @@ if test "x$do_link" = "xyes"; then # paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in # from the hdf5 build. The order of the flags is intended to give precedence # to the user's flags. @@ -34,10 +35,11 @@ status=$? fi -diff -Naur hdf5-1.10.8.orig/c++/src/h5c++.in hdf5-1.10.8/c++/src/h5c++.in ---- hdf5-1.10.8.orig/c++/src/h5c++.in 2022-04-07 18:23:45.000000000 -0600 -+++ hdf5-1.10.8/c++/src/h5c++.in 2022-04-07 18:24:04.000000000 -0600 -@@ -87,10 +87,10 @@ +Index: hdf5-1.12.3/c++/src/h5c++.in +=================================================================== +--- hdf5-1.12.3.orig/c++/src/h5c++.in ++++ hdf5-1.12.3/c++/src/h5c++.in +@@ -86,10 +86,10 @@ CXXLINKERBASE="@CXX@" # paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in # from the hdf5 build. The order of the flags is intended to give precedence # to the user's flags. @@ -51,7 +53,7 @@ CXX="${HDF5_CXX:-$CXXBASE}" CXXLINKER="${HDF5_CXXLINKER:-$CXXLINKERBASE}" -@@ -103,7 +103,8 @@ +@@ -102,7 +102,8 @@ LIBS="${HDF5_LIBS:-$LIBSBASE}" # available library is shared, it will be used by default. The user can # override either default, although choosing an unavailable library will result # in link errors. @@ -61,7 +63,7 @@ if test "${STATIC_AVAILABLE}" = "yes"; then USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}" else -@@ -385,7 +386,7 @@ +@@ -384,7 +385,7 @@ if test "x$do_link" = "xyes"; then # from the hdf5 build. The order of the flags is intended to give precedence # to the user's flags. @@ -70,10 +72,11 @@ status=$? fi -diff -Naur hdf5-1.10.8.orig/fortran/src/h5fc.in hdf5-1.10.8/fortran/src/h5fc.in ---- hdf5-1.10.8.orig/fortran/src/h5fc.in 2022-04-07 18:23:46.000000000 -0600 -+++ hdf5-1.10.8/fortran/src/h5fc.in 2022-04-07 18:24:04.000000000 -0600 -@@ -83,11 +83,11 @@ +Index: hdf5-1.12.3/fortran/src/h5fc.in +=================================================================== +--- hdf5-1.12.3.orig/fortran/src/h5fc.in ++++ hdf5-1.12.3/fortran/src/h5fc.in +@@ -83,11 +83,11 @@ FLINKERBASE="@FC@" # libraries in $link_args, followed by any external library paths and libraries # from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in from the hdf5 build. # The order of the flags is intended to give precedence to the user's flags. @@ -88,7 +91,7 @@ FC="${HDF5_FC:-$FCBASE}" FLINKER="${HDF5_FLINKER:-$FLINKERBASE}" -@@ -99,7 +99,8 @@ +@@ -99,7 +99,8 @@ LIBS="${HDF5_LIBS:-$LIBSBASE}" # available library is shared, it will be used by default. The user can # override either default, although choosing an unavailable library will result # in link errors. @@ -98,7 +101,7 @@ if test "${STATIC_AVAILABLE}" = "yes"; then USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}" else -@@ -363,7 +364,7 @@ +@@ -363,7 +364,7 @@ if test "x$do_link" = "xyes"; then # libraries in $link_args, followed by any external library paths and libraries # from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in from the hdf5 build. # The order of the flags is intended to give precedence to the user's flags.