Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#939515: wayland-scanner.pc not found

128 views
Skip to first unread message

Helmut Grohne

unread,
Sep 5, 2019, 2:40:03 PM9/5/19
to
Source: libwayland-bin
Version: 1.17.0-1
Tags: patch
User: debian...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:weston

weston fails to cross build from source, because meson cannot find
wayland-scanner.pc. It requests wayland-scanner as a native dependency.
weston declares a build dependency on libwayland-dev. It thus receives
the host architecture libwayland-dev. libwayland-dev declares a
depenency on libwayland-bin, which happens to be Multi-Arch: foreign.
Thus it receives the build architecture libwayland-bin. Unfortunately,
wayland-scanner.pc, which describes the location of the wayland-scanner
binary, is shipped in libwayland-dev. So it is only available for the
host architecture, but required for the build architecture. Please move
it to libwayland-bin where the wayland-scanner executable lives.

Helmut
wayland_1.17.0-1.1.debdiff

Helmut Grohne

unread,
Aug 25, 2023, 4:10:06 AM8/25/23
to
Control: affects -1 + src:foot src:fuzzel src:gamescope src:libxkbcommon src:mesa-demos src:swaybg src:swaylock src:wayland src:wayland-utils src:wev src:wlroots
Given that the lack of progress on this issue for almost four years
combined with it affecting a number of packages of growing popularity, I
have uploaded a 10-day NMU of wayland to finally settle this.

The change I've uploaded is slightly different to the one originally
proposed. Lintian rightly complains about a multiarch directory in a
Multi-Arch: foreign package. Therefore, I also move wayland-scanner.pc
to /usr/share/pkgconfig. As a consequence, this move works without
Breaks and Replaces.

Let me know if I should delay this change any longer. I'm attaching the
actual .debdiff for completeness.

Helmut
wayland_1.22.0-2.1.debdiff
0 new messages