diff options
| author | Changqing Li <changqing.li@windriver.com> | 2025-11-27 10:42:07 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-27 08:49:31 -0800 |
| commit | 39ccbba725d3652e5691162a3b0302966a9247e7 (patch) | |
| tree | 826833e7daa3a050ddde01fe3bbc833835be183c | |
| parent | 32a029dae19d2a21af94ee7ad2793ce907178686 (diff) | |
| download | meta-openembedded-39ccbba725d3652e5691162a3b0302966a9247e7.tar.gz | |
hdf5: fix do_package failure when multilib enabled
After upgrading hdf5 to 2.0.0, h5cc and h5hlcc will only be generated
when pkg-config is found. With current default config, it will not be
generated, remove related configs to fix do_package failure
| DEBUG: Executing shell function multilibscript_rename
| mv: cannot stat '/tmp/work/cortexa72-wrs-linux/hdf5/2.0.0/package/usr/bin/h5cc': No such file or directory
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 6 |
1 files changed, 1 insertions, 5 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 79ce8a018d..798ca1b83f 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | |||
| @@ -7,7 +7,7 @@ SECTION = "libs" | |||
| 7 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891" |
| 9 | 9 | ||
| 10 | inherit cmake siteinfo qemu multilib_header multilib_script | 10 | inherit cmake siteinfo qemu multilib_header |
| 11 | 11 | ||
| 12 | DEPENDS += "qemu-native zlib" | 12 | DEPENDS += "qemu-native zlib" |
| 13 | 13 | ||
| @@ -40,10 +40,6 @@ gen_emu:class-native = "" | |||
| 40 | 40 | ||
| 41 | do_unpack[postfuncs] += "gen_emu" | 41 | do_unpack[postfuncs] += "gen_emu" |
| 42 | 42 | ||
| 43 | MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc \ | ||
| 44 | ${PN}:${bindir}/h5hlcc \ | ||
| 45 | " | ||
| 46 | |||
| 47 | do_configure:append() { | 43 | do_configure:append() { |
| 48 | sed -i -e 's|${WORKDIR}||g' ${B}/src/libhdf5.settings | 44 | sed -i -e 's|${WORKDIR}||g' ${B}/src/libhdf5.settings |
| 49 | sed -i -e 's|${WORKDIR}||g' ${B}/src/H5build_settings.c | 45 | sed -i -e 's|${WORKDIR}||g' ${B}/src/H5build_settings.c |
