Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with latest wlroots #171

Closed
colemickens opened this issue Nov 12, 2020 · 3 comments · Fixed by #174
Closed

Broken with latest wlroots #171

colemickens opened this issue Nov 12, 2020 · 3 comments · Fixed by #174

Comments

@colemickens
Copy link

warning: unknown setting 'extra-sandbox-paths'
warning: Git tree '/home/cole/code/nixpkgs-wayland' is dirty
warning: --- Entry not found --- nix-build
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
this derivation will be built:
  /nix/store/rlbif7dk4mnbydpdrnyncbkk04dg5vy3-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e.drv
warning: unknown setting 'extra-sandbox-paths'
building '/nix/store/rlbif7dk4mnbydpdrnyncbkk04dg5vy3-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e.drv'...
unpacking sources
unpacking source archive /nix/store/x9daf1j3q0xkwfxaivhyxykxrl3yjkqf-source
source root is source
patching sources
configuring
meson flags: --buildtype=plain         --libdir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/lib --libexecdir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/libexec         --bindir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/bin --sbindir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/sbin         --includedir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/include         --mandir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/share/man --infodir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/share/info         --localedir=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e/share/locale         -Dauto_features=enabled         -Dwrap_mode=nodownload         --prefix=/nix/store/lr4zss9kb9y3lwwxy3shkyqmvzixxr2f-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e -Dxwayland=true 
The Meson build system
Version: 0.55.3
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Project name: cage
Project version: 0.1.2
Using 'CC_FOR_BUILD' from environment with value: 'gcc'
Using 'AR_FOR_BUILD' from environment with value: 'ar'
Using 'CC' from environment with value: 'gcc'
C compiler for the host machine: gcc (gcc 9.3.0 "gcc (GCC) 9.3.0")
C linker for the host machine: gcc ld.bfd 2.31.1
Using 'AR' from environment with value: 'ar'
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:17: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Using 'PKG_CONFIG' from environment with value: 'pkg-config'
Found pkg-config: /nix/store/zqf19zrgpb4818j0h2z2i3gckcyxf152-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Run-time dependency wlroots found: YES 0.12.0
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Run-time dependency wayland-protocols found: YES 1.20
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Run-time dependency wayland-server found: YES 1.18.0
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Run-time dependency pixman-1 found: YES 0.38.4
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Run-time dependency xkbcommon found: YES 0.10.0
Library m found: YES
Program wayland-scanner found: YES
Fetching value of define "WLR_HAS_XWAYLAND" with dependency wlroots: 1 
Program git found: NO
Using 'PKG_CONFIG' from environment with value: 'pkg-config'
Found pkg-config: /nix/store/zqf19zrgpb4818j0h2z2i3gckcyxf152-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Using 'PKG_CONFIG_PATH' from environment with value: '/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig:/nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/lib/pkgconfig:/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/lib/pkgconfig:/nix/store/z2067fvlr15y15l7gv96dnkqxk78d0x3-wayland-protocols-1.20/share/pkgconfig:/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/lib/pkgconfig:/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/lib/pkgconfig:/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/lib/pkgconfig:/nix/store/yydgrg8rihxjgm6b2z2jla4rkmk7r97v-systemd-246.6-dev/share/pkgconfig:/nix/store/jd5748bw6zkznlcs8fw2b7cws8pglhs0-libGL-1.3.2-dev/lib/pkgconfig:/nix/store/jsc2hh45xs7a7palfgyqns5b4i408lcx-libglvnd-1.3.2-dev/lib/pkgconfig:/nix/store/yaydlzwrkwqhpps03fkrzr05vsz7q00y-libX11-1.6.12-dev/lib/pkgconfig:/nix/store/w0qck4mdb690rzhwdzg62wd2fpnhankl-xorgproto-2020.1/share/pkgconfig:/nix/store/ablnqd4jljbp9dlismrcvsp6ab0pv1cw-libxcb-1.14-dev/lib/pkgconfig'
Build-time dependency scdoc found: YES 1.11.0
Program /nix/store/41nvg5sl3rimpvpvgq1pd7vhl3wqvfzk-scdoc-1.11.0/bin/scdoc found: YES
Program sh found: YES
Configuring config.h using configuration
Message: 
Cage 0.1.2

    xwayland: true

Build targets in project: 2

Found ninja-1.10.1 at /nix/store/lm4rgsn0bl1pd6p31ibzz20y046clcma-ninja-1.10.1/bin/ninja
Using 'STRIP' from environment with value: 'strip'
Using 'STRIP' from environment with value: 'strip'
building
build flags: -j8 -l8
[7/12] Compiling C object cage.p/seat.c.o.oc.o
FAILED: cage.p/seat.c.o 
gcc -Icage.p -I. -I.. -I/nix/store/zrzyhci4155qm17b4ijvmrxzhy1hssa9-wayland-1.18.0/include -I/nix/store/j07j43yk8q1kq8w5bywxdiinb82q6yqb-wlroots-e06c9e43afd8d2067c2c28bc25ed0830e43e5c78/include -I/nix/store/ji30xn5iicinf5r4z3k2vh6ybn3rla42-libxkbcommon-0.10.0-dev/include -I/nix/store/74sd6nrnxiafn2l4mdwz4h7wz2wnx90a-pixman-0.38.4/include/pixman-1 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c11 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -MD -MQ cage.p/seat.c.o -MF cage.p/seat.c.o.d -o cage.p/seat.c.o -c ../seat.c
../seat.c: In function 'handle_key_event':
../seat.c:263:56: error: 'WLR_KEY_PRESSED' undeclared (first use in this function); did you mean 'XCB_KEY_PRESS'?
  263 |  if ((modifiers & WLR_MODIFIER_ALT) && event->state == WLR_KEY_PRESSED) {
      |                                                        ^~~~~~~~~~~~~~~
      |                                                        XCB_KEY_PRESS
../seat.c:263:56: note: each undeclared identifier is reported only once for each function it appears in
../seat.c: In function 'handle_touch_down':
../seat.c:453:58: error: dereferencing pointer to incomplete type 'struct wlr_event_touch_down'
  453 |  wlr_cursor_absolute_to_layout_coords(seat->cursor, event->device, event->x, event->y, &lx, &ly);
      |                                                          ^~
../seat.c: In function 'handle_touch_up':
../seat.c:480:49: error: dereferencing pointer to incomplete type 'struct wlr_event_touch_up'
  480 |  if (!wlr_seat_touch_get_point(seat->seat, event->touch_id)) {
      |                                                 ^~
../seat.c: In function 'handle_touch_motion':
../seat.c:499:49: error: dereferencing pointer to incomplete type 'struct wlr_event_touch_motion'
  499 |  if (!wlr_seat_touch_get_point(seat->seat, event->touch_id)) {
      |                                                 ^~
[11/12] Compiling C object cage.p/output.c.o[K
ninja: build stopped: subcommand failed.
error: --- Error --- nix-build
builder for '/nix/store/rlbif7dk4mnbydpdrnyncbkk04dg5vy3-cage-0d85c1652e676806a5c065bdc88e83f0b33a0a5e.drv' failed with exit code 1; last 10 log lines:
  ../seat.c: In function 'handle_touch_up':
  ../seat.c:480:49: error: dereferencing pointer to incomplete type 'struct wlr_event_touch_up'
    480 |  if (!wlr_seat_touch_get_point(seat->seat, event->touch_id)) {
        |                                                 ^~
  ../seat.c: In function 'handle_touch_motion':
  ../seat.c:499:49: error: dereferencing pointer to incomplete type 'struct wlr_event_touch_motion'
    499 |  if (!wlr_seat_touch_get_point(seat->seat, event->touch_id)) {
        |                                                 ^~
  [11/12] Compiling C object cage.p/output.c.o[K
  ninja: build stopped: subcommand failed.

I suspect it's this? swaywm/wlroots#2470 Remove unneeded includes from wlr_input_device.h #2470

For now I've pinned wlroots to stable and it's fine.

@jubalh
Copy link
Contributor

jubalh commented Nov 12, 2020

Strangely for me cage 0.1.2.1 builds fine with wlroots 0.12.0.

@LyesSaadi
Copy link

LyesSaadi commented Nov 12, 2020

Strangely for me cage 0.1.2.1 builds fine with wlroots 0.12.0.

Yeah, it does, this is about master, not 0.12.0:

For now I've pinned wlroots to stable and it's fine.

@primeos
Copy link
Contributor

primeos commented Mar 17, 2021

@Hjdskes gentle ping. Any chance we could get this resolved (e.g. by merging #174) before the wlroots 0.13.0 release (swaywm/wlroots#2778 - the stable release might be in roughly one month)?
(The reason for that is that this should make things a little bit easier for some downstream packagers, especially if there would be a new release. But support for building with wlroots master should be useful regardless.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants