Summary: | sci-libs/vtk-5.10.1: fails to build with media-video/libav-9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Justin Lecher (RETIRED) <jlec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aballier, java, kripton, sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/sci-libs%3Avtk-5.10.1%3A20130105-205037.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 443230 |
Description
Diego Elio Pettenò (RETIRED)
2013-01-05 21:41:20 UTC
+ 17 Jan 2013; Alexis Ballier <aballier@gentoo.org> vtk-5.10.1.ebuild, + +files/vtk-5.10.1-ffmpeg-1.patch: + Fix build with latest ffmpeg. Part of bug #450464. + please check with libav and close if it works. var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Start()’: /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx:143:58: error: ‘av_new_stream’ was not declared in this scope /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx:202:28: error: ‘avcodec_open’ was not declared in this scope /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Write(vtkImageData*)’: /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx:322:15: warning: ‘int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations] /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx:325:51: warning: ‘int avcodec_encode_video(AVCodecContext*, uint8_t*, int, const AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations] make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o] Error 1 We will probably wait for next release: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693639 I believe I have a related error: /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx: In member function ‘int vtkFFMPEGWriterInternal::Write(vtkImageData*)’: /var/tmp/portage/sci-libs/vtk-5.10.1/work/VTK5.10.1/IO/vtkFFMPEGWriter.cxx:313:45: error: ‘avcodec_encode_video2’ was not declared in this scope make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o] Error 1 Any chance to get an ebuild for the release candidate for the newest release 6.0.0? http://vtk.org/VTK/resources/software.html (In reply to Hans from comment #4) > Any chance to get an ebuild for the release candidate for the newest release > 6.0.0? > > http://vtk.org/VTK/resources/software.html I am myself being hit by this bug, but I don't like to add rc or other pre releases for a package of this size. Lets hope they will release the final soon. It was actually fixed bit back by Luca when he added libav9 patch. Seems he forgot to close this bug as fixed. (his commits are also in upstream so we are fine for next release). |