diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2026-01-27 13:16:29 -0500 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-30 23:59:11 -0800 |
| commit | f0f02434c892769a307edc6728dd667f9c31a1d1 (patch) | |
| tree | f0da6327da6ccb362efaa2701704dfacfd895250 /meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | |
| parent | b43a9e689793e2f01a03a7d2a93270faa79b8d38 (diff) | |
| download | meta-openembedded-f0f02434c892769a307edc6728dd667f9c31a1d1.tar.gz | |
hdf5: fix shasum, downloadfilename
Fixes: #1023
Upstream seems to have regenerated the archive, as the checksum no
longer matches the one specified in the recipe:
|WARNING: hdf5-2.0.0-r0 do_fetch: Checksum failure encountered with download of https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/hdf5-2.0.0.tar.gz - will attempt other sources if available
|WARNING: hdf5-2.0.0-r0 do_fetch: Checksum mismatch for local file /buildcache/downloads/hdf5-2.0.0.tar.gz
|Cleaning and trying again.
|WARNING: hdf5-2.0.0-r0 do_fetch: Renaming /buildcache/downloads/hdf5-2.0.0.tar.gz to /buildcache/downloads/hdf5-2.0.0.tar.gz_bad-checksum_a7a8f43e76e825ea22234bc735d5b184e880d305e33e4c9bb93a3912421c9973
|ERROR: hdf5-2.0.0-r0 do_fetch: Checksum failure fetching https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/hdf5-2.0.0.tar.gz
|ERROR: hdf5-2.0.0-r0 do_fetch: Bitbake Fetcher Error: ChecksumError('Checksum mismatch!\nFile: \'/buildcache/downloads/hdf5-2.0.0.tar.gz\' has sha256 checksum \'a7a8f43e76e825ea22234bc735d5b184e880d305e33e4c9bb93a3912421c9973\' when \'6e45a4213cb11bb5860)
|ERROR: Logfile of failure stored in: /home/tgamblin/workspace/yocto/openembedded-core/build/tmp/work/x86-64-v3-poky-linux/hdf5/2.0.0/temp/log.do_fetch.2054297
However, the tarballs look identical. Update the hash and be explicit
about downloadfilename to avoid any mirroring issues. A note has been
left that this measure can be removed with a future upgrade.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb')
| -rw-r--r-- | meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index 93fe352b99..350be8dc0e 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | |||
| @@ -11,11 +11,13 @@ inherit cmake pkgconfig siteinfo qemu multilib_header multilib_script | |||
| 11 | 11 | ||
| 12 | DEPENDS += "qemu-native zlib" | 12 | DEPENDS += "qemu-native zlib" |
| 13 | 13 | ||
| 14 | SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BPN}-${PV}.tar.gz \ | 14 | # set downloadfilename to workaround mirroring test issues. When hdf5 is |
| 15 | # upgraded beyond 2.0.0 this can likely be removed | ||
| 16 | SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BPN}-${PV}.tar.gz;downloadfilename=${BPN}-${PV}-1.tar.gz \ | ||
| 15 | file://0002-Remove-suffix-shared-from-shared-library-name.patch \ | 17 | file://0002-Remove-suffix-shared-from-shared-library-name.patch \ |
| 16 | file://0001-cmake-remove-build-flags.patch \ | 18 | file://0001-cmake-remove-build-flags.patch \ |
| 17 | " | 19 | " |
| 18 | SRC_URI[sha256sum] = "6e45a4213cb11bb5860e1b0a7645688ab55562cc2d55c6ff9bcb0984ed12b22b" | 20 | SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" |
| 19 | 21 | ||
| 20 | FILES:${PN} += "${libdir}/libhdf5.settings ${datadir}/*" | 22 | FILES:${PN} += "${libdir}/libhdf5.settings ${datadir}/*" |
| 21 | 23 | ||
