On 12/19/2024 4:41 PM, Alexander Kanavin wrote:
On Thu, 19 Dec 2024 at 23:22, Tom Hochstein via lists.openembedded.org
<tom.hochstein=oss.nxp....@lists.openembedded.org> wrote:

Building weston with core-image-weston SDK fails:
```
Run-time dependency xcb-cursor found: NO (tried pkgconfig and cmake)

tests/meson.build:357:2: ERROR: Problem encountered: xcb and xcb-cursor 
required for running xwayland tests
```

Fixed by adding xcb-util-cursor as runtime dependency.
-PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor 
xcb-util-cursor xwayland"
+PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor 
xcb-util-cursor xwayland,xcb-util-cursor"

I'm not sure I understand. If the error happens at build time, how is
it addressed with a runtime dependency?

Alex

Good question, I actually made a guess that xcb-util-cursor is missing from the rootfs because nothing actually links to it, so Yocto doesn't automatically add it to the runtime. Adding it explicitly to the runtime forces it into the SDK as well and fixes the above error.

Tom

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208965): 
https://lists.openembedded.org/g/openembedded-core/message/208965
Mute This Topic: https://lists.openembedded.org/mt/110206258/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to