Processed: Re: Bug#996500: wlroots FTBFS: error: ‘av_init_packet’ is deprecated [-Werror=deprecated-declarations]

2021-10-19 Thread Debian Bug Tracking System
Processing control commands:

> fixed -1 wlroots/0.14.1-1
Bug #996500 [src:wlroots] wlroots FTBFS: error: ‘av_init_packet’ is deprecated 
[-Werror=deprecated-declarations]
Marked as fixed in versions wlroots/0.14.1-1.

-- 
996500: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996500
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#996500: wlroots FTBFS: error: ‘av_init_packet’ is deprecated [-Werror=deprecated-declarations]

2021-10-19 Thread Guido Günther
control: -1 fixed wlroots/0.14.1-1



Bug#996500: wlroots FTBFS: error: ‘av_init_packet’ is deprecated [-Werror=deprecated-declarations]

2021-10-15 Thread Guido Günther
Hi,
This is fixed in experimental which should go to unstable soon.
Otherwise I'll backport upstream commit
6230f7be4f92b83df7ea8e6487410b3b81dd4b1d
Cheers,
 -- Guido

On Thu, Oct 14, 2021 at 07:54:13PM +0200, Helmut Grohne wrote:
> 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=/<>=. 
> -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();
> |   | ^~
> | 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
> 



Bug#996500: wlroots FTBFS: error: ‘av_init_packet’ is deprecated [-Werror=deprecated-declarations]

2021-10-14 Thread Helmut Grohne
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=/<>=. -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();
|   | ^~
| 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