Source: wlroots
Version: 0.12.0-2
Severity: serious
Tags: ftbfs

wlroots fails to build from source in unstable on amd64. A non-parallel
build now ends as follows:

| FAILED: examples/dmabuf-capture.p/dmabuf-capture.c.o
| cc -Iexamples/dmabuf-capture.p -Iexamples -I../examples -Iprotocol 
-I/usr/include/x86_64-linux-gnu -I/usr/include/libdrm 
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra 
-Werror -std=c11 -DWLR_USE_UNSTABLE -Wundef -Wlogical-op -Wmissing-include-dirs 
-Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes 
-Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow 
-Wmissing-prototypes -Wno-missing-braces -Wno-missing-field-initializers 
-Wno-unused-parameter -fmacro-prefix-map=../= -DLIBINPUT_MAJOR=1 
-DLIBINPUT_MINOR=19 -DLIBINPUT_PATCH=1 '-DICONDIR="/usr/share/icons"' -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
examples/dmabuf-capture.p/dmabuf-capture.c.o -MF 
examples/dmabuf-capture.p/dmabuf-capture.c.o.d -o 
examples/dmabuf-capture.p/dmabuf-capture.c.o -c ../examples/dmabuf-capture.c
| ../examples/dmabuf-capture.c: In function ‘vid_encode_thread’:
| ../examples/dmabuf-capture.c:494:25: error: ‘av_init_packet’ is deprecated 
[-Werror=deprecated-declarations]
|   494 |                         av_init_packet(&pkt);
|       |                         ^~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/bsf.h:30,
|                  from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44,
|                  from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:312,
|                  from ../examples/dmabuf-capture.c:2:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:488:6: note: declared here
|   488 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v 
returned exit code 1
| make: *** [debian/rules:7: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2

Helmut

Reply via email to