Bug#1004795: gazebo: FTBFS with ffmpeg 5.0

Sebastian Ramacher sramacher at debian.org
Tue Feb 1 21:43:05 GMT 2022


Source: gazebo
Version: 11.9.1+dfsg-8
Severity: important
X-Debbugs-Cc: sramacher at debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

gazebo FTBFS with ffmpeg 5.0 in experimental:

[  6%] Building CXX object gazebo/msgs/CMakeFiles/gazebomsgs_out.dir/generator/gazebo_generator.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gazebo/msgs && /usr/lib/ccache/c++ -DBOOST_TEST_DYN_LINK -DBUILDING_DLL -DHAVE_OPENGL -DIGN_PROFILER_ENABLE=0 -DLIBBULLET_VERSION=3.05 -DLIBBULLET_VERSION_GT_282 -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gazebo/msgs -I/usr/include/libusb-1.0 -I/usr/include/ignition/transport8 -I/usr/include/ignition/common3 -I/usr/include/ignition/fuel_tools4 -isystem /usr/include/ignition/msgs5 -isystem /usr/include/ignition/math6 -isystem /usr/include/OGRE/RTShaderSystem -isystem /usr/include/OGRE -isystem /usr/include/OGRE/Terrain -isystem /usr/include/OGRE/Paging -isystem /usr/include/OGRE/Overlay -isystem /usr/include/sdformat-9.6 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2       -Wall -Wextra -Wno-long-long -Wno-unused-value -Wfloat-equal -Wshadow -Wswitch-default -Wmissing-include-dirs -pedantic -fvisibility=hidden -fvisibility-inlines-hidden    -fPIC -MD -MT gazebo/msgs/CMakeFiles/gazebomsgs_out.dir/generator/gazebo_generator.cc.o -MF CMakeFiles/gazebomsgs_out.dir/generator/gazebo_generator.cc.o.d -o CMakeFiles/gazebomsgs_out.dir/generator/gazebo_generator.cc.o -c /<<PKGBUILDDIR>>/gazebo/msgs/generator/gazebo_generator.cc
/<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc: In member function ‘bool gazebo::common::AudioDecoder::Decode(uint8_t**, unsigned int*)’:
/<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc:100:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  100 |   av_init_packet(&packet);
      |   ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from /<<PKGBUILDDIR>>/gazebo/common/ffmpeg_inc.h:32,
                 from /<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc:21:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc:116:24: error: ‘avcodec_decode_audio4’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’?
  116 |         bytesDecoded = avcodec_decode_audio4(this->codecCtx, decodedFrame,
      |                        ^~~~~~~~~~~~~~~~~~~~~
      |                        avcodec_decode_subtitle2
/<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc: In member function ‘bool gazebo::common::AudioDecoder::SetFile(const string&)’:
/<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc:217:38: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  217 |     if (this->formatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
      |                                      ^~~~~
/<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc:241:59: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  241 |   this->codecCtx = this->formatCtx->streams[audioStream]->codec;
      |                                                           ^~~~~
/<<PKGBUILDDIR>>/gazebo/common/AudioDecoder.cc:247:37: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  247 |   this->codec = avcodec_find_decoder(codecCtx->codec_id);
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     const AVCodec*
make[4]: *** [gazebo/common/CMakeFiles/gazebo_common.dir/build.make:107: gazebo/common/CMakeFiles/gazebo_common.dir/AudioDecoder.cc.o] Error 1

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220201/ec510242/attachment.sig>


More information about the debian-science-maintainers mailing list