Skip to contentSkip to conversation

hdf5: fix do_package failure when multilib enabled

PATCH New [email protected] 1 participant 1 message Nov 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hdf5: fix do_package failure when multilib enabled

From: Changqing Li <[email protected]>

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

---
 meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +1 -5
index 79ce8a018d..798ca1b83f 100644
@@ -7,7 +7,7 @@ SECTION = "libs"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891"
 
-inherit cmake siteinfo qemu multilib_header multilib_script
+inherit cmake siteinfo qemu multilib_header
 
 DEPENDS += "qemu-native zlib"
 
@@ -40,10 +40,6 @@ gen_emu:class-native = ""
 
 do_unpack[postfuncs] += "gen_emu"
 
-MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc \
-                     ${PN}:${bindir}/h5hlcc \
-"
-
 do_configure:append() {
     sed -i -e 's|${WORKDIR}||g' ${B}/src/libhdf5.settings
     sed -i -e 's|${WORKDIR}||g' ${B}/src/H5build_settings.c
Signature · 1 line
2.34.1