Source: cage
Version: 0.1.4-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

https://buildd.debian.org/status/fetch.php?pkg=cage&arch=amd64&ver=0.1.4-4%2Bb1&stamp=1690184836&raw=0

[3/12] cc -Icage.p -I. -I.. -I/usr/include/libdrm -I/usr/include/pixman-1 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -std=c11 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ cage.p/cage.c.o 
-MF cage.p/cage.c.o.d -o cage.p/cage.c.o -c ../cage.c
FAILED: cage.p/cage.c.o 
cc -Icage.p -I. -I.. -I/usr/include/libdrm -I/usr/include/pixman-1 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -std=c11 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ cage.p/cage.c.o 
-MF cage.p/cage.c.o.d -o cage.p/cage.c.o -c ../cage.c
In file included from ../view.h:8,
                 from ../seat.h:12,
                 from ../server.h:16,
                 from ../output.h:8,
                 from ../cage.c:45:
/usr/include/wlr/types/wlr_surface.h:1:2: warning: #warning 
"wlr/types/wlr_surface.h has been deprecated and will be removed in the future. 
Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Wcpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be 
removed in the future. Use wlr/types/wlr_compositor.h and 
wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
../cage.c: In function ‘main’:
../cage.c:389:21: error: too few arguments to function ‘wlr_xdg_shell_create’
  389 |         xdg_shell = wlr_xdg_shell_create(server.wl_display);
      |                     ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wlr/types/wlr_xdg_decoration_v1.h:5,
                 from ../cage.c:36:
/usr/include/wlr/types/wlr_xdg_shell.h:315:23: note: declared here
  315 | struct wlr_xdg_shell *wlr_xdg_shell_create(struct wl_display *display,
      |                       ^~~~~~~~~~~~~~~~~~~~
../cage.c:508:38: error: too few arguments to function 
‘wlr_output_layout_get_box’
  508 |         struct wlr_box *layout_box = 
wlr_output_layout_get_box(server.output_layout, NULL);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../cage.c:30:
/usr/include/wlr/types/wlr_output_layout.h:110:6: note: declared here
  110 | void wlr_output_layout_get_box(struct wlr_output_layout *layout,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/12] cc -Icage.p -I. -I.. -I/usr/include/libdrm -I/usr/include/pixman-1 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -std=c11 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ 
cage.p/idle_inhibit_v1.c.o -MF cage.p/idle_inhibit_v1.c.o.d -o 
cage.p/idle_inhibit_v1.c.o -c ../idle_inhibit_v1.c
In file included from ../view.h:8,
                 from ../output.h:9,
                 from ../server.h:15,
                 from ../idle_inhibit_v1.c:15:
/usr/include/wlr/types/wlr_surface.h:1:2: warning: #warning 
"wlr/types/wlr_surface.h has been deprecated and will be removed in the future. 
Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Wcpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be 
removed in the future. Use wlr/types/wlr_compositor.h and 
wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
[5/12] cc -Icage.p -I. -I.. -I/usr/include/libdrm -I/usr/include/pixman-1 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -std=c11 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ 
cage.p/render.c.o -MF cage.p/render.c.o.d -o cage.p/render.c.o -c ../render.c
In file included from ../render.c:16:
/usr/include/wlr/types/wlr_surface.h:1:2: warning: #warning 
"wlr/types/wlr_surface.h has been deprecated and will be removed in the future. 
Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Wcpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be 
removed in the future. Use wlr/types/wlr_compositor.h and 
wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
In file included from ../view.h:8,
                 from ../seat.h:12,
                 from ../server.h:16,
                 from ../output.h:8,
                 from ../render.c:21:
/usr/include/wlr/types/wlr_surface.h:1:2: warning: #warning 
"wlr/types/wlr_surface.h has been deprecated and will be removed in the future. 
Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Wcpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be 
removed in the future. Use wlr/types/wlr_compositor.h and 
wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
[6/12] cc -Icage.p -I. -I.. -I/usr/include/libdrm -I/usr/include/pixman-1 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Wpedantic -std=c11 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ 
cage.p/output.c.o -MF cage.p/output.c.o.d -o cage.p/output.c.o -c ../output.c
In file included from ../output.c:29:
/usr/include/wlr/types/wlr_surface.h:1:2: warning: #warning 
"wlr/types/wlr_surface.h has been deprecated and will be removed in the future. 
Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Wcpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be 
removed in the future. Use wlr/types/wlr_compositor.h and 
wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
In file included from ../view.h:8,
                 from ../seat.h:12,
                 from ../server.h:16,
                 from ../output.h:8,
                 from ../output.c:34:
/usr/include/wlr/types/wlr_surface.h:1:2: warning: #warning 
"wlr/types/wlr_surface.h has been deprecated and will be removed in the future. 
Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Wcpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be 
removed in the future. Use wlr/types/wlr_compositor.h and 
wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v 
returned exit code 1

Cheers
-- 
Sebastian Ramacher

Reply via email to