Skip to contentSkip to conversation

New: BR2_PACKAGE_WESTON_XWAYLAND -- 12.0.1 -- fails to build::missing dependencies

Buildroot [email protected] 1 participant 3 messages Sep 11, 2023 – May 26, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15766

            Bug ID: 15766
           Summary: BR2_PACKAGE_WESTON_XWAYLAND -- 12.0.1 -- fails to
                    build::missing dependencies
           Product: buildroot
           Version: 2023.08
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Target Milestone: ---

Created attachment 9640
--> https://bugs.busybox.net/attachment.cgi?id=9640&action=edit
proposed preview patch, will not be able to be applied directly to mainline!

Hello,

This is my first time submitting a bug report for buildroot. I have a few more on the way with patches in tow including this one.

Problem:
Weston 12.0.1 fails to build when BR2_PACKAGE_WESTON_XWAYLAND is selected. Despite proper dependencies being listed in Defconfig.

Reason for failure:
Config.in for BR2_PACKAGE_WESTON_XWAYLAND does not select BR2_PACKAGE_XCB_UTIL and BR2_PACKAGE_XCB_UTIL_CURSOR. Additionally, weston.mk does not list xcb-util and xcb-util-cursor for dependencies of BR2_PACKAGE_WESTON_XWAYLAND.

Error Log Snippet:
"""

Quoted 1 line
Quoted 1 line
Quoted 1 line

weston 12.0.1 Configuring

...
...
Run-time dependency xcb-cursor found: NO (tried pkgconfig and cmake)

output/build/weston-12.0.1/tests/meson.build:317:2: ERROR: Problem encountered:
xcb and xcb-cursor required for running xwayland tests
"""

Relevant DefConfig Snippet:
"""
BR2_PACKAGE_XCB_UTIL=y
BR2_PACKAGE_XCB_UTIL_CURSOR=y
BR2_PACKAGE_XCB_UTIL_IMAGE=y
BR2_PACKAGE_XCB_UTIL_RENDERUTIL=y
...
BR2_PACKAGE_WESTON=y
BR2_PACKAGE_WESTON_DEFAULT_WAYLAND=y
BR2_PACKAGE_WESTON_XWAYLAND=y
"""

Fix/Solution:
(See preview patch attached. Will not directly apply, will be sending a proper patch to the mailing list within the next day or so.)

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15766] BR2_PACKAGE_WESTON_XWAYLAND -- 12.0.1 -- fails to build::missing dependencies

https://bugs.busybox.net/show_bug.cgi?id=15766

--- Comment #1 from Thomas Devoogdt <[email protected]> --- Hi,

I also saw this,
pushed a patch for it:

https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Kr,

Thomas

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 15766] BR2_PACKAGE_WESTON_XWAYLAND -- 12.0.1 -- fails to build::missing dependencies

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15766

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Peter Korsgaard <[email protected]> --- Fixed in git, thanks:
https://gitlab.com/buildroot.org/buildroot/-/commit/fb952e1116dc4f02d9d64402d05b55280d5da178

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot