Skip to content

Build errors on Debian Trixie #1311

@pfirsich

Description

@pfirsich

Hey! I am trying to build the server and I get the following build errors:

/home/joel/repos/tracy/profiler/src/BackendWayland.cpp: In member function ‘void Backend::Run()’:
/home/joel/repos/tracy/profiler/src/BackendWayland.cpp:1138:25: error: ‘wl_display_dispatch_timeout’ was not declared in this scope; did you mean ‘wl_display_dispatch_queue’?
 1138 |     while( s_running && wl_display_dispatch_timeout( s_dpy, &zero ) != -1 )
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         wl_display_dispatch_queue

My version of libwayland-client is:

$ apt-cache show libwayland-client0 | grep Version
Version: 1.23.1-3

I am on Debian Trixie:

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.4
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

I think the version on Debian Trixie might be too old (1.24 introduces that function - see here wayland-devel).

I saw that this was introduced end of last year to fix a regression: 981717f. But I can't find details on that regression. Could you link additional info? Maybe there is another workaround?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions