Skip to content

FTBFS with --enable-wayland: Comparison operator but no version after package name 'gdk-wayland-3.0' #361

@bobby285271

Description

@bobby285271

Expected behaviour

Building with explicit --enable-wayland succeeds

Actual behaviour

This line:

WAYLAND_DEPS="gtk-layer-shell-0 >= $GTK_LAYER_SHELL_REQUIRED_VERSION wayland-client gdk-wayland-3.0 >= $GDK_WAYLAND_REQUIRED_VERSION"

But neither GTK_LAYER_SHELL_REQUIRED_VERSION nor GDK_WAYLAND_REQUIRED_VERSION is set anywhere (also searched on GitHub to make sure it is not set elsewhere),

$ grep -inr 'GTK_LAYER_SHELL_REQUIRED_VERSION' 
configure.ac:239:WAYLAND_DEPS="gtk-layer-shell-0 >= $GTK_LAYER_SHELL_REQUIRED_VERSION wayland-client gdk-wayland-3.0 >= $GDK_WAYLAND_REQUIRED_VERSION"

$ grep -inr 'GDK_WAYLAND_REQUIRED_VERSION'                     
configure.ac:239:WAYLAND_DEPS="gtk-layer-shell-0 >= $GTK_LAYER_SHELL_REQUIRED_VERSION wayland-client gdk-wayland-3.0 >= $GDK_WAYLAND_REQUIRED_VERSION"

The build complains:

checking for gtk-layer-shell-0 >=  wayland-client gdk-wayland-3.0 >= ... no
configure: error: Package requirements (gtk-layer-shell-0 >=  wayland-client gdk-wayland-3.0 >= ) were not met:

Comparison operator but no version after package name 'gdk-wayland-3.0' in file '(command line arguments)'

The --enable-wayland build succeeds after I removed >= $GTK_LAYER_SHELL_REQUIRED_VERSION and >= $GDK_WAYLAND_REQUIRED_VERSION so I don't think needed libraries (or versions) are missing

Steps to reproduce the behaviour

Build with explicit --enable-wayland (I use release tarballs)

MATE general version

1.28

Package version

1.28

Linux Distribution

NixOS

Link to bugreport of your Distribution (requirement)

(I am the packager?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions