[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1072403: marked as done (cantata: FTBFS with ffmpeg 7.0: ffmpeginput.cpp:284:43: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’)



Your message dated Mon, 03 Jun 2024 09:19:11 +0000
with message-id <E1sE3qR-007P9k-Hj@fasolo.debian.org>
and subject line Bug#1072403: fixed in cantata 2.5.0.ds1-3
has caused the Debian Bug report #1072403,
regarding cantata: FTBFS with ffmpeg 7.0: ffmpeginput.cpp:284:43: error: ‘AVCodecContext’ {aka ‘struct 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 owner@bugs.debian.org
immediately.)


-- 
1072403: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072403
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: cantata
Version: 2.5.0.ds1-2
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):
> cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/support && /usr/bin/c++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/support/support_autogen/include -I/usr/include/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtXml -I/usr/include/aarch64-linux-gnu/qt5/QtConcurrent -I/usr/include/aarch64-linux-gnu/qt5/QtSvg -I/usr/include/aarch64-linux-gnu/qt5/QtSql -I/usr/include/aarch64-linux-gnu/qt5/QtDBus -I/usr/include/taglib -I/usr/include/neon -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/support -I/<<PKGBUILDDIR>>/support -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC   -I/usr/include/taglib -fexceptions -UQT_NO_EXCEPTIONS -MD -MT support/CMakeFiles/support.dir/messagewidget.cpp.o -MF CMakeFiles/support.dir/messagewidget.cpp.o.d -o CMakeFiles/support.dir/messagewidget.cpp.o -c /<<PKGBUILDDIR>>/support/messagewidget.cpp
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp: In destructor ‘virtual FfmpegInput::~FfmpegInput()’:
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:256:22: warning: ‘int avcodec_close(AVCodecContext*)’ is deprecated [-Wdeprecated-declarations]
>   256 |         avcodec_close(handle->codecContext);
>       |         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:21:
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared here
>  2387 | int avcodec_close(AVCodecContext *avctx);
>       |     ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp: In member function ‘virtual unsigned int FfmpegInput::channels() const’:
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:284:43: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
>   284 |     return handle ? handle->codecContext->channels : 0;
>       |                                           ^~~~~~~~
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp: In member function ‘virtual bool FfmpegInput::setChannelMap(int*) const’:
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:299:41: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   299 |     if (handle && handle->codecContext->channel_layout) {
>       |                                         ^~~~~~~~~~~~~~
>       |                                         ch_layout
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:302:60: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
>   302 |         while (mapIndex < (unsigned) handle->codecContext->channels) {
>       |                                                            ^~~~~~~~
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:303:39: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
>   303 |             if (handle->codecContext->channel_layout & (1 << bitCounter)) {
>       |                                       ^~~~~~~~~~~~~~
>       |                                       ch_layout
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp: In member function ‘size_t FfmpegInput::readOnePacket()’:
> /<<PKGBUILDDIR>>/replaygain/ffmpeginput.cpp:473:45: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’
>   473 |     int numChannels = handle->codecContext->channels;
>       |                                             ^~~~~~~~
> make[3]: *** [replaygain/CMakeFiles/cantata-replaygain.dir/build.make:100: replaygain/CMakeFiles/cantata-replaygain.dir/ffmpeginput.cpp.o] Error 1


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

ffmpeg 7.0 is available in experimental.

Cheers

-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Source: cantata
Source-Version: 2.5.0.ds1-3
Done: Stuart Prescott <stuart@debian.org>

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

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated cantata 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 03 Jun 2024 18:20:40 +1000
Source: cantata
Architecture: source
Version: 2.5.0.ds1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1072403
Changes:
 cantata (2.5.0.ds1-3) unstable; urgency=medium
 .
   * Fix FTBFS with ffmpeg 7.0 with patch (Closes: #1072403).
   * Switch from pkg-config to pkgconf.
   * Update Standards-Version to 4.7.0 (no changes required).
   * Update copyright hints and regenerate.
   * Restore incorrectly deleted debian/source/lintian-overrides.
Checksums-Sha1:
 a3177746be195da174860771f28a7081b5d656cb 2334 cantata_2.5.0.ds1-3.dsc
 81e3c81abc731785f2f3a1c01f4445bd073f5f01 12916 cantata_2.5.0.ds1-3.debian.tar.xz
 ef17ffb4497287ee65de7cce5f9c1578eff6e461 17597 cantata_2.5.0.ds1-3_amd64.buildinfo
Checksums-Sha256:
 62151e5d8223231cfcae055354ce406cf3aa731b9f727f7a6a4ec06ae4a7e21f 2334 cantata_2.5.0.ds1-3.dsc
 ecbaff91420d54cf6968690c0c5975a2a5e94107b97f46c2f2d1fbbb71a213e0 12916 cantata_2.5.0.ds1-3.debian.tar.xz
 e698141f6ffddcdaea417a9c5c6da65859b091f6e1cbb8cdd4bdf85ee6b6e024 17597 cantata_2.5.0.ds1-3_amd64.buildinfo
Files:
 b7380c352bf25516cd161a65353a4c8d 2334 sound optional cantata_2.5.0.ds1-3.dsc
 bfce162636af9400a9bc6cb51d1dc22e 12916 sound optional cantata_2.5.0.ds1-3.debian.tar.xz
 c23de3c3aa617d440e07886d9353f09b 17597 sound optional cantata_2.5.0.ds1-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEkOLSwa0Uaht+u4kdu8F+uxOW8vcFAmZdhq0ACgkQu8F+uxOW
8vc87xAAmXjLaA12wk1HOMZhagxJBiy1a0GIOH3xymz7Bv+8T0M6FpajD2/Kd4k6
H6hoAURktgRuwhCfxnOS43Lumnbmx+HLIk8USpMy5J38bPyH/Nv9k7SKByavh1hG
WKCiGCrPjo990yAXUenZtDnkX6vlV5GuYARLZiAdOYPl1wrg+H1GfAr6lq7SH4r7
9PX0uEb8sER9v2swXeNM7hR5WmhK4TgcADZipAEgrh+OWzONRSy3ZJEnddlRdIen
nCqMX3hCETyk7XBvm3bt9GUy0crnYcU/bBgYl4bWePK7hJG0+UPOuDozwIBbp/uv
ZgRIoZ++BVbBevU2jAjHkLs0IAmKNZxe2OIUMPKNxZtuEb5c5XU8Nr6nhOkPemkX
/3RqFxIkAbMsOdtwhyDvlFq+KG8vGKTD9ISrv6kfn1XxPERzeQ8HPV+RVBzSYMU/
Ik9pieAdQQNMSDbmeRjV7827xYJYuTQEjfz9Rj4sl6AwK9vEoG6pc2TZVLXCdmjz
fEj2hyjRkoIKkp29E5/K1l0dwpRBkbd/W9bKAIWwMncUD3zIU05lJ5MthfdJxTtM
amjvTHFo0XuDXufKm+3deleX9IdEZ1tbdXwde77ffDGK9w9fOVTBh+rjc1r+/aJY
u3+Wsya9puxBzygziKGsb1XXkjc4k6ATZfvYF1LIvC/ata+0xmk=
=wK2A
-----END PGP SIGNATURE-----

Attachment: pgpXbCyoVcxJD.pgp
Description: PGP signature


--- End Message ---

Reply to: