Bug#748053: FTBFS with libav10

Sebastian Ramacher sramacher at debian.org
Wed May 14 17:56:12 UTC 2014


Control: tags -1 + patch

On 2014-05-13 18:47:42, Moritz Muehlenhoff wrote:
> Package: vtk6
> Severity: serious
> 
> Your packages FTBFS with libav10:
> 
> ./lib/libvtkIOMovieTCL-6.0.so.6.0 ../../lib/libvtkIOMovieTCL-6.0.so
> make[4]: Leaving directory '/home/jmm/vtk6-6.0.0/debian/build'
> /usr/bin/cmake -E cmake_progress_report /home/jmm/vtk6-6.0.0/debian/build/CMakeFiles 
> [ 70%] Built target vtkIOMovieTCL
> make -f IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/build.make IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/depend
> make[4]: Entering directory '/home/jmm/vtk6-6.0.0/debian/build'
> /usr/bin/cmake -E cmake_progress_report /home/jmm/vtk6-6.0.0/debian/build/CMakeFiles 
> [ 70%] For vtkIOFFMPEG - updating vtkIOFFMPEGHierarchy.txt
> cd /home/jmm/vtk6-6.0.0/debian/build/IO/FFMPEG && ../../bin/vtkWrapHierarchy-6.0 @vtkIOFFMPEGHierarchy.args -o /home/jmm/vtk6-6.0.0/debian/build/lib/cmake/vtk-6.0/Modules/vtkIOFFMPEGHierarchy.txt vtkIOFFMPEGHierarchy.data /home/jmm/vtk6-6.0.0/debian/build/lib/cmake/vtk-6.0/Modules/vtkIOMovieHierarchy.txt
> cd /home/jmm/vtk6-6.0.0/debian/build/IO/FFMPEG && /usr/bin/cmake -E touch /home/jmm/vtk6-6.0.0/debian/build/IO/FFMPEG/vtkIOFFMPEGHierarchy.stamp
> cd /home/jmm/vtk6-6.0.0/debian/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/jmm/vtk6-6.0.0 /home/jmm/vtk6-6.0.0/IO/FFMPEG /home/jmm/vtk6-6.0.0/debian/build /home/jmm/vtk6-6.0.0/debian/build/IO/FFMPEG /home/jmm/vtk6-6.0.0/debian/build/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/DependInfo.cmake --color=
> Scanning dependencies of target vtkIOFFMPEG
> make[4]: Leaving directory '/home/jmm/vtk6-6.0.0/debian/build'
> make -f IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/build.make IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/build
> make[4]: Entering directory '/home/jmm/vtk6-6.0.0/debian/build'
> /usr/bin/cmake -E cmake_progress_report /home/jmm/vtk6-6.0.0/debian/build/CMakeFiles 
> [ 70%] Building CXX object IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o
> cd /home/jmm/vtk6-6.0.0/debian/build/IO/FFMPEG && /usr/bin/c++   -DVTK_IN_VTK -DvtkIOFFMPEG_EXPORTS -D__STDC_CONSTANT_MACROS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -Wno-deprecated -O2 -g -DNDEBUG -Wnon-virtual-dtor -Wno-long-long -ansi -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wshadow -Wunused-parameter -fno-check-new -fno-common -fPIC -I/home/jmm/vtk6-6.0.0/debian/build/IO/Movie -I/home/jmm/vtk6-6.0.0/IO/Movie -I/home/jmm/vtk6-6.0.0/debian/build/Common/DataModel -I/home/jmm/vtk6-6.0.0/Common/DataModel -I/home/jmm/vtk6-6.0.0/debian/build/Common/Math -I/home/jmm/vtk6-6.0.0/Common/Math -I/home/jmm/vtk6-6.0.0/debian/build/Common/Core -I/home/jmm/vtk6-6.0.0/Common/Core -I/home/jmm/vtk6-6.0.0/debian/build/Utilities/KWSys -I/home/jmm/vtk6-6.0.0/Utilities/KWSys -I/home/jmm/vtk6-6.0.0/debian/build/Common/Misc -I/home/jmm/vtk6-6.0.0/Common/Misc -I/home/jmm/vtk6-6.0.0/d
>  ebian/build/Common/System -I/home/jmm/vtk6-6.0.0/Common/System -I/home/jmm/vtk6-6.0.0/debian/build/Common/Transforms -I/home/jmm/vtk6-6.0.0/Common/Transforms -I/home/jmm/vtk6-6.0.0/debian/build/Common/ExecutionModel -I/home/jmm/vtk6-6.0.0/Common/ExecutionModel -I/home/jmm/vtk6-6.0.0/debian/build/IO/Core -I/home/jmm/vtk6-6.0.0/IO/Core -I/home/jmm/vtk6-6.0.0/debian/build/ThirdParty/zlib -I/home/jmm/vtk6-6.0.0/ThirdParty/zlib -I/home/jmm/vtk6-6.0.0/debian/build/ThirdParty/oggtheora -I/home/jmm/vtk6-6.0.0/ThirdParty/oggtheora -I/home/jmm/vtk6-6.0.0/debian/build/IO/FFMPEG -I/home/jmm/vtk6-6.0.0/IO/FFMPEG    -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o -c /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member int vtkFFMPEGWriterInternal:::
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:42:27: CODEC_ID_ was not declared in this scope
>  #define AV_CODEC_ID_MJPEG CODEC_ID_MJPEG
>                            ^
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:151:41: note: in expansion of AV_CODEC_ID_
>      this->avOutputFormat->video_codec = AV_CODEC_ID_MJPEG;
>                                          ^
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:43:30: CODEC_ID_ was not declared in this scope
>  #define AV_CODEC_ID_RAWVIDEO CODEC_ID_RAWVIDEO
>                               ^
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:155:41: note: in expansion of AV_CODEC_ID_
>      this->avOutputFormat->video_codec = AV_CODEC_ID_RAWVIDEO;
>                                          ^
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:178:18:  was not declared in this scope
>    c->codec_id = (CodecID)this->avOutputFormat->video_codec;
>                   ^
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:178:26:  
>    c->codec_id = (CodecID)this->avOutputFormat->video_codec;
>                           ^
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member int vtkFFMPEGWriterInternal::Write(:
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
>    AVPacket pkt = { 0 };
>                       ^
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket::stream_ [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket::side_ [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket::side_data_ [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket:: [-Wmissing-field-initializers]
> /home/jmm/vtk6-6.0.0/IO/FFMPEG/vtkFFMPEGWriter.cxx:377:22: warning: missing initializer for AVPacket::convergence_ [-Wmissing-field-initializers]
> IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/build.make:67: recipe for target 'IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o' failed
> make[4]: *** [IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o] Error 1
> make[4]: Leaving directory '/home/jmm/vtk6-6.0.0/debian/build'
> CMakeFiles/Makefile2:18739: recipe for target 'IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/all' failed
> make[3]: *** [IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/all] Error 2
> make[3]: Leaving directory '/home/jmm/vtk6-6.0.0/debian/build'
> Makefile:116: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/home/jmm/vtk6-6.0.0/debian/build'
> dh_auto_build: make -jdurationmember posmember privmember destructmember durationmember elemsmember datamember flagsmember indexmember sizemember datamember dtsmember ptsmember vtkImageData*)function thisbefore error: ;expected CodecIDerror: RAWVIDEOmacro RAWVIDEOerror: MJPEGmacro MJPEGerror: Start()function 

The attached patch fixes the issue. Since the libav 10 it would be great
to have this fixed soon. Please let me know if I can help out with
sponsorship or an NMU.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtk6.patch
Type: text/x-diff
Size: 2294 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140514/4b3eda54/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140514/4b3eda54/attachment-0001.sig>


More information about the debian-science-maintainers mailing list