diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2025-04-06 13:12:13 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2025-04-06 13:15:32 +0200 |
commit | b3a44838da76254d86680858a5e5eee98cb42126 (patch) | |
tree | e88c9b4b377ec663c34c2369f40fee6ddd57f778 | |
parent | 9eab05eafe4e30747ea79fafe5d51129cd2ec9be (diff) | |
download | meta-freescale-b3a44838da76254d86680858a5e5eee98cb42126.tar.gz |
isp-imx: fix build against updated tinyxml2
Latest master meta-oe updated tinyxml2 to version 11.0.0.
isp-imx packages a prebuilt library dynamically linked against
tinyxml2.so.10 which is no longer provided, thus:
| ERROR: isp-imx-4.2.2.24.4-r0 do_package_qa: QA Issue: /usr/lib/libcam_device.so contained in package
| isp-imx requires libtinyxml2.so.10()(64bit), but no providers found in RDEPENDS:isp-imx? [file-rdeps]
Fix the build by updating the dynamic section to require tinyxml2.so.11.
Note that I don't have a system to runtime test if that still works.
The tinyxml API doesn't look like it changed from 10 to 11.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb index 8694489b..a6d8d651 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb | |||
@@ -52,6 +52,9 @@ do_configure:prepend () { | |||
52 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server | 52 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server |
53 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so | 53 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so |
54 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/tuningext/install/tuningext | 54 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/tuningext/install/tuningext |
55 | |||
56 | # FIXME: Should be rebuild. | ||
57 | patchelf --replace-needed libtinyxml2.so.10 libtinyxml2.so.11 ${S}/appshell/shell_libs/ispcore/ARM64/libcam_device.so | ||
55 | } | 58 | } |
56 | 59 | ||
57 | do_install() { | 60 | do_install() { |