Bug#739440: FTBFS with libav10

2014-02-19 Thread Sebastian Ramacher
Control: forwarded -1 https://github.com/Itseez/opencv/pull/2293

On 2014-02-18 19:59:48, Moritz Muehlenhoff wrote:
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:256:7:
  error: 'CODEC_ID_TARGA' was not declared in this
 scope
  { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') },
^
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:258:7:
  error: 'CODEC_ID_NONE' was not declared in this scope
  { CODEC_ID_NONE, 0 },
^
 In file included from 
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In 
 member function 'double CvCapture_FFMPEG::getProperty(int)':
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:773:33:
  error: 'AVStream' has no member named 'r_frame_rate'
  return av_q2d(video_st-r_frame_rate);
  ^
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In 
 member function 'double CvCapture_FFMPEG::get_fps()':
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:820:49:
  error: 'AVStream' has no member named 'r_frame_rate'
  double fps = r2d(ic-streams[video_stream]-r_frame_rate);
  ^
 In file included from 
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In 
 function 'int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, 
 uint8_t*, uint32_t, AVFrame*)':
 /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:1236:72:
  error: 'avcodec_encode_video' was not declared in this scope
  out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
 ^
 make[3]: *** 
 [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
 make[3]: Leaving directory 
 `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
 make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
 make[2]: Leaving directory 
 `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory 
 `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
 dh_auto_build: make -j1 returned exit code 2
 make: *** [build] Error 2
 dpkg-buildpackage: error: debian/rules build gave error exit status 2

A patch for the inclusion in opencv is currently discussed at GitHub.
Marked as forwarded to the pull request with the patch.

Regards
-- 
Sebastian Ramacher


signature.asc
Description: Digital signature
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Processed: Re: Bug#739440: FTBFS with libav10

2014-02-19 Thread Debian Bug Tracking System
Processing control commands:

 forwarded -1 https://github.com/Itseez/opencv/pull/2293
Bug #739440 [src:opencv] FTBFS with libav10
Set Bug forwarded-to-address to 'https://github.com/Itseez/opencv/pull/2293'.

-- 
739440: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739440
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#739440: FTBFS with libav10

2014-02-18 Thread Moritz Muehlenhoff
Source: opencv
Severity: important

Hi,
your package fails to build from source against libav 10 (currently
packaged in experimental). This bug will become release-critical
at some point when the libav10 transition starts.

Migration documentation can be found at
https://wiki.libav.org/Migration/10

Cheers,
Moritz


/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:256:7: 
error: 'CODEC_ID_TARGA' was not declared in this
scope
 { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') },
   ^
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:258:7: 
error: 'CODEC_ID_NONE' was not declared in this scope
 { CODEC_ID_NONE, 0 },
   ^
In file included from 
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In 
member function 'double CvCapture_FFMPEG::getProperty(int)':
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:773:33:
 error: 'AVStream' has no member named 'r_frame_rate'
 return av_q2d(video_st-r_frame_rate);
 ^
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In 
member function 'double CvCapture_FFMPEG::get_fps()':
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:820:49:
 error: 'AVStream' has no member named 'r_frame_rate'
 double fps = r2d(ic-streams[video_stream]-r_frame_rate);
 ^
In file included from 
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In 
function 'int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, 
uint32_t, AVFrame*)':
/home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:1236:72:
 error: 'avcodec_encode_video' was not declared in this scope
 out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
^
make[3]: *** 
[modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
make[3]: Leaving directory 
`/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make[2]: Leaving directory 
`/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers