From: Quanyang Wang <[email protected]>

In cairo_1.16.0.bb, the macro MULTILIB_SCRIPTS is set to be
"${PN}-perf-utils:${bindir}/cairo-trace" which indicates that the
script cairo-trace will be handled using update-alternatives with multilib.
But in the bbappend meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend,
the "trace" is removed from PACKAGECONFIG and this will cause that the class
multilib_script can't find the cairo-trace script. The error log is as below:

ERROR: cairo-1.16.0-r0 do_package: Error executing a python function in 
exec_python_func() autogenerated:
......
Exception: bb.process.ExecutionError: Execution of 
'build/tmp-glibc/work/cortexa53-wrs-linux/cairo/1.16.0-r0/temp/run.multilibscript_rename.22582'
 failed with exit code 1:
mv: cannot stat 
'build/tmp-glibc/work/cortexa53-wrs-linux/cairo/1.16.0-r0/package/usr/bin/cairo-trace':
 No such file or directory
WARNING: exit code 1 from a shell command.

So add "trace" back to PACKAGECONFIG to fix the do_package error.

Signed-off-by: Quanyang Wang <[email protected]>
---
 meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend 
b/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend
index b2942a8..39845ca 100644
--- a/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend
+++ b/meta-xilinx-bsp/recipes-graphics/cairo/cairo_%.bbappend
@@ -1,2 +1,2 @@
 PACKAGECONFIG_zynqmp += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 
xcb', '', d)} \
-                         egl glesv2"
+                         egl glesv2 trace"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4722): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4722
Mute This Topic: https://lists.yoctoproject.org/mt/75626098/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to