Your message dated Thu, 07 Nov 2024 19:19:00 +0000
with message-id <e1t9820-000tk7...@fasolo.debian.org>
and subject line Bug#1072401: fixed in baresip 1.1.0-2
has caused the Debian Bug report #1072401,
regarding baresip: FTBFS with ffmpeg 7.0: modules/avformat/audio.c:104:49: 
error: ‘AVCodecContext’ has no member named ‘channels’
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 ow...@bugs.debian.org
immediately.)


-- 
1072401: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072401
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: baresip
Version: 1.1.0-1
Severity: important
Tags: trixie sid ftbfs
Usertags: ffmpeg-7.0

Hi,

during a rebuild of the reverse dependencies for the transition to
ffmpeg 7.0, your package failed to build


Relevant part (hopefully):
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security 
> -mbranch-protection=standard -DRELEASE -Wall -Wextra -Wmissing-declarations 
> -Wmissing-prototypes -Wstrict-prototypes -Wbad-function-cast -Wsign-compare 
> -Wnested-externs -Wshadow -Waggregate-return -Wcast-align 
> -Wold-style-definition -Wdeclaration-after-statement -g -O3   -Wuninitialized 
> -Wno-strict-aliasing -fPIC -DLINUX -DOS=\"linux\" -std=c11 -pedantic 
> -DHAVE_ATOMIC -DARCH=\"\" -DUSE_OPENSSL -DUSE_TLS -DUSE_OPENSSL_DTLS 
> -DUSE_DTLS -DUSE_OPENSSL_SRTP -DUSE_DTLS_SRTP -DUSE_ZLIB -DHAVE_PTHREAD 
> -DHAVE_GETIFADDRS -DHAVE_STRERROR_R -DHAVE_GETOPT -DHAVE_INTTYPES_H 
> -DHAVE_NET_ROUTE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STDBOOL_H -DHAVE_INET6 
> -DHAVE_RESOLV -DHAVE_SYSLOG -DHAVE_FORK -DHAVE_INET_NTOP -DHAVE_PWD_H 
> -DHAVE_POLL  -DHAVE_INET_PTON -DHAVE_SELECT -DHAVE_SELECT_H -DHAVE_SETRLIMIT 
> -DHAVE_SIGNAL -DHAVE_SYS_TIME_H -DHAVE_EPOLL -DHAVE_UNAME -DHAVE_UNISTD_H 
> -DHAVE_STRINGS_H -DVERSION=\"1.1.0\" -DVER_MAJOR= -DVER_MINOR= -DVER_PATCH= 
> -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security 
> -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Iinclude 
> -I/usr/include/re -I/usr/include/rem -DPREFIX=\"/usr\" 
> -DMOD_PATH=\"/usr/lib/baresip/modules\" -DSHARE_PATH=\"/usr/share/baresip\" 
> -I/usr/include/aarch64-linux-gnu  \
>       -c modules/avformat/audio.c -o build-/modules/avformat/audio.o -MD -MF 
> build-/modules/avformat/audio.d -MT build-/modules/avformat/audio.o
> modules/avformat/avformat.c: In function ‘shared_destructor’:
> modules/avformat/avformat.c:59:17: warning: ‘avcodec_close’ is deprecated 
> [-Wdeprecated-declarations]
>    59 |                 avcodec_close(st->au.ctx);
>       |                 ^~~~~~~~~~~~~
> modules/avformat/audio.c: In function ‘avformat_audio_alloc’:
> In file included from modules/avformat/avformat.c:15:
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared 
> here
>  2387 | int avcodec_close(AVCodecContext *avctx);
>       |     ^~~~~~~~~~~~~
> modules/avformat/avformat.c:64:17: warning: ‘avcodec_close’ is deprecated 
> [-Wdeprecated-declarations]
>    64 |                 avcodec_close(st->vid.ctx);
>       |                 ^~~~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared 
> here
>  2387 | int avcodec_close(AVCodecContext *avctx);
>       |     ^~~~~~~~~~~~~
> modules/avformat/avformat.c: In function ‘open_codec’:
> modules/avformat/avformat.c:180:23: warning: assignment discards ‘const’ 
> qualifier from pointer target type [-Wdiscarded-qualifiers]
>   180 |                 codec = avcodec_find_decoder(ctx->codec_id);
>       |                       ^
> modules/avformat/avformat.c: In function ‘avformat_shared_alloc’:
> modules/avformat/avformat.c:262:30: warning: assignment discards ‘const’ 
> qualifier from pointer target type [-Wdiscarded-qualifiers]
>   262 |                 input_format = av_find_input_format(format);
>       |                              ^
> modules/avformat/avformat.c: In function ‘module_init’:
> modules/avformat/avformat.c:439:34: warning: assignment discards ‘const’ 
> qualifier from pointer target type [-Wdiscarded-qualifiers]
>   439 |                 avformat_decoder = 
> avcodec_find_decoder_by_name(decoder);
>       |                                  ^
> modules/avformat/audio.c:104:49: error: ‘AVCodecContext’ has no member named 
> ‘channels’
>   104 |              sh->au.ctx->sample_rate, sh->au.ctx->channels,
>       |                                                 ^~
> modules/avformat/audio.c: In function ‘avformat_audio_decode’:
> modules/avformat/audio.c:158:23: error: ‘AVFrame’ has no member named 
> ‘channel_layout’; did you mean ‘ch_layout’?
>   158 |                 frame.channel_layout =
>       |                       ^~~~~~~~~~~~~~
>       |                       ch_layout
> modules/avformat/audio.c:159:25: error: implicit declaration of function 
> ‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration]
>   159 |                         av_get_default_channel_layout(frame.channels);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> modules/avformat/audio.c:159:25: warning: nested extern declaration of 
> ‘av_get_default_channel_layout’ [-Wnested-externs]
> modules/avformat/audio.c:159:60: error: ‘AVFrame’ has no member named 
> ‘channels’
>   159 |                         av_get_default_channel_layout(frame.channels);
>       |                                                            ^
> modules/avformat/audio.c:161:23: error: ‘AVFrame’ has no member named 
> ‘channels’
>   161 |                 frame2.channels       = st->ausrc_st->prm.ch;
>       |                       ^
> modules/avformat/audio.c:162:24: error: ‘AVFrame’ has no member named 
> ‘channel_layout’; did you mean ‘ch_layout’?
>   162 |                 frame2.channel_layout =
>       |                        ^~~~~~~~~~~~~~
>       |                        ch_layout
> modules/avformat/audio.c:176:56: error: ‘AVFrame’ has no member named 
> ‘channels’
>   176 |                              frame2.nb_samples * frame2.channels);
>       |                                                        ^
> cc1: some warnings being treated as errors
> make[2]: *** [mk/mod.mk:49: build-/modules/avformat/audio.o] Error 1


The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/baresip_arm64.build

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Source: baresip
Source-Version: 1.1.0-2
Done: Victor Seva <vs...@debian.org>

We believe that the bug you reported is fixed in the latest version of
baresip, 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 1072...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Victor Seva <vs...@debian.org> (supplier of updated baresip 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 07 Nov 2024 19:56:49 +0100
Source: baresip
Architecture: source
Version: 1.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org>
Changed-By: Victor Seva <vs...@debian.org>
Closes: 1072401
Changes:
 baresip (1.1.0-2) unstable; urgency=medium
 .
   * fix ffmpeg 7 build (Closes: #1072401)
   * add myself to Uploaders
   * pkg-config => pkgconf
Checksums-Sha1:
 887d5e9afd6b4ed8df31694327b413d1dde64f8c 2411 baresip_1.1.0-2.dsc
 d7066ce3c2f5e9c0e81e6b520d18f187ec120248 18632 baresip_1.1.0-2.debian.tar.xz
 a27632d2e15d91b57346cd0880da6077f5ebe77a 22969 baresip_1.1.0-2_amd64.buildinfo
Checksums-Sha256:
 a4c49623116e745f4f893775bac184db712c6b5fd664209cdbefcac9641e0eea 2411 
baresip_1.1.0-2.dsc
 c9a4943b06cbecdc3ea7de6fc9c664680ef76b640c68172316d79421c358624e 18632 
baresip_1.1.0-2.debian.tar.xz
 61a0609f460a20139fbeb1013ab09ac28cf6b15017a46a87da456d53fe06f4d1 22969 
baresip_1.1.0-2_amd64.buildinfo
Files:
 62fe53af5b20c7915e93ef53ce5c71ce 2411 comm optional baresip_1.1.0-2.dsc
 d95e765d02bfef397ffe29b4d7be7a68 18632 comm optional 
baresip_1.1.0-2.debian.tar.xz
 c5a511f43863e7f5a2ce187683b450ea 22969 comm optional 
baresip_1.1.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iIcEARYKAC8WIQQq6AO8RS0zF4SC1vh9e2XEKg7IsgUCZy0OPxEcdnNldmFAZGVi
aWFuLm9yZwAKCRB9e2XEKg7IsrN9AP0c7RnTsHSjsv2A7PxmntE+wpBxSBmVT79T
ZABp/C0XHwEAlRvewNF4LUwtQZA9qMUNNJNAcI62zFW5hkcMy7mVQw8=
=xg/E
-----END PGP SIGNATURE-----

Attachment: pgp0TfHW5csRC.pgp
Description: PGP signature


--- End Message ---

Reply via email to