Skip to contentSkip to conversation

v4l-utils: Add PACKAGECONFIG for v4l2-tracer to fix determinstic build

PATCH Applied [email protected] 2 participants 2 messages Jan 2, 2024 – Jan 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l-utils: Add PACKAGECONFIG for v4l2-tracer to fix determinstic build

From: Robert Yang <[email protected]>

Fixed do_package error when json-c is in the build dependencies chain:
ERROR: QA Issue: -dev package libv4l-dev contains non-symlink .so '/usr/lib/libv4l2tracer.so' [dev-elf]

This recipe builds out files such as av4l1compat.so v4l2convert.so and libv4l2tracer.so which are not symlinks.

---
 meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb +4 -1
index c02645a6b8..f314d9b6ae 100644
@@ -24,6 +24,7 @@ PACKAGECONFIG ??= "media-ctl"
 PACKAGECONFIG[media-ctl] = "--enable-v4l-utils,--disable-v4l-utils,,"
 PACKAGECONFIG[qv4l2] = ",--disable-qv4l2"
 PACKAGECONFIG[qvidcap] = ",--disable-qvidcap"
+PACKAGECONFIG[v4l2-tracer] = ",--disable-v4l2-tracer,json-c"
 
 SRC_URI = "\
     git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.24 \
@@ -77,7 +78,9 @@ FILES:${PN} = "${bindir} ${sbindir}"
 
 FILES:libv4l += "${libdir}/libv4l*${SOLIBS} ${libdir}/libv4l/*.so ${libdir}/libv4l/plugins/*.so \
                  ${libdir}/libdvbv5*${SOLIBS} \
-                 ${libdir}/libv4l/*-decomp"
+                 ${libdir}/libv4l/*-decomp \
+                 ${libdir}/libv4l2tracer.so \
+"
 
 FILES:libv4l-dev += "${includedir} ${libdir}/pkgconfig \
                      ${libdir}/libv4l*${SOLIBSDEV} ${libdir}/*.la \
Signature · 1 line
2.42.0
Applied
#1 lore raw
Quoted 8 lines · On Tue, 02 Jan 2024 00:50:42 -0800, [email protected] wrote:

Fixed do_package error when json-c is in the build dependencies chain:
ERROR: QA Issue: -dev package libv4l-dev contains non-symlink .so '/usr/lib/libv4l2tracer.so' [dev-elf]

This recipe builds out files such as av4l1compat.so v4l2convert.so and libv4l2tracer.so which are not symlinks.

[...]

Applied, thanks!

[1/1] v4l-utils: Add PACKAGECONFIG for v4l2-tracer to fix determinstic build

      commit: 9ef06c6319d2a2ce11bdc2dd21d7d03e8131be4d

Best regards,

Signature · 1 line
Khem Raj <[email protected]>