Your message dated Mon, 29 Jul 2024 09:04:42 +0000
with message-id <e1symj8-0013xj...@fasolo.debian.org>
and subject line Bug#1072448: fixed in rbdoom3bfg 1.4.0+dfsg-3
has caused the Debian Bug report #1072448,
regarding rbdoom3bfg: FTBFS with ffmpeg 7.0: Cinematic.cpp:730:71: error:
‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named
‘channel_layout’; did you mean ‘ch_layout’?
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.)
--
1072448: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072448
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rbdoom3bfg
Version: 1.4.0+dfsg-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):
> /usr/bin/c++ -DCPUSTRING=\"arm64\" -DUSE_DOOMCLASSIC -DUSE_EXCEPTIONS
> -DUSE_FFMPEG -DUSE_NEWER_JPEG -DUSE_OPENAL -D__DOOM__ -I/usr/include/imgui
> -I/usr/include/stb -I/<<PKGBUILDDIR>>/neo/. -I/<<PKGBUILDDIR>>/neo/idlib
> -isystem /usr/include/SDL2 -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=c++11 -pipe -Werror=format-security
> -Werror=format -Wno-pragmas -Wno-unused-variable -Wno-switch
> -Wno-unused-value -Winvalid-pch -Wno-multichar -fno-strict-aliasing -MD -MT
> CMakeFiles/rbdoom3bfg.dir/renderer/Cinematic.cpp.o -MF
> CMakeFiles/rbdoom3bfg.dir/renderer/Cinematic.cpp.o.d -o
> CMakeFiles/rbdoom3bfg.dir/renderer/Cinematic.cpp.o -c
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp
> /<<PKGBUILDDIR>>/neo/renderer/BufferObject.cpp: In constructor
> ‘idBufferObject::idBufferObject()’:
> /<<PKGBUILDDIR>>/neo/renderer/BufferObject.cpp:138:21: warning: converting to
> non-pointer type ‘long int’ from NULL [-Wconversion-null]
> 138 | apiObject = NULL;
> | ^~~~
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp: In member function ‘bool
> idCinematicLocal::InitFromFFMPEGFile(const char*, bool)’:
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:730:71: error: ‘AVCodecContext’
> {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you
> mean ‘ch_layout’?
> 730 | swr_ctx = swr_alloc_set_opts( NULL,
> dec_ctx2->channel_layout, dst_smp, dec_ctx2->sample_rate,
> dec_ctx2->channel_layout, dec_ctx2->sample_fmt, dec_ctx2->sample_rate, 0,
> NULL );
> |
> ^~~~~~~~~~~~~~
> |
> ch_layout
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:730:129: error: ‘AVCodecContext’
> {aka ‘struct AVCodecContext’} has no member named ‘channel_layout’; did you
> mean ‘ch_layout’?
> 730 | swr_ctx = swr_alloc_set_opts( NULL,
> dec_ctx2->channel_layout, dst_smp, dec_ctx2->sample_rate,
> dec_ctx2->channel_layout, dec_ctx2->sample_fmt, dec_ctx2->sample_rate, 0,
> NULL );
> |
> ^~~~~~~~~~~~~~
> |
> ch_layout
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:730:35: error:
> ‘swr_alloc_set_opts’ was not declared in this scope; did you mean
> ‘swr_alloc_set_opts2’?
> 730 | swr_ctx = swr_alloc_set_opts( NULL,
> dec_ctx2->channel_layout, dst_smp, dec_ctx2->sample_rate,
> dec_ctx2->channel_layout, dec_ctx2->sample_fmt, dec_ctx2->sample_rate, 0,
> NULL );
> | ^~~~~~~~~~~~~~~~~~
> | swr_alloc_set_opts2
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:739:154: error: ‘AVCodecContext’
> {aka ‘struct AVCodecContext’} has no member named ‘channels’
> 739 | common->Printf( "Cinematic audio stream found: Sample
> Rate=%d Hz, Channels=%d, Format=%s, Planar=%d\n", dec_ctx2->sample_rate,
> dec_ctx2->channels, GetSampleFormat( dec_ctx2->sample_fmt ), hasplanar );
> |
>
> ^~~~~~~~
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:766:38: warning:
> ‘AVCodecContext::ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
> 766 | int ticksPerFrame = dec_ctx->ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:68:
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:576:9: note: declared here
> 576 | int ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:766:38: warning:
> ‘AVCodecContext::ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
> 766 | int ticksPerFrame = dec_ctx->ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:576:9: note: declared here
> 576 | int ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:766:38: warning:
> ‘AVCodecContext::ticks_per_frame’ is deprecated [-Wdeprecated-declarations]
> 766 | int ticksPerFrame = dec_ctx->ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:576:9: note: declared here
> 576 | int ticks_per_frame;
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp: In member function ‘void
> idCinematicLocal::FFMPEGReset()’:
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:845:30: warning: ‘int
> avcodec_close(AVCodecContext*)’ is deprecated [-Wdeprecated-declarations]
> 845 | avcodec_close( dec_ctx );
> | ~~~~~~~~~~~~~^~~~~~~~~~~
> /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared
> here
> 2387 | int avcodec_close(AVCodecContext *avctx);
> | ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp: In member function ‘cinData_t
> idCinematicLocal::ImageForTimeFFMPEG(int)’:
> /<<PKGBUILDDIR>>/neo/renderer/Cinematic.cpp:1442:107: error: ‘AVFrame’ {aka
> ‘struct AVFrame’} has no member named ‘channels’
> 1442 | res =
> av_samples_alloc( &audioBuffer, &num_bytes, frame3->channels,
> frame3->nb_samples, dst_smp, 0 );
> |
> ^~~~~~~~
> [ 22%] Building CXX object
> CMakeFiles/rbdoom3bfg.dir/renderer/CmdlineProgressbar.cpp.o
> /usr/bin/c++ -DCPUSTRING=\"arm64\" -DUSE_DOOMCLASSIC -DUSE_EXCEPTIONS
> -DUSE_FFMPEG -DUSE_NEWER_JPEG -DUSE_OPENAL -D__DOOM__ -I/usr/include/imgui
> -I/usr/include/stb -I/<<PKGBUILDDIR>>/neo/. -I/<<PKGBUILDDIR>>/neo/idlib
> -isystem /usr/include/SDL2 -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=c++11 -pipe -Werror=format-security
> -Werror=format -Wno-pragmas -Wno-unused-variable -Wno-switch
> -Wno-unused-value -Winvalid-pch -Wno-multichar -fno-strict-aliasing -MD -MT
> CMakeFiles/rbdoom3bfg.dir/renderer/CmdlineProgressbar.cpp.o -MF
> CMakeFiles/rbdoom3bfg.dir/renderer/CmdlineProgressbar.cpp.o.d -o
> CMakeFiles/rbdoom3bfg.dir/renderer/CmdlineProgressbar.cpp.o -c
> /<<PKGBUILDDIR>>/neo/renderer/CmdlineProgressbar.cpp
> make[3]: *** [CMakeFiles/rbdoom3bfg.dir/build.make:821:
> CMakeFiles/rbdoom3bfg.dir/renderer/Cinematic.cpp.o] Error 1
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/rbdoom3bfg_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher
--- End Message ---
--- Begin Message ---
Source: rbdoom3bfg
Source-Version: 1.4.0+dfsg-3
Done: Tobias Frost <t...@debian.org>
We believe that the bug you reported is fixed in the latest version of
rbdoom3bfg, 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.
Tobias Frost <t...@debian.org> (supplier of updated rbdoom3bfg 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: SHA256
Format: 1.8
Date: Mon, 29 Jul 2024 10:28:10 +0200
Source: rbdoom3bfg
Architecture: source
Version: 1.4.0+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Tobias Frost <t...@debian.org>
Closes: 1072448
Changes:
rbdoom3bfg (1.4.0+dfsg-3) unstable; urgency=medium
.
* Set Maintainer to the QA Group.
* Fix building with ffmpeg 7.0 (Closes: #1072448)
* Set minimum version of rapidjson due to #1074897.
Checksums-Sha1:
04e9e527cb55dbfb1a33e4194b64e57ce53e895b 2184 rbdoom3bfg_1.4.0+dfsg-3.dsc
671a3172155856a6701fac09a36f77470d5eac89 15508
rbdoom3bfg_1.4.0+dfsg-3.debian.tar.xz
ec665e046c6d04c1b7db209ba7f945f96b4ff8ec 15270
rbdoom3bfg_1.4.0+dfsg-3_amd64.buildinfo
Checksums-Sha256:
88f456a99a58e2776bbce5823561540d6426058e961f3838e3d2c110a69ff938 2184
rbdoom3bfg_1.4.0+dfsg-3.dsc
46f937c4dabab14749c4c18ab4518cdf2d6feb37660d9216fbb050dc0973b69f 15508
rbdoom3bfg_1.4.0+dfsg-3.debian.tar.xz
e43e6c218393ed5ca85773463ea8adffc3667afde71e30045264e1fc12ebfac9 15270
rbdoom3bfg_1.4.0+dfsg-3_amd64.buildinfo
Files:
ed565dcc8af73fe3bf40da616381a704 2184 games optional
rbdoom3bfg_1.4.0+dfsg-3.dsc
2e0c14979833da2baab77a859edfe010 15508 games optional
rbdoom3bfg_1.4.0+dfsg-3.debian.tar.xz
673383c9cad8ca86ad445cede5ca7904 15270 games optional
rbdoom3bfg_1.4.0+dfsg-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAmanVDIACgkQkWT6HRe9
XTZOlBAAj5Q/vJy7wdS2ZNiyrVnw2pVbykwWLVRrwc9kFEQJLPJxZFZQ3wKXtxW/
5Z8AMVBPGs7fD9A7AuKvZw+a7xqDrTKkzm4MBM512UGjGu+w93UNiQrDPKodozLE
tGi0yTAHvrGneBtuw1rLMoTm/re8c060GEIv1st7h6G3fURSPRyOvqtR6LXqfmyU
qHJp5XSzDcvNrFFwNLaysVvsw4bEFn9BqXabJtLgomK5UIvXC2cOzyDerj5SanME
qHB6+Q82zVN5YkS1J/ZoWhLvQppHRmIdQTHYZRTkCaQvUex545a2IZRrjXTghRq/
bZqU30msqib21UwdoRmyB1s8RPxLoCYjijaQ9X+9v9URzgriHs6s6GQCCh3x62yu
R9TQt61Hds0zQ9gQXCOVKohSoPfINbem0p1vFLUKhnvLINvF8x8i49i8riQ8a3OW
RmDDtNhPFx54JLUkD3t+QVFqr4q8YF6aBXCb0wXVFIFUJsCngy6udBlEa9Mxf5ef
/zw7eGsE/3o/r4hjQmtGGR6QMHV0yOHoNjlRZlLKMc7yM9S0vfOk1ktW0e+i8odi
xrIxZscYMhu4c2vIS46UPm7mTCVjnqHUYonL+ziYEOAvELzRxXvFVXP3PW9HArF0
Xsd7j3BHbbr/UxDuu6Y/fQpv++4PYQWuow3qgznlov16UUtl9kk=
=AX8X
-----END PGP SIGNATURE-----
pgpb2_xQRK8RQ.pgp
Description: PGP signature
--- End Message ---