Your message dated Fri, 24 Jun 2022 11:55:08 +0000
with message-id <[email protected]>
and subject line Bug#1004792: fixed in wlroots 0.15.1-3
has caused the Debian Bug report #1004792,
regarding wlroots: FTBFS with ffmpeg 5.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1004792: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004792
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: wlroots
Version: 0.14.1-5
Severity: important
X-Debbugs-Cc: [email protected]
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0
wlroots FTBFS with ffmpeg 5.0 in experimental:
FAILED: examples/dmabuf-capture.p/dmabuf-capture.c.o
ccache 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 -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0
-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 -Walloca
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter
-fmacro-prefix-map=../= -DHAS_GBM_BO_GET_FD_FOR_PLANE=1
'-DICONDIR="/usr/share/icons"' -DHAS_XCB_ERRORS=0 -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:60:9: error: unknown type name ‘AVCodecContext’
60 | AVCodecContext *avctx;
| ^~~~~~~~~~~~~~
../examples/dmabuf-capture.c: In function ‘frame_ready’:
../examples/dmabuf-capture.c:389:35: error: request for member ‘time_base’ in
something not a structure or union
389 | ctx->avctx->time_base);
| ^~
../examples/dmabuf-capture.c: In function ‘vid_encode_thread’:
../examples/dmabuf-capture.c:483:23: error: implicit declaration of function
‘avcodec_send_frame’; did you mean ‘avcodec_get_name’?
[-Werror=implicit-function-declaration]
483 | err = avcodec_send_frame(ctx->avctx, f);
| ^~~~~~~~~~~~~~~~~~
| avcodec_get_name
../examples/dmabuf-capture.c:494:35: error: implicit declaration of function
‘avcodec_receive_packet’ [-Werror=implicit-function-declaration]
494 | int ret = avcodec_receive_packet(ctx->avctx,
pkt);
| ^~~~~~~~~~~~~~~~~~~~~~
../examples/dmabuf-capture.c:523:43: error: request for member ‘frame_number’
in something not a structure or union
523 | ctx->avctx->frame_number,
get_fifo_size(&ctx->vid_frames));
| ^~
../examples/dmabuf-capture.c: In function ‘set_hwframe_ctx’:
../examples/dmabuf-capture.c:579:43: error: request for member ‘pix_fmt’ in
something not a structure or union
579 | frames_ctx->sw_format = ctx->avctx->pix_fmt;
| ^~
../examples/dmabuf-capture.c:580:39: error: request for member ‘width’ in
something not a structure or union
580 | frames_ctx->width = ctx->avctx->width;
| ^~
../examples/dmabuf-capture.c:581:40: error: request for member ‘height’ in
something not a structure or union
581 | frames_ctx->height = ctx->avctx->height;
| ^~
../examples/dmabuf-capture.c:593:27: error: request for member ‘pix_fmt’ in
something not a structure or union
593 | ctx->avctx->pix_fmt = frames_ctx->format;
| ^~
../examples/dmabuf-capture.c:594:27: error: request for member ‘hw_frames_ctx’
in something not a structure or union
594 | ctx->avctx->hw_frames_ctx =
av_buffer_ref(ctx->mapped_frames_ref);
| ^~
../examples/dmabuf-capture.c:595:32: error: request for member ‘hw_frames_ctx’
in something not a structure or union
595 | if (!ctx->avctx->hw_frames_ctx) {
| ^~
../examples/dmabuf-capture.c: In function ‘init_encoding’:
../examples/dmabuf-capture.c:622:30: error: initialization discards ‘const’
qualifier from pointer target type [-Werror=discarded-qualifiers]
622 | AVCodec *out_codec =
avcodec_find_encoder_by_name(ctx->encoder_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/dmabuf-capture.c:627:40: error: assignment of member ‘video_codec’
in read-only object
627 | ctx->avf->oformat->video_codec = out_codec->id;
| ^
../examples/dmabuf-capture.c:630:22: error: implicit declaration of function
‘avcodec_alloc_context3’; did you mean ‘avio_alloc_context’?
[-Werror=implicit-function-declaration]
630 | ctx->avctx = avcodec_alloc_context3(out_codec);
| ^~~~~~~~~~~~~~~~~~~~~~
| avio_alloc_context
../examples/dmabuf-capture.c:630:20: error: assignment to ‘int *’ from ‘int’
makes pointer from integer without a cast [-Werror=int-conversion]
630 | ctx->avctx = avcodec_alloc_context3(out_codec);
| ^
../examples/dmabuf-capture.c:634:19: error: request for member ‘opaque’ in
something not a structure or union
634 | ctx->avctx->opaque = ctx;
| ^~
../examples/dmabuf-capture.c:635:19: error: request for member ‘bit_rate’ in
something not a structure or union
635 | ctx->avctx->bit_rate = (int)ctx->out_bitrate*1000000.0f;
| ^~
../examples/dmabuf-capture.c:636:19: error: request for member ‘pix_fmt’ in
something not a structure or union
636 | ctx->avctx->pix_fmt = ctx->software_format;
| ^~
../examples/dmabuf-capture.c:637:19: error: request for member ‘time_base’ in
something not a structure or union
637 | ctx->avctx->time_base = (AVRational){ 1, 1000 };
| ^~
../examples/dmabuf-capture.c:638:19: error: request for member
‘compression_level’ in something not a structure or union
638 | ctx->avctx->compression_level = 7;
| ^~
../examples/dmabuf-capture.c:639:19: error: request for member ‘width’ in
something not a structure or union
639 | ctx->avctx->width = find_output(ctx, ctx->target_output,
0)->width;
| ^~
../examples/dmabuf-capture.c:640:19: error: request for member ‘height’ in
something not a structure or union
640 | ctx->avctx->height = find_output(ctx, ctx->target_output,
0)->height;
| ^~
../examples/dmabuf-capture.c:643:27: error: request for member ‘flags’ in
something not a structure or union
643 | ctx->avctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
| ^~
../examples/dmabuf-capture.c:643:38: error: ‘AV_CODEC_FLAG_GLOBAL_HEADER’
undeclared (first use in this function)
643 | ctx->avctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/dmabuf-capture.c:643:38: note: each undeclared identifier is
reported only once for each function it appears in
../examples/dmabuf-capture.c:647:35: error: request for member ‘time_base’ in
something not a structure or union
647 | st->time_base = ctx->avctx->time_base;
| ^~
../examples/dmabuf-capture.c:656:15: error: implicit declaration of function
‘avcodec_open2’; did you mean ‘avio_open2’?
[-Werror=implicit-function-declaration]
656 | err = avcodec_open2(ctx->avctx, out_codec, &ctx->encoder_opts);
| ^~~~~~~~~~~~~
| avio_open2
../examples/dmabuf-capture.c:663:13: error: implicit declaration of function
‘avcodec_parameters_from_context’; did you mean ‘avcodec_parameters_free’?
[-Werror=implicit-function-declaration]
663 | if (avcodec_parameters_from_context(st->codecpar, ctx->avctx) <
0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| avcodec_parameters_free
../examples/dmabuf-capture.c: In function ‘uninit’:
../examples/dmabuf-capture.c:897:9: error: implicit declaration of function
‘avcodec_close’; did you mean ‘avio_close’?
[-Werror=implicit-function-declaration]
897 | avcodec_close(ctx->avctx);
| ^~~~~~~~~~~~~
| avio_close
cc1: all warnings being treated as errors
Cheers
--
Sebastian Ramacher
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: wlroots
Source-Version: 0.15.1-3
Done: Guido Günther <[email protected]>
We believe that the bug you reported is fixed in the latest version of
wlroots, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated wlroots package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 24 Jun 2022 11:54:33 +0200
Source: wlroots
Architecture: source
Version: 0.15.1-3
Distribution: unstable
Urgency: medium
Maintainer: Sway and related packages team <[email protected]>
Changed-By: Guido Günther <[email protected]>
Closes: 1004792
Changes:
wlroots (0.15.1-3) unstable; urgency=medium
.
* [01320b4] Backport upstream patch to fix build with ffmpeg 5.0
(Closes: #1004792)
Checksums-Sha1:
c1fd70368b257f2e75f6e4ad3073478e757a8f57 2726 wlroots_0.15.1-3.dsc
21b2dd79631e312c010e64711f560a71848cd44c 11556 wlroots_0.15.1-3.debian.tar.xz
08274097e53d10cee177e1062f0a45db59a32060 14990 wlroots_0.15.1-3_amd64.buildinfo
Checksums-Sha256:
a371c25938827bf63b6eaea0ec3caba3fce4bd50ab804d00248f2bb27c83cd50 2726
wlroots_0.15.1-3.dsc
462d5324e012c7187dd9e0563c1b6eebef908a969618880c0d2a5335efab8dad 11556
wlroots_0.15.1-3.debian.tar.xz
28b0b554de7b4436dca3a3ec44cb3210ebc332a8ff64d7d42a5d361f96af8741 14990
wlroots_0.15.1-3_amd64.buildinfo
Files:
9c5b926a3e21c7353d0a1921c811e653 2726 libs optional wlroots_0.15.1-3.dsc
52e2d0d91db81dca2e8e7563659783d7 11556 libs optional
wlroots_0.15.1-3.debian.tar.xz
c0282070f37828607a48592d3b873a20 14990 libs optional
wlroots_0.15.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEY/bM35YinQkoayrDJb+GUkr8weMFAmK1n5sACgkQJb+GUkr8
weORsBAAwCSjgTJaj+tgGekgZbtW+pLNkGyc2hE0dD1cPssjmXKGKCgkH4m1uLL+
sHZngsIG1oBlDhZuLFQxoPRIzgJw991jPFJMoZxVAi4pXCXOtwxPKpYfjvqasoOl
5sTdoiPL5D/BgM86/Hpi+xzIaKhT5Bss+xo4pCwtiskHzAzUY3uTfFxdR0ZlbnlJ
9f+eCvRDQSbkiLx7NEnoop3ml0isQNIQm4SER99VDSQZI+LUHLKNkZ74QqQxQk0h
/0mRmszagtG/x/PRqNAUG8cRPdPSVs6IZ0u2/ti8wJVyoP5lb/wIsJpr1Hwoc7tr
p8sP0JAn+PjwToKgMpNV49SsswORvmICQTKwdcimaNeaF29JKVUSgngZS8bi4muv
yAZahdX5rg/f/1weYxqpZlwV2j69hI6aYcfD22Cws9nIMpX0q4tAro2Wt0ufQeHE
Qweh2nq3fUnubvKzRwecLCAfJE50Ak4Bf6wRPnO4p71UPzAIPtBnNDUw3eDgoEYS
TK9mu++rNqcnajB2DeeDIGvaekvjrGZHnygzj9J0/9+RD8Xtjgp80tps9ORQifjJ
Pu3QEaTBeunUg4GpgjFXzsOFhb6XrHTV+Xua1NbwRjkE+TZ1JMSj/vLEZZ221Ufg
1wD0FX2gNR2CbUf/h8lmI7jyiEReHJLsMCv4FGZWPmIOziKTQDQ=
=oUYq
-----END PGP SIGNATURE-----
--- End Message ---