Bug#1004817: paraview: FTBFS with ffmpeg 5.0

Sebastian Ramacher sramacher at debian.org
Tue Feb 1 22:26:41 GMT 2022


Source: paraview
Version: 5.10.0~rc1-1
Severity: important
X-Debbugs-Cc: sramacher at debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

paraview FTBFS with ffmpeg 5.0 in experimental:

[ 30%] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkJSONImageWriter.cxx.o
cd "/<<PKGBUILDDIR>>/build.python3.10/VTK/IO/Image" && /usr/lib/ccache/c++ -DIOImage_EXPORTS -Dkiss_fft_scalar=double -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/IO/Image" -I"/<<PKGBUILDDIR>>/VTK/IO/Image" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Core" -I"/<<PKGBUILDDIR>>/VTK/Common/Core" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/ExecutionModel" -I"/<<PKGBUILDDIR>>/VTK/Common/ExecutionModel" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/DataModel" -I"/<<PKGBUILDDIR>>/VTK/Common/DataModel" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Math" -I"/<<PKGBUILDDIR>>/VTK/Common/Math" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/kissfft/vtkkissfft" -I"/<<PKGBUILDDIR>>/VTK/ThirdParty/kissfft/vtkkissfft" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Transforms" -I"/<<PKGBUILDDIR>>/VTK/Common/Transforms" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Imaging/Core" -I"/<<PKGBUILDDIR>>/VTK/Imaging/Core" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Misc" -I"/<<PKGBUILDDIR>>/VTK/Common/Misc" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/System" -I"/<<PKGBUILDDIR>>/VTK/Common/System" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/DICOMParser" -I"/<<PKGBUILDDIR>>/VTK/Utilities/DICOMParser" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/MetaIO/vtkmetaio" -I"/<<PKGBUILDDIR>>/VTK/Utilities/MetaIO/vtkmetaio" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/pugixml/vtkpugixml" -I"/<<PKGBUILDDIR>>/VTK/ThirdParty/pugixml/vtkpugixml" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/KWIML" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/KWIML" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/KWSys" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/KWSys" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/kissfft" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/kissfft" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/jpeg" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/jpeg" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/MetaIO" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/MetaIO" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/png" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/png" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/pugixml" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/pugixml" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/tiff" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/tiff" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/zlib" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/zlib" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -MD -MT VTK/IO/Image/CMakeFiles/IOImage.dir/vtkJSONImageWriter.cxx.o -MF CMakeFiles/IOImage.dir/vtkJSONImageWriter.cxx.o.d -o CMakeFiles/IOImage.dir/vtkJSONImageWriter.cxx.o -c "/<<PKGBUILDDIR>>/VTK/IO/Image/vtkJSONImageWriter.cxx"
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Start()’:
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:111:41: error: invalid conversion from ‘const AVOutputFormat*’ to ‘AVOutputFormat*’ [-fpermissive]
  111 |   this->avOutputFormat = av_guess_format("avi", nullptr, nullptr);
      |                          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                         |
      |                                         const AVOutputFormat*
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:137:37: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  137 |   if (!(codec = avcodec_find_encoder(this->avOutputFormat->video_codec)))
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     const AVCodec*
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:152:32: error: ‘avcodec_alloc_context3’ was not declared in this scope; did you mean ‘avio_alloc_context’?
  152 |   if (!(this->avCodecContext = avcodec_alloc_context3(codec)))
      |                                ^~~~~~~~~~~~~~~~~~~~~~
      |                                avio_alloc_context
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:195:3: error: ‘avcodec_parameters_to_context’ was not declared in this scope; did you mean ‘avcodec_parameters_copy’?
  195 |   avcodec_parameters_to_context(this->avCodecContext, this->avStream->codecpar);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   avcodec_parameters_copy
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:196:23: error: invalid use of incomplete type ‘struct AVCodecContext’
  196 |   this->avCodecContext->time_base.den = this->FrameRate;
      |                       ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:197:23: error: invalid use of incomplete type ‘struct AVCodecContext’
  197 |   this->avCodecContext->time_base.num = 1;
      |                       ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:200:23: error: invalid use of incomplete type ‘struct AVCodecContext’
  200 |   this->avCodecContext->gop_size = this->FrameRate;
      |                       ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:203:25: error: invalid use of incomplete type ‘struct AVCodecContext’
  203 |     this->avCodecContext->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
      |                         ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:203:36: error: ‘AV_CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
  203 |     this->avCodecContext->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:207:25: error: invalid use of incomplete type ‘struct AVCodecContext’
  207 |     this->avCodecContext->bit_rate_tolerance =
      |                         ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:208:27: error: invalid use of incomplete type ‘struct AVCodecContext’
  208 |       this->avCodecContext->bit_rate; // ffmpeg won't create a codec if brt<br
      |                           ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:212:25: error: invalid use of incomplete type ‘struct AVCodecContext’
  212 |     this->avCodecContext->bit_rate_tolerance = this->Writer->GetBitRateTolerance();
      |                         ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:214:3: error: ‘avcodec_parameters_from_context’ was not declared in this scope; did you mean ‘avcodec_parameters_free’?
  214 |   avcodec_parameters_from_context(this->avStream->codecpar, this->avCodecContext);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   avcodec_parameters_free
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:216:7: error: ‘avcodec_open2’ was not declared in this scope; did you mean ‘avio_open2’?
  216 |   if (avcodec_open2(this->avCodecContext, codec, nullptr) < 0)
      |       ^~~~~~~~~~~~~
      |       avio_open2
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:230:47: error: invalid use of incomplete type ‘struct AVCodecContext’
  230 |   this->rgbInput->width = this->avCodecContext->width;
      |                                               ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:231:48: error: invalid use of incomplete type ‘struct AVCodecContext’
  231 |   this->rgbInput->height = this->avCodecContext->height;
      |                                                ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:241:49: error: invalid use of incomplete type ‘struct AVCodecContext’
  241 |   this->yuvOutput->format = this->avCodecContext->pix_fmt;
      |                                                 ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:242:48: error: invalid use of incomplete type ‘struct AVCodecContext’
  242 |   this->yuvOutput->width = this->avCodecContext->width;
      |                                                ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:243:49: error: invalid use of incomplete type ‘struct AVCodecContext’
  243 |   this->yuvOutput->height = this->avCodecContext->height;
      |                                                 ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Write(vtkImageData*)’:
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:274:43: error: invalid use of incomplete type ‘struct AVCodecContext’
  274 |   for (int y = 0; y < this->avCodecContext->height; y++)
      |                                           ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:276:38: error: invalid use of incomplete type ‘struct AVCodecContext’
  276 |     src = rgb + (this->avCodecContext->height - y - 1) * this->avCodecContext->width * 3; // flip Y
      |                                      ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:276:78: error: invalid use of incomplete type ‘struct AVCodecContext’
  276 |     src = rgb + (this->avCodecContext->height - y - 1) * this->avCodecContext->width * 3; // flip Y
      |                                                                              ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:278:57: error: invalid use of incomplete type ‘struct AVCodecContext’
  278 |     memcpy((void*)dest, (void*)src, this->avCodecContext->width * 3);
      |                                                         ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:283:40: error: invalid use of incomplete type ‘struct AVCodecContext’
  283 |     sws_getContext(this->avCodecContext->width, this->avCodecContext->height, AV_PIX_FMT_RGB24,
      |                                        ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:283:69: error: invalid use of incomplete type ‘struct AVCodecContext’
  283 |     sws_getContext(this->avCodecContext->width, this->avCodecContext->height, AV_PIX_FMT_RGB24,
      |                                                                     ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:284:27: error: invalid use of incomplete type ‘struct AVCodecContext’
  284 |       this->avCodecContext->width, this->avCodecContext->height, this->avCodecContext->pix_fmt,
      |                           ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:284:56: error: invalid use of incomplete type ‘struct AVCodecContext’
  284 |       this->avCodecContext->width, this->avCodecContext->height, this->avCodecContext->pix_fmt,
      |                                                        ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:284:86: error: invalid use of incomplete type ‘struct AVCodecContext’
  284 |       this->avCodecContext->width, this->avCodecContext->height, this->avCodecContext->pix_fmt,
      |                                                                                      ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:294:25: error: invalid use of incomplete type ‘struct AVCodecContext’
  294 |     this->avCodecContext->height, this->yuvOutput->data, this->yuvOutput->linesize);
      |                         ^~
In file included from /usr/include/x86_64-linux-gnu/libavformat/avformat.h:313,
                 from /<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:24:
/usr/include/x86_64-linux-gnu/libavcodec/codec.h:195:8: note: forward declaration of ‘struct AVCodecContext’
  195 | struct AVCodecContext;
      |        ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:304:13: error: ‘avcodec_send_frame’ was not declared in this scope; did you mean ‘avcodec_get_name’?
  304 |   int ret = avcodec_send_frame(this->avCodecContext, this->yuvOutput);
      |             ^~~~~~~~~~~~~~~~~~
      |             avcodec_get_name
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:320:11: error: ‘avcodec_receive_packet’ was not declared in this scope
  320 |     ret = avcodec_receive_packet(this->avCodecContext, pkt);
      |           ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member function ‘void vtkFFMPEGWriterInternal::End()’:
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:375:5: error: ‘avcodec_close’ was not declared in this scope; did you mean ‘avio_close’?
  375 |     avcodec_close(this->avCodecContext);
      |     ^~~~~~~~~~~~~
      |     avio_close
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:376:5: error: ‘avcodec_free_context’ was not declared in this scope; did you mean ‘avformat_free_context’?
  376 |     avcodec_free_context(&this->avCodecContext);
      |     ^~~~~~~~~~~~~~~~~~~~
      |     avformat_free_context
make[4]: *** [VTK/IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/build.make:79: VTK/IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/vtkFFMPEGWriter.cxx.o] Error 1
make[4]: *** Waiting for unfinished jobs....
[ 30%] Building CXX object VTK/IO/Image/CMakeFiles/IOImage.dir/vtkMedicalImageProperties.cxx.o
cd "/<<PKGBUILDDIR>>/build.python3.10/VTK/IO/Image" && /usr/lib/ccache/c++ -DIOImage_EXPORTS -Dkiss_fft_scalar=double -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/IO/Image" -I"/<<PKGBUILDDIR>>/VTK/IO/Image" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Core" -I"/<<PKGBUILDDIR>>/VTK/Common/Core" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/ExecutionModel" -I"/<<PKGBUILDDIR>>/VTK/Common/ExecutionModel" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/DataModel" -I"/<<PKGBUILDDIR>>/VTK/Common/DataModel" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Math" -I"/<<PKGBUILDDIR>>/VTK/Common/Math" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/kissfft/vtkkissfft" -I"/<<PKGBUILDDIR>>/VTK/ThirdParty/kissfft/vtkkissfft" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Transforms" -I"/<<PKGBUILDDIR>>/VTK/Common/Transforms" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Imaging/Core" -I"/<<PKGBUILDDIR>>/VTK/Imaging/Core" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Misc" -I"/<<PKGBUILDDIR>>/VTK/Common/Misc" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/System" -I"/<<PKGBUILDDIR>>/VTK/Common/System" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/DICOMParser" -I"/<<PKGBUILDDIR>>/VTK/Utilities/DICOMParser" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/MetaIO/vtkmetaio" -I"/<<PKGBUILDDIR>>/VTK/Utilities/MetaIO/vtkmetaio" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/pugixml/vtkpugixml" -I"/<<PKGBUILDDIR>>/VTK/ThirdParty/pugixml/vtkpugixml" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/KWIML" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/KWIML" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/KWSys" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/KWSys" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/kissfft" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/kissfft" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/jpeg" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/jpeg" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/MetaIO" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/MetaIO" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/png" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/png" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/pugixml" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/pugixml" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/tiff" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/tiff" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/zlib" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/zlib" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -MD -MT VTK/IO/Image/CMakeFiles/IOImage.dir/vtkMedicalImageProperties.cxx.o -MF CMakeFiles/IOImage.dir/vtkMedicalImageProperties.cxx.o.d -o CMakeFiles/IOImage.dir/vtkMedicalImageProperties.cxx.o -c "/<<PKGBUILDDIR>>/VTK/IO/Image/vtkMedicalImageProperties.cxx"
[ 30%] Building CXX object VTK/Filters/General/CMakeFiles/FiltersGeneral.dir/vtkGraphWeightFilter.cxx.o
cd "/<<PKGBUILDDIR>>/build.python3.10/VTK/Filters/General" && /usr/lib/ccache/c++ -DFMT_SHARED -DFiltersGeneral_EXPORTS -Dkiss_fft_scalar=double -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Filters/General" -I"/<<PKGBUILDDIR>>/VTK/Filters/General" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Core" -I"/<<PKGBUILDDIR>>/VTK/Common/Core" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/DataModel" -I"/<<PKGBUILDDIR>>/VTK/Common/DataModel" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Math" -I"/<<PKGBUILDDIR>>/VTK/Common/Math" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/kissfft/vtkkissfft" -I"/<<PKGBUILDDIR>>/VTK/ThirdParty/kissfft/vtkkissfft" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Transforms" -I"/<<PKGBUILDDIR>>/VTK/Common/Transforms" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/ExecutionModel" -I"/<<PKGBUILDDIR>>/VTK/Common/ExecutionModel" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/Misc" -I"/<<PKGBUILDDIR>>/VTK/Common/Misc" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Filters/Core" -I"/<<PKGBUILDDIR>>/VTK/Filters/Core" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/ComputationalGeometry" -I"/<<PKGBUILDDIR>>/VTK/Common/ComputationalGeometry" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/Common/System" -I"/<<PKGBUILDDIR>>/VTK/Common/System" -I"/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/fmt/vtkfmt" -I"/<<PKGBUILDDIR>>/VTK/ThirdParty/fmt/vtkfmt" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/KWIML" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/KWIML" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/Utilities/KWSys" -isystem "/<<PKGBUILDDIR>>/VTK/Utilities/KWSys" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/kissfft" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/kissfft" -isystem "/<<PKGBUILDDIR>>/build.python3.10/VTK/ThirdParty/fmt" -isystem "/<<PKGBUILDDIR>>/VTK/ThirdParty/fmt" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -MD -MT VTK/Filters/General/CMakeFiles/FiltersGeneral.dir/vtkGraphWeightFilter.cxx.o -MF CMakeFiles/FiltersGeneral.dir/vtkGraphWeightFilter.cxx.o.d -o CMakeFiles/FiltersGeneral.dir/vtkGraphWeightFilter.cxx.o -c "/<<PKGBUILDDIR>>/VTK/Filters/General/vtkGraphWeightFilter.cxx"
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGVideoSource.cxx: In member function ‘virtual void vtkFFMPEGVideoSource::Initialize()’:
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGVideoSource.cxx:209:38: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  209 |   AVCodec* dec = avcodec_find_decoder(this->Internal->VideoStream->codecpar->codec_id);
      |                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      const AVCodec*
/<<PKGBUILDDIR>>/VTK/IO/FFMPEG/vtkFFMPEGVideoSource.cxx:275:41: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  275 |     AVCodec* adec = avcodec_find_decoder(this->Internal->AudioStream->codecpar->codec_id);
      |                     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                         |
      |                                         const AVCodec*
make[4]: *** [VTK/IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/build.make:93: VTK/IO/FFMPEG/CMakeFiles/IOFFMPEG.dir/vtkFFMPEGVideoSource.cxx.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/78b591c4/attachment-0001.sig>


More information about the debian-science-maintainers mailing list