Source: libwayland-bin Version: 1.17.0-1 Tags: patch User: debian-cr...@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
diff -u wayland-1.17.0/debian/changelog wayland-1.17.0/debian/changelog --- wayland-1.17.0/debian/changelog +++ wayland-1.17.0/debian/changelog @@ -1,3 +1,10 @@ +wayland (1.17.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move wayland-scanner.pc to libwayland-bin. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 05 Sep 2019 20:29:13 +0200 + wayland (1.17.0-1) unstable; urgency=medium [ Timo Aaltonen ] diff -u wayland-1.17.0/debian/control wayland-1.17.0/debian/control --- wayland-1.17.0/debian/control +++ wayland-1.17.0/debian/control @@ -181,7 +181,8 @@ ${shlibs:Depends}, ${misc:Depends}, Conflicts: libwayland-dev (<< 1.11.0-1) -Replaces: libwayland-dev (<< 1.11.0-1) +Breaks: libwayland-dev (<< 1.17.0-1.1) +Replaces: libwayland-dev (<< 1.17.0-1.1) Multi-Arch: foreign Description: wayland compositor infrastructure - binary utilities Wayland is a protocol for a compositor to talk to its clients as well diff -u wayland-1.17.0/debian/libwayland-bin.install wayland-1.17.0/debian/libwayland-bin.install --- wayland-1.17.0/debian/libwayland-bin.install +++ wayland-1.17.0/debian/libwayland-bin.install @@ -4,0 +5 @@ +usr/lib/*/pkgconfig/wayland-scanner.pc diff -u wayland-1.17.0/debian/libwayland-dev.install wayland-1.17.0/debian/libwayland-dev.install --- wayland-1.17.0/debian/libwayland-dev.install +++ wayland-1.17.0/debian/libwayland-dev.install @@ -16,7 +16,6 @@ usr/lib/*/pkgconfig/wayland-cursor.pc usr/lib/*/pkgconfig/wayland-egl.pc usr/lib/*/pkgconfig/wayland-server.pc -usr/lib/*/pkgconfig/wayland-scanner.pc # Documentation usr/share/wayland/wayland.xml