Bug#739434: closed by Anton Gladky <gladk at debian.org> (Bug#739434: fixed in paraview 4.0.1+dfsg-1)

Sebastian Ramacher sramacher at debian.org
Wed May 14 17:07:37 UTC 2014


Control: tags -1 + patch

On 2014-05-12 13:48:36, Sebastian Ramacher wrote:
> Control: reopen -1
> Control: severity -1 serious
> Control: tags -1 + sid jessie
> 
> On 2014-03-13 21:24:09, Debian Bug Tracking System wrote:
> > Changes: 
> >  paraview (4.0.1+dfsg-1) unstable; urgency=medium
> >  .
> >    [ Christophe Trophime ]
> >    * [c20bad7] Add missing file from install
> >                (needed to install salome-paravis for instance).
> >  .
> >    [ Anton Gladky ]
> >    * [0f6c102] Imported Upstream version 4.0.1+dfsg
> >    * [f4ccb4e] Fix libav10 compilation. (Closes: #739434)
> 
> Unfortunately it still fails to build with libav 10:
> | cd /«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/IO/FFMPEG && /usr/lib/ccache/c++   -DMPICH_IGNORE_CXX_SEEK -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 -fPIC -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/IO/Movie -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/Movie -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Common/DataModel -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Common/DataModel -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Common/Math -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Common/Math -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Common/Core -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Common/Core -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Utilities/KWSys -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Utilities/KWSys -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Common/Misc -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Common/Misc -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Common/System -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Common/System -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Common/Transforms -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Common/Transforms -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/Common/ExecutionModel -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/Common/ExecutionModel -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/IO/Core -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/Core -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/ThirdParty/zlib -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/ThirdParty/zlib -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/ThirdParty/oggtheora -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/ThirdParty/oggtheora -I/«BUILDDIR»/paraview-4.0.1+dfsg/obj-x86_64-linux-gnu/VTK/IO/FFMPEG -I/«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/FFMPEG    -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o -c /«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx
> | /«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx: In member function 'int vtkFFMPEGWriterInternal::Start()':
> | /«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:151:41: error: 'CODEC_ID_MJPEG' was not declared in this scope
> |      this->avOutputFormat->video_codec = AV_CODEC_ID_MJPEG;
> |                                          ^
> | /«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:155:41: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope
> |      this->avOutputFormat->video_codec = AV_CODEC_ID_RAWVIDEO;
> |                                          ^
> | /«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:178:18: error: 'CodecID' was not declared in this scope
> |    c->codec_id = (CodecID)this->avOutputFormat->video_codec;
> |                   ^
> | /«BUILDDIR»/paraview-4.0.1+dfsg/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:178:26: error: expected ';' before 'this'
> |    c->codec_id = (CodecID)this->avOutputFormat->video_codec;
> |                           ^
> | make[3]: *** [VTK/IO/FFMPEG/CMakeFiles/vtkIOFFMPEG.dir/vtkFFMPEGWriter.cxx.o] Error 1

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: paraview.patch
Type: text/x-diff
Size: 2896 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140514/9dd7e973/attachment.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/9dd7e973/attachment.sig>


More information about the debian-science-maintainers mailing list