Your message dated Sun, 13 Mar 2022 17:36:03 +0000
with message-id <[email protected]>
and subject line Bug#1004812: fixed in scrcpy 1.23-1
has caused the Debian Bug report #1004812,
regarding scrpcpy: 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.)
--
1004812: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004812
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: scrcpy
Version: 1.21-1
Severity: important
X-Debbugs-Cc: [email protected]
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0
scrcpy FTBFS with ffmpeg 5.0 in experimental:
FAILED: app/scrcpy.p/src_decoder.c.o
ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ
app/scrcpy.p/src_decoder.c.o -MF app/scrcpy.p/src_decoder.c.o.d -o
app/scrcpy.p/src_decoder.c.o -c ../app/src/decoder.c
In file included from ../app/src/decoder.c:1:
../app/src/decoder.h:19:5: error: unknown type name ‘AVCodecContext’
19 | AVCodecContext *codec_ctx;
| ^~~~~~~~~~~~~~
../app/src/decoder.c: In function ‘decoder_open’:
../app/src/decoder.c:43:24: warning: assignment to ‘int *’ from incompatible
pointer type ‘AVCodecContext *’ [-Wincompatible-pointer-types]
43 | decoder->codec_ctx = avcodec_alloc_context3(codec);
| ^
../app/src/decoder.c:49:30: warning: passing argument 1 of ‘avcodec_open2’ from
incompatible pointer type [-Wincompatible-pointer-types]
49 | if (avcodec_open2(decoder->codec_ctx, codec, NULL) < 0) {
| ~~~~~~~^~~~~~~~~~~
| |
| int *
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2416:35: note: expected
‘AVCodecContext *’ but argument is of type ‘int *’
2416 | int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec,
AVDictionary **options);
| ~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c:51:30: warning: passing argument 1 of
‘avcodec_free_context’ from incompatible pointer type
[-Wincompatible-pointer-types]
51 | avcodec_free_context(&decoder->codec_ctx);
| ^~~~~~~~~~~~~~~~~~~
| |
| int **
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2332:44: note: expected
‘AVCodecContext **’ but argument is of type ‘int **’
2332 | void avcodec_free_context(AVCodecContext **avctx);
| ~~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c:58:30: warning: passing argument 1 of ‘avcodec_close’ from
incompatible pointer type [-Wincompatible-pointer-types]
58 | avcodec_close(decoder->codec_ctx);
| ~~~~~~~^~~~~~~~~~~
| |
| int *
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2431:35: note: expected
‘AVCodecContext *’ but argument is of type ‘int *’
2431 | int avcodec_close(AVCodecContext *avctx);
| ~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c:59:30: warning: passing argument 1 of
‘avcodec_free_context’ from incompatible pointer type
[-Wincompatible-pointer-types]
59 | avcodec_free_context(&decoder->codec_ctx);
| ^~~~~~~~~~~~~~~~~~~
| |
| int **
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2332:44: note: expected
‘AVCodecContext **’ but argument is of type ‘int **’
2332 | void avcodec_free_context(AVCodecContext **avctx);
| ~~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c:66:30: warning: passing argument 1 of ‘avcodec_close’ from
incompatible pointer type [-Wincompatible-pointer-types]
66 | avcodec_close(decoder->codec_ctx);
| ~~~~~~~^~~~~~~~~~~
| |
| int *
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2431:35: note: expected
‘AVCodecContext *’ but argument is of type ‘int *’
2431 | int avcodec_close(AVCodecContext *avctx);
| ~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c:67:30: warning: passing argument 1 of
‘avcodec_free_context’ from incompatible pointer type
[-Wincompatible-pointer-types]
67 | avcodec_free_context(&decoder->codec_ctx);
| ^~~~~~~~~~~~~~~~~~~
| |
| int **
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2332:44: note: expected
‘AVCodecContext **’ but argument is of type ‘int **’
2332 | void avcodec_free_context(AVCodecContext **avctx);
| ~~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c: In function ‘decoder_close’:
../app/src/decoder.c:78:26: warning: passing argument 1 of ‘avcodec_close’ from
incompatible pointer type [-Wincompatible-pointer-types]
78 | avcodec_close(decoder->codec_ctx);
| ~~~~~~~^~~~~~~~~~~
| |
| int *
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2431:35: note: expected
‘AVCodecContext *’ but argument is of type ‘int *’
2431 | int avcodec_close(AVCodecContext *avctx);
| ~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c:79:26: warning: passing argument 1 of
‘avcodec_free_context’ from incompatible pointer type
[-Wincompatible-pointer-types]
79 | avcodec_free_context(&decoder->codec_ctx);
| ^~~~~~~~~~~~~~~~~~~
| |
| int **
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2332:44: note: expected
‘AVCodecContext **’ but argument is of type ‘int **’
2332 | void avcodec_free_context(AVCodecContext **avctx);
| ~~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c: In function ‘decoder_push’:
../app/src/decoder.c:103:42: warning: passing argument 1 of
‘avcodec_send_packet’ from incompatible pointer type
[-Wincompatible-pointer-types]
103 | int ret = avcodec_send_packet(decoder->codec_ctx, packet);
| ~~~~~~~^~~~~~~~~~~
| |
| int *
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2581:41: note: expected
‘AVCodecContext *’ but argument is of type ‘int *’
2581 | int avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt);
| ~~~~~~~~~~~~~~~~^~~~~
../app/src/decoder.c:108:40: warning: passing argument 1 of
‘avcodec_receive_frame’ from incompatible pointer type
[-Wincompatible-pointer-types]
108 | ret = avcodec_receive_frame(decoder->codec_ctx, decoder->frame);
| ~~~~~~~^~~~~~~~~~~
| |
| int *
In file included from ../app/src/decoder.c:3:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2604:43: note: expected
‘AVCodecContext *’ but argument is of type ‘int *’
2604 | int avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame);
| ~~~~~~~~~~~~~~~~^~~~~
[7/47] ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ app/scrcpy.p/src_cli.c.o
-MF app/scrcpy.p/src_cli.c.o.d -o app/scrcpy.p/src_cli.c.o -c ../app/src/cli.c
../app/src/cli.c:681:2: warning: ISO C does not allow extra ‘;’ outside of a
function [-Wpedantic]
681 | };
| ^
[8/47] ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ
app/scrcpy.p/src_control_msg.c.o -MF app/scrcpy.p/src_control_msg.c.o.d -o
app/scrcpy.p/src_control_msg.c.o -c ../app/src/control_msg.c
../app/src/control_msg.c: In function ‘control_msg_log’:
../app/src/control_msg.c:220:49: warning: ISO C99 requires at least one
argument for the "..." in a variadic macro
220 | LOG_CMSG("expand notification panel");
| ^
../app/src/control_msg.c:223:45: warning: ISO C99 requires at least one
argument for the "..." in a variadic macro
223 | LOG_CMSG("expand settings panel");
| ^
../app/src/control_msg.c:226:39: warning: ISO C99 requires at least one
argument for the "..." in a variadic macro
226 | LOG_CMSG("collapse panels");
| ^
../app/src/control_msg.c:229:37: warning: ISO C99 requires at least one
argument for the "..." in a variadic macro
229 | LOG_CMSG("rotate device");
| ^
[9/47] ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ
app/scrcpy.p/src_device_msg.c.o -MF app/scrcpy.p/src_device_msg.c.o.d -o
app/scrcpy.p/src_device_msg.c.o -c ../app/src/device_msg.c
[10/47] ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ
app/scrcpy.p/src_controller.c.o -MF app/scrcpy.p/src_controller.c.o.d -o
app/scrcpy.p/src_controller.c.o -c ../app/src/controller.c
In file included from ../app/src/controller.h:11,
from ../app/src/controller.c:1:
../app/src/controller.c: In function ‘controller_destroy’:
../app/src/util/cbuf.h:43:5: warning: ISO C forbids braced-groups within
expressions [-Wpedantic]
43 | ({ \
| ^
../app/src/controller.c:42:12: note: in expansion of macro ‘cbuf_take’
42 | while (cbuf_take(&controller->queue, &msg)) {
| ^~~~~~~~~
../app/src/controller.c: In function ‘controller_push_msg’:
../app/src/util/cbuf.h:33:5: warning: ISO C forbids braced-groups within
expressions [-Wpedantic]
33 | ({ \
| ^
../app/src/controller.c:58:16: note: in expansion of macro ‘cbuf_push’
58 | bool res = cbuf_push(&controller->queue, *msg);
| ^~~~~~~~~
../app/src/controller.c: In function ‘run_controller’:
../app/src/util/cbuf.h:43:5: warning: ISO C forbids braced-groups within
expressions [-Wpedantic]
43 | ({ \
| ^
../app/src/controller.c:93:26: note: in expansion of macro ‘cbuf_take’
93 | bool non_empty = cbuf_take(&controller->queue, &msg);
| ^~~~~~~~~
[11/47] ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ app/scrcpy.p/src_main.c.o
-MF app/scrcpy.p/src_main.c.o.d -o app/scrcpy.p/src_main.c.o -c
../app/src/main.c
[12/47] ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ app/scrcpy.p/src_icon.c.o
-MF app/scrcpy.p/src_icon.c.o.d -o app/scrcpy.p/src_icon.c.o -c
../app/src/icon.c
FAILED: app/scrcpy.p/src_icon.c.o
ccache cc -Iapp/scrcpy.p -Iapp -I../app -I../app/src
-I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -I/usr/include/libusb-1.0
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -std=c11 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic
-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -MD -MQ app/scrcpy.p/src_icon.c.o
-MF app/scrcpy.p/src_icon.c.o.d -o app/scrcpy.p/src_icon.c.o -c
../app/src/icon.c
../app/src/icon.c: In function ‘decode_image’:
../app/src/icon.c:88:22: warning: initialization discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
88 | AVCodec *codec = avcodec_find_decoder(params->codec_id);
| ^~~~~~~~~~~~~~~~~~~~
../app/src/icon.c:94:5: error: unknown type name ‘AVCodecContext’; use ‘struct’
keyword to refer to the type
94 | AVCodecContext *codec_ctx = avcodec_alloc_context3(codec);
| ^~~~~~~~~~~~~~
| struct
../app/src/icon.c:94:33: warning: implicit declaration of function
‘avcodec_alloc_context3’; did you mean ‘avio_alloc_context’?
[-Wimplicit-function-declaration]
94 | AVCodecContext *codec_ctx = avcodec_alloc_context3(codec);
| ^~~~~~~~~~~~~~~~~~~~~~
| avio_alloc_context
../app/src/icon.c:94:33: warning: initialization of ‘int *’ from ‘int’ makes
pointer from integer without a cast [-Wint-conversion]
../app/src/icon.c:100:9: warning: implicit declaration of function
‘avcodec_parameters_to_context’; did you mean ‘avcodec_parameters_copy’?
[-Wimplicit-function-declaration]
100 | if (avcodec_parameters_to_context(codec_ctx, params) < 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| avcodec_parameters_copy
../app/src/icon.c:105:9: warning: implicit declaration of function
‘avcodec_open2’; did you mean ‘avio_open2’? [-Wimplicit-function-declaration]
105 | if (avcodec_open2(codec_ctx, codec, NULL) < 0) {
| ^~~~~~~~~~~~~
| avio_open2
../app/src/icon.c:131:16: warning: implicit declaration of function
‘avcodec_send_packet’; did you mean ‘av_append_packet’?
[-Wimplicit-function-declaration]
131 | if ((ret = avcodec_send_packet(codec_ctx, packet)) < 0) {
| ^~~~~~~~~~~~~~~~~~~
| av_append_packet
../app/src/icon.c:138:16: warning: implicit declaration of function
‘avcodec_receive_frame’; did you mean ‘avcodec_profile_name’?
[-Wimplicit-function-declaration]
138 | if ((ret = avcodec_receive_frame(codec_ctx, frame)) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~
| avcodec_profile_name
../app/src/icon.c:150:5: warning: implicit declaration of function
‘avcodec_close’; did you mean ‘avio_close’? [-Wimplicit-function-declaration]
150 | avcodec_close(codec_ctx);
| ^~~~~~~~~~~~~
| avio_close
../app/src/icon.c:152:5: warning: implicit declaration of function
‘avcodec_free_context’; did you mean ‘avformat_free_context’?
[-Wimplicit-function-declaration]
152 | avcodec_free_context(&codec_ctx);
| ^~~~~~~~~~~~~~~~~~~~
| avformat_free_context
ninja: build stopped: subcommand failed.
Cheers
--
Sebastian Ramacher
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: scrcpy
Source-Version: 1.23-1
Done: Yangfl <[email protected]>
We believe that the bug you reported is fixed in the latest version of
scrcpy, 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.
Yangfl <[email protected]> (supplier of updated scrcpy 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: SHA512
Format: 1.8
Date: Wed, 09 Mar 2022 16:37:46 +0800
Source: scrcpy
Architecture: source
Version: 1.23-1
Distribution: unstable
Urgency: medium
Maintainer: Yangfl <[email protected]>
Changed-By: Yangfl <[email protected]>
Closes: 1004201 1004812
Changes:
scrcpy (1.23-1) unstable; urgency=medium
.
* New upstream release
* scrcpy now require scrcpy-server of the same version (Closes: #1004201)
* Fix FTBFS with ffmpeg 5.0 (Closes: #1004812)
Checksums-Sha1:
0f589a0550981b3249eac53bf38be190ab2dd458 2122 scrcpy_1.23-1.dsc
9b6c1674168ffaa999b93d442f1c4b68e9bf8ccd 417069 scrcpy_1.23.orig.tar.gz
339bfe3611463dac6aa9016956c80f73841554a3 13944 scrcpy_1.23-1.debian.tar.xz
ef8aa640929a329ed7b6e75dff17ccf0a4dfd7cb 17063 scrcpy_1.23-1_amd64.buildinfo
Checksums-Sha256:
4c00d7a6ee82d28482ad482d808764a337079f250526798320c4a6d130491db4 2122
scrcpy_1.23-1.dsc
47686af76e2314404deda0eea58761ca1378a6a1567408b4560683461c7ea18b 417069
scrcpy_1.23.orig.tar.gz
a06b11fca0308f5233ea38d1c637fc0a9dba221b674c9f0327e6e89d4bfada60 13944
scrcpy_1.23-1.debian.tar.xz
b35e5e990eab14366926bd715a1a85bdb4d08c60a56486594ddaf03f77f99921 17063
scrcpy_1.23-1_amd64.buildinfo
Files:
7413a34552d1a87d8de63d5254ebaf51 2122 net optional scrcpy_1.23-1.dsc
6795bf0e80e9863fb6d92198eff615de 417069 net optional scrcpy_1.23.orig.tar.gz
be62752f6f73485b58ecb7ae1aea6e2a 13944 net optional scrcpy_1.23-1.debian.tar.xz
def5443fa15b04085c60475f91314488 17063 net optional
scrcpy_1.23-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmIuJDYACgkQwpPntGGC
Ws7j2g//VO4eauhdXJfNfF1trcPn6D9952bCNo1TadpBhEt7hZ/Wm8lArOcl+J+J
vgIDZzikyxYyQmdZxkdb+RZ9F3ifc2S8oEgt7cOudnDq4c2YYYuXZsa1t+sCiYdd
0f3RI7WipX1MJLAsDQbqFF6PJjarQMxj3UO/qGZonZJ2tAEpGRtSA2lnf3ksGfgk
nfD2rfWjmtkb0uMUelXOSPHLzoIxJgozH2eTmMxDT66NvoZYnruEBXnB2m6/1qws
LG+Y62hlRcX1bx0hNXCJCzyQKlv5ni2Ysl5HeCYzcC9uW66BacAf8UMs7mRQl6gj
oL7GjHCghjou7tLsl8KJu5a04vo8G4/sFwcPtOFtI01SRqIAX0BCuUzJKqUNwelt
XJqfiS+XbnMwBVi2VcX0c5pl7C6OzXYL3IC8X3VZkmlSbTWx6eHYQic6O6boQmGG
k8U73iOS0kzXqnAA8ZB0Z+yxk34CE7ZGhvCR7Bn6ie5izuIddXgU35RH4Sm2Dp7q
kZOXsGihyMpfFdzi5R0q9kmFexKuZn+tX+1cmuMHZgU+UA9qr4Odd5wQ/HFoimdV
mi6ZzfCh/wb8WcNHXMa+mrvGoYkJI4uHPqcH/Kbkjg+Zn1wYpqabr3kqBPRDuQpi
N3VmhTmI9Nnm8d8iqCpl2IqWwAM/nSclWN9AKAQ+TM5Q6f9W+UA=
=BiYm
-----END PGP SIGNATURE-----
--- End Message ---