Bug#836153: mutter: FTBFS on non-Linux: No package 'wayland-server' found

Andreas Henriksson andreas at fatal.se
Wed Aug 31 03:44:00 UTC 2016


Hello Aaron M. Ucko.

Thanks for your bug report.

On Tue, Aug 30, 2016 at 08:51:30PM -0400, Aaron M. Ucko wrote:
> Source: mutter
> Version: 3.21.91-1
> Severity: important
> Justification: fails to build from source (but built successfully in the past)
> 
> The kfreebsd-amd64 build of mutter failed:
> 
>   checking for WAYLAND_SERVER... no
>   configure: error: Package requirements (wayland-server >= 1.1.90) were not met:
>   
>   No package 'wayland-server' found
> 
> Please either patch mutter to work without Wayland libraries (at least
> on platforms on which they are unavailable) or make the build
> dependency unconditional.

It looks to me like the AS_IF part in upstream configure.ac is buggy:
https://git.gnome.org/browse/mutter/tree/configure.ac#n264

There should likely be a final [have_wayland=no] to fall back on if
all tests fails, or atleast that's how I read:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Common-Shell-Constructs.html

I don't find autotools or non-linux very fun to deal with myself
so would appreciate if someone who does would provide upstream
with the portability assistance.

As a last resort I guess we could just work around this by explicitly
passing --disable-wayland on non-linux from debian/rules instead of
relying on "auto" doing the right thing.

Regards,
Andreas Henriksson



More information about the pkg-gnome-maintainers mailing list