Skip to content

Add missing dependency 'libdrm'

Jordi Masip requested to merge masipcat/phoc:master into master

Hi!

I'm packaging phoc in NixOS and I get the following error:

Message:
--------------------------
phoc 0.1.7

           xwayland: true
 wlroots subproject: false
    wlroots version: 0.10.1
--------------------------

Configuring config.h using configuration
Configuring run using configuration
Build targets in project: 11

Option buildtype is: plain [default: debugoptimized]
Found ninja-1.10.0 at /nix/store/gpl1qma00zw28ndw3ry886pj8lkqzvjb-ninja-1.10.0/bin/ninja
Using 'STRIP' from environment with value: 'strip'
Using 'STRIP' from environment with value: 'strip'
meson: enabled parallel building
building
build flags: -j8 -l8
[51/163] Compiling C object 'src/25a6634@@phoc@sta/settings.c.o'eson-generated_wlr-screencopy-unstable-v1-protocol.c.o'Kocol.c.o'
FAILED: src/25a6634@@phoc@sta/settings.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/settings.c.o' -MF 'src/25a6634@@phoc@sta/settings.c.o.d' -o 'src/25a6634@@phoc@sta/settings.c.o' -c ../src/settings.c
In file included from ../src/settings.h:6,
                 from ../src/settings.c:19:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
[52/163] Compiling C object 'src/25a6634@@phoc@sta/phosh.c.o'
FAILED: src/25a6634@@phoc@sta/phosh.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/phosh.c.o' -MF 'src/25a6634@@phoc@sta/phosh.c.o.d' -o 'src/25a6634@@phoc@sta/phosh.c.o' -c ../src/phosh.c
In file included from ../src/settings.h:6,
                 from ../src/server.h:12,
                 from ../src/phosh.c:20:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
[53/163] Compiling C object 'src/25a6634@@phoc@sta/seat.c.o'
FAILED: src/25a6634@@phoc@sta/seat.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/seat.c.o' -MF 'src/25a6634@@phoc@sta/seat.c.o.d' -o 'src/25a6634@@phoc@sta/seat.c.o' -c ../src/seat.c
In file included from ../src/settings.h:6,
                 from ../src/input.h:8,
                 from ../src/seat.h:5,
                 from ../src/cursor.h:5,
                 from ../src/seat.c:22:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
[54/163] Compiling C object 'src/25a6634@@phoc@sta/server.c.o'
FAILED: src/25a6634@@phoc@sta/server.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/server.c.o' -MF 'src/25a6634@@phoc@sta/server.c.o.d' -o 'src/25a6634@@phoc@sta/server.c.o' -c ../src/server.c
In file included from ../src/settings.h:6,
                 from ../src/server.h:12,
                 from ../src/server.c:10:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
[55/163] Compiling C object 'src/25a6634@@phoc@sta/cursor.c.o'
FAILED: src/25a6634@@phoc@sta/cursor.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/cursor.c.o' -MF 'src/25a6634@@phoc@sta/cursor.c.o.d' -o 'src/25a6634@@phoc@sta/cursor.c.o' -c ../src/cursor.c
In file included from ../src/settings.h:6,
                 from ../src/input.h:8,
                 from ../src/seat.h:5,
                 from ../src/cursor.h:5,
                 from ../src/cursor.c:15:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
[56/163] Compiling C object 'src/25a6634@@phoc@sta/gtk-shell.c.o'
FAILED: src/25a6634@@phoc@sta/gtk-shell.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/gtk-shell.c.o' -MF 'src/25a6634@@phoc@sta/gtk-shell.c.o.d' -o 'src/25a6634@@phoc@sta/gtk-shell.c.o' -c ../src/gtk-shell.c
In file included from ../src/settings.h:6,
                 from ../src/server.h:12,
                 from ../src/gtk-shell.c:12:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
[57/163] Compiling C object 'src/25a6634@@phoc@sta/render.c.o'
FAILED: src/25a6634@@phoc@sta/render.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/render.c.o' -MF 'src/25a6634@@phoc@sta/render.c.o.d' -o 'src/25a6634@@phoc@sta/render.c.o' -c ../src/render.c
In file included from ../src/settings.h:6,
                 from ../src/desktop.h:34,
                 from ../src/output.h:4,
                 from ../src/render.c:18:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.
[58/163] Compiling C object 'src/25a6634@@phoc@sta/desktop.c.o'
FAILED: src/25a6634@@phoc@sta/desktop.c.o
gcc -Isrc/25a6634@@phoc@sta -Isrc -I../src -I/nix/store/vmd834p7b56ba3vmq53rsn5x1yqx77pi-libinput-1.15.5-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include -I/nix/store/lh6xk0cgq9pvjdmsq3vh1m829va7ysm3-glib-2.64.1-dev/include/glib-2.0 -I/nix/store/9yfbxys7srn3cgx9jsmfcyakwpkwr9fs-glib-2.64.1/lib/glib-2.0/include -I/nix/store/q6ar7s3ld5l537pkjymwyz92a1cgv1qg-gtk+3-3.24.20-dev/include/gtk-3.0 -I/nix/store/18qmdsyy9f6xxxcxbk8zi7k7gl04z3r7-atk-2.36.0-dev/include/atk-1.0 -I/nix/store/n2amx937mh6k39iadvh567kq4g2ljly7-cairo-1.16.0-dev/include/cairo -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include/freetype2 -I/nix/store/chrni3066nd9li7ccffs9yfqdhlqjdw7-freetype-2.10.1-dev/include -I/nix/store/pj515z2qsfhwsp3izx0paxfj434hwjqn-gdk-pixbuf-2.40.0-dev/include/gdk-pixbuf-2.0 -I/nix/store/vhc7j53yqsvrr35whr178bh7spxpan6n-gsettings-desktop-schemas-3.36.1/include/gsettings-desktop-schemas -I/nix/store/hnigkkd0xdyl0byb09xxmx55r502acgs-pango-1.44.7-dev/include/pango-1.0 -I/nix/store/kicxnsx8wx5vdjdm1hxq13kkpykkb067-harfbuzz-2.6.4-dev/include/harfbuzz -I/nix/store/jsmq4mkqcklgpwdi34vp3b3g4mfy97z6-gnome-desktop-3.36.2-dev/include/gnome-desktop-3.0 -I/nix/store/5n9qf33f4ynngqjl4fi61ks9ccqhgbgi-pixman-0.38.4/include/pixman-1 -I/nix/store/fh1v53h0y0jcm2rd3cxkd5a8jf9hwp6p-wayland-1.18.0/include -I/nix/store/zvv99h24gav9ydnv1xh9gdlmxdscgkny-wlroots-0.10.1/include -I/nix/store/bwg82bn5m8kgncq390ic4yzg7qia7rih-libxkbcommon-0.10.0-dev/include -I/build/source/build -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -fPIC -MD -MQ 'src/25a6634@@phoc@sta/desktop.c.o' -MF 'src/25a6634@@phoc@sta/desktop.c.o.d' -o 'src/25a6634@@phoc@sta/desktop.c.o' -c ../src/desktop.c
In file included from ../src/settings.h:6,
                 from ../src/input.h:8,
                 from ../src/seat.h:5,
                 from ../src/desktop.c:36:
/nix/store/akcqxqkxivvdx7p17napb0hv7i3hpkv4-libdrm-2.4.100-dev/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
   43 | #include <drm.h>
      |          ^~~~~~~
compilation terminated.

Merge request reports