summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-11-27 10:42:07 +0800
committerKhem Raj <raj.khem@gmail.com>2025-11-27 08:49:31 -0800
commit39ccbba725d3652e5691162a3b0302966a9247e7 (patch)
tree826833e7daa3a050ddde01fe3bbc833835be183c
parent32a029dae19d2a21af94ee7ad2793ce907178686 (diff)
downloadmeta-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.bb6
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"
7LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891"
9 9
10inherit cmake siteinfo qemu multilib_header multilib_script 10inherit cmake siteinfo qemu multilib_header
11 11
12DEPENDS += "qemu-native zlib" 12DEPENDS += "qemu-native zlib"
13 13
@@ -40,10 +40,6 @@ gen_emu:class-native = ""
40 40
41do_unpack[postfuncs] += "gen_emu" 41do_unpack[postfuncs] += "gen_emu"
42 42
43MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc \
44 ${PN}:${bindir}/h5hlcc \
45"
46
47do_configure:append() { 43do_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