Bug 15963

Summary: installing pseudo-native from sstate does not pull in sqlite3-native, causing fall-through to the host sqlite
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alexander Kanavin <alex.kanavin>
Component: coreAssignee: Paul Barker <paul>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: meta.mr.watcher, meta.watcher, paul, randy.macleod, ross.burton, yoann.congal
Version: unspecified   
Target Milestone: 5.3 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexander Kanavin 2025-09-04 10:22:58 UTC
This was exposed by sqlite3 updates to 3.50.x. A way to reproduce and observe the issue is described in this message:

https://lists.openembedded.org/g/openembedded-core/message/222660

(see also the thread for context)
Comment 1 Randy MacLeod 2025-09-04 14:40:54 UTC
Ross thought this was a high.
Comment 2 Paul Barker 2025-10-09 15:07:57 UTC
Discussed on the bug triage call 2025-10-09.

https://git.yoctoproject.org/poky/commit/?id=84bd11c62e860031c1615ada76d7140b4717276a is probably relevant to this. Need to look at if this is needed again or if we need to handle pseudo-native:do_populate_sysroot_setscene specially.

Potentially copy sqlite shared library into pseudo-native and add RPATH so it is always found? This is horrible though.
Comment 3 Paul Barker 2025-10-16 19:14:05 UTC
Patch sent to the list: https://lore.kernel.org/openembedded-core/20251016-fix-pseudo-native-v1-1-7c42af094122@pbarker.dev/

This looks to do the right thing in local testing :)
Comment 4 Alexander Kanavin 2025-10-23 10:27:10 UTC
I can confirm that the setscene sequence becomes correct with the patch.
Comment 5 Paul Barker 2025-12-11 16:43:55 UTC
The issue tracked by this bug is now resolved. Further improvement of hard setscene task dependencies will be tracked in bug #16097.